Scripting
Last updated
Last updated
The ST server provides a set of scripting functions that you can use to customize and extend its functionality. To get started with scripting, create a subfolder in the server's "/resources/" directory with the name of your resource. Within that folder, create a "something.manifest" file that includes the following components:
Once you have created the manifest file, you can place your script file in the same folder. It's important to note that the main script file must have the same name as the "entrypoint" property in the script manifest. With these files in place, your script will be loaded by the ST server and its functionality will be available for use.