You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saskyc edited this page Mar 31, 2024
·
6 revisions
General Notes
The name of the script is equivalent to its file name, without the .txt extension. All scripts must be a .txt file and must be placed in the ScriptedEvents folder, otherwise the plugin will not be able to find them.
For sanity purposes, all scripts will automatically stop their execution as soon as the round begins to restart. This cannot be disabled.
Per-script permissions
Scripts can be set-up with a per-script permission system, to only allow certain staff to execute certain events. This can be done in the plugin's configuration, by adding the following.
Replace ExampleScriptNameHere with the name of the script, and examplepermission to the permission to use. The actual permission required will automatically become script.execute.[whatever you put in the config].
Comments
Lines that start with a hashtag (#) character will be ignored, allowing the use of comments.
You create multi line comment by having 2 (##) and you end it with 2 (##)