About SetSpawn
The SetSpawn plugin for the game Rust allows you to set a spawn point, teleport to that point with a delay, and the ability to adjust the time of that delay. It works both with commands and when a player first enters the server. The plugin also supports the ability to reload settings and adjust the teleportation delay.
Commands
/setspawn: Sets the revival point to the player's current position. Uses permission “setspawn.admin” /spawn: Teleports the player to the revival point with a delay. Uses permission “setspawn.use” /setspawn-reload: Reloads the plugin, reloading the configuration. Uses permission “setspawn.admin” /setspawn-delay <Value>: Sets the teleportation delay time. Uses permission “setspawn.admin”
Permission
setspawn.admin setspawn.use
Configuration file
{ "TeleportDelaySeconds": 10.0 }
Lang
{ "NoPermission": "<color=#FF0000>You don't have permission to use this command.</color>", "SpawnSet": "<color=#00FF00>Spawn point set to {0}.</color>", "Teleporting": "<color=#00FFFF>Teleporting to spawn point in {0} seconds...</color>", "Teleported": "<color=#00FF00>You have been teleported to the spawn point.</color>", "NoSpawnSet": "<color=#FF0000>Spawn point has not been set.</color>", "TeleportCancelled": "<color=#FF0000>Teleport cancelled due to movement.</color>", "PluginReloaded": "<color=#00FF00>Plugin has been reloaded successfully.</color>", "ReloadFailed": "<color=#FF0000>Failed to reload the plugin.</color>", "DelaySet": "<color=#00FF00>Teleport delay has been set to {0} seconds.</color>", "InvalidDelay": "<color=#FF0000>Invalid delay value. Please enter a positive number.</color>" }
The lang file supports Hex colors
Data
{ "SpawnPoint": null }