Replace the default unturned player spawns with this script using commands!
This script requires uScript installed in your server in order to be executed. Join uScript Discord to download uScript module.
- New players will be teleported to the first spawn you set (Spawn 0), works well for safezones.
- Players will be randomly teleported to any of the spawns you set.
- Works with bedrolls, players will still be able to use /home.
- /Wild command, teleports the player to one of the spawns randomly.
- Spawns are kept upon server restarts and script reloads.
Command | Description | Permission |
---|---|---|
SpawnSet | Creates a new player spawn point in the point where you are standing and assigns it an ID starting from 0. | Spawn.Set |
SpawnList | Tells you how many spawns there are, as well as the ID range (0 - n). | Spawn.List |
SpawnView | Tells you the spawn's coordinates, and marks it on your map. | Spawn.View |
SpawnWipe | Clears the SpawnList completely. | Spawn.Wipe |
Wild | Randomly teleports the player to one of the spawns. | Spawn.Wild |
Step 1 - Joining uScript discord
Join uScript Discord, once there then head over to #Loader-download channel, download the "uScript2.zip" file, and unzip it in your download's folder.
Step 3 - Drop and unzip the loader
In your unturned server, head over to "Modules" folder and drag in your uScript.Unturned.zip file, then unarchive it. After this, it should look something like this:
Step 4 - Restart server & load the scripts
Restart your server, and once its done you can find uScript script's directory under Servers/unturned/uScript/Scripts
. In this folder is where you have to drop CustomPlayerSpawns.uscript file, or any other uScript scripts that you wish to use.
Aside from CustomPlayerSpawns.uscript, you'll also need to drop Spawns.config file inside Servers/unturned/uScript/Data
as this will contain and keep your spawnpoints persistent.
Upon doing this, you can now run /script reload
in console to load them to your server.
Feel free to contact me if you need help installing uscript! my discord: Liebesleid.eth#8866 , or ask directly in uScript discord.