Skip to content
Sven Rahn edited this page Jul 14, 2018 · 5 revisions

All scripts in the scripts folder all loaded by default. The ID of each script is its filename without the .ktskript extension. All IDs have to be unique, no two scripts are allowed to have the same name.

The script is executed once it was loaded by the KtSkript plugin.

If another script loads a script, which is outside the scripts folder, the loading script has to execute the loaded script itself.

All scripts are written in Kotlin. You can edit them with Notepad++ or any other text editor of your choice. You only have to save the file while the server is running and all scripts are reloaded.

To get a feeling how scripts can look like, see the example scripts.