Comments (8)
Ive added OnCheckRoundEnd event, it has a new status enum which will give you what youre looking for.
from smod2.
That's what Smod2 API is for, there's actually even a plugin for doing exactly this
from smod2.
@Dankrushen Is there a repository or listing of plugins anywhere? I'd like to add my completed plugins there as well.
I see IEventDetonate
in the Smod2 API, but I don't see any way to forcefully end the round (fire an event).
There's also IEventRoundEnd
, but how can that prevent Chaos Insurgency and SCPs from having a shared victory condition?
from smod2.
We actually just have discord channels for plugins:
Its not great, hoping someone else would be brave enough to make a proper repo for plugins (and maybe a plugin management plugin)
from smod2.
We will enable events for someone to make this into a plugin
from smod2.
@Grover-c13 If you add an OnWinConditionMet
that has an enum of the possible win conditions, with one enum being NO_WIN
, with an out parameter specifying the new win condition, that should work.
The latter case seems to require firing events capability.
Anyway, I'll create the plugin for this if the events are in place.
from smod2.
The first is possible with my end-conditions plugin, I'll add the second one right now as an option to it right now.
from smod2.
Thanks laserman!
from smod2.
Related Issues (20)
- Fix removed overwatch function in serverroles.cs
- Re-add events to smod
- IEventHandlerLCZDecontaminate
- Fix deactivated commands
- Fix github CI HOT 19
- Reimplement removed commands
- Fix SCP 079 tesla gate interactions
- Fix players getting kicked from the server but still showing in the server list when exceptions occur HOT 2
- Reimplement AdminQueryEvent
- Writable Round-Stats HOT 2
- Submit Smod2.dll as a Nuget package
- RoomType LCZ173 -> LCZ_173
- Add player who activated generator to ongeneratorfinish event
- Change "medical" api names to "consumable"
- Add back reserved slots management
- 079 room is not set until you move between rooms
- RA commands not working with smod 3.9.10 HOT 3
- Fix console commands always returning an empty string in the API
- Fix nuke button cover not being openable
- Re-implement IEventHandlerShoot if possible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smod2.