I need an event restriction mod that lets me prevent players from using specific event outputs, like doPlayerTeleport, setPlayerScale, minigameReset, ChangeDatablock, vceModVariable, etc.
It would apply equally across all targets (player, vehicle, named brick, self, client, etc) and prevent players from adding events with these specific outputs to bricks.
When players try to add these events (when they click send after writing them), it will display to them a popup message saying:
"
You are not allowed to use certain output events. To view the list of restricted events, type /ER_SRL"
And it will remove the changes they made to the brick's events.
Would be best if it was controlled through chat commands:
- /ER_LPOE (Event Restriction: List Possible Output Events) - command used to display to the player the list of output event names they can restrict
- /ER_R <output event name here> (Event Restriction: Restrict) - command used to add an output event to list of restricted output events
- /ER_U <output event name here> (Event Restriction: Unrestrict) - command used to remove an output event from the list
- /ER_SRL (Event Restriction: Show Restriction List) - command used to show the list of restricted output events. This command should be usable by everyone.
- /ER_RA (Event Restriction: Restrict Admins) - command used to toggle restriction on admins and super admins
All commands except for ER_SRL would only be usable by the host.
I think this would be really useful for many servers, to help them prevent event abuse from the start, rather than having to deal with event abusers after they've done their damage, and then have to clean up their mess.
Someone please make this!