Installing uScript
- Download uScript2.zip from the Discord #loader-download channel or from this Link
- Extract uScript2.zip into your root Unturned directory
- Restart your server
- Navigate to the generated
Servers/YourServer/uScript
directory in your server files - You can now create a new script. It can be named virtually anything, but MUST have the
.uscript
extension. - Save your script in the
Servers/YourServer/uScript/Scripts
directory. - Load your new script by using the command
/script reload
.
Installing Modules
If you have any other uScript-compatible modules you want to add.
- Add their respective DLLs to
Servers/YourServer/uScript/Modules
Commands
- Reload uScript:
/script reload
Tips
- - If you are using Notepad++, you can add syntax highlighting by going to Language > Define Your Language > Import and then import
npp_lang.xml
from the documentation or from this LINK. - - You can just do
/script reload
to reload all of your scripts without needing to restart your server (useful for when you have changed/added multiple scripts). - - You can setup multiple servers to use the same script, module, and/or data directory via the configuration.