Is there a way of changing the games win conditions through events?
I.E. conditions are normally time and lives, though would like to be able to disable those for a round via events for some other win condition.
Probably did not describe very well but an example would be CS’s defusal gm. When Bomb is placed, win conditions are no longer all T/CT dead or time, rather the game creates a new condition being explosion / defusal.
There is a way to change minigame settings via events, but it's pretty hidden by default.
You need to create a file in config/server/Slayer called ".advancedEvents.txt". Note the period at the beginning. The contents of the file don't matter; it can be blank. This is just to prevent people that don't know what they're doing from destroying things.
Once you create this file and (re)start Blockland, you'll find a new event called Minigame->Slayer_setPref.
The event has three fields. The first is Category, the second is Title, and the third is Value. Each Slayer preference has a category and a title. For the lives preference, these would be "Victory Method" and "Lives", respectively.
So to set the lives to 5, for example, you would create an event like this:
onActivate -> Minigame -> Slayer_setPref [Victory Method] [Lives] [5]
Simple! You can find a complete list of preferences
here or
here.
TLDR: Possible, but requires some setup.