About Player Spawn Points
Spawns players in the configured positions depending on if they have one of the configured permissions, are a new or returning player, or are spawning at the Outpost or Bandit Camp. This is tracked by a data file that lists all steamids that have connected to your server. If you do not wish to force the spawns, you can disable the option in the config.
There are options in the config to:
- specify spawn locations for players with the associated permission
- specify spawn locations for both new and returning players
- specify spawn locations for both outpost and bandit camp players (note the spawn locations are relative to the monument so they will persist over wipes)
- send chat or notify messages when players awake after respawning based on the above
- automatically delete config spawn locations and data files when the server wipes
Chat Commands:
- /AddPosNew - Adds the player's position to the config for "New player spawn points"
- /AddPosRet - Adds the player's position to the config for "Returning player spawn points"
- /AddOutpostPosRet - Adds the player's position to the config for "Outpost spawn points"
- /AddBanditPos - Adds the player's position to the config for "Bandit Camp spawn points"
Config:
{
"General Settings": {
"Delete spawn location on map wipe [true/false]": false,
"Delete data files on map wipe [true/false]": false
},
"New Player Settings": {
"Use new player spawn points [true/false]": false,
"New player spawn points": [
"(0, 0, 0)"
],
"Use chat message when new player respawns [true/false]": false,
"Use notify message when new player respawns [true/false]": false
},
"Returning Player Settings": {
"Use returning player spawn points [true/false]": false,
"Returning player spawn points": [
"(0, 0, 0)"
],
"Use chat message when returning player respawns [true/false]": false,
"Use notify message when returning player respawns [true/false]": false
},
"Permission Based Player Settings": {
"Use permission based player spawn points [true/false]": false,
"Permission based spawn points": {
"playerspawnpoints.Perm1": [
"(0, 0, 0)"
],
"playerspawnpoints.Perm2": [
"(0, 0, 0)"
],
"playerspawnpoints.Perm3": [
"(0, 0, 0)"
]
},
"Use chat message when player with permission respawns [true/false]": false,
"Use notify message when player with permission respawns [true/false]": false
},
"Outpost Spawn Settings": {
"Use outpost spawn points [true/false]": false,
"Permission required to respawn at outpost [true/false]": false,
"Outpost spawn points": [
"(-17.00, 0.14, -43.78)",
"(-16.98, 0.14, -26.89)",
"(-17.26, 0.14, -17.80)",
"(-16.97, 0.14, -5.35)",
"(-18.49, 0.14, 10.01)",
"(-17.21, 0.13, 25.04)",
"(-9.54, 0.14, 32.90)",
"(0.25, 0.14, 32.89)",
"(14.93, 0.18, 32.73)",
"(16.71, 0.14, 20.33)",
"(24.49, 0.30, 9.39)",
"(25.18, 0.09, -7.60)",
"(15.77, 0.09, -13.30)",
"(7.15, 0.09, -6.81)",
"(23.31, 0.09, -16.90)",
"(22.75, 0.09, -28.90)",
"(12.83, 0.09, -29.29)",
"(14.29, 0.14, -42.06)",
"(4.23, 0.14, -42.21)",
"(-5.25, 0.14, -42.38)"
],
"Use chat message when player respawns at outpost [true/false]": false,
"Use notify message when player respawns at outpost [true/false]": false
},
"Bandit Camp Spawn Settings": {
"Use bandit camp spawn points [true/false]": false,
"Permission required to respawn at bandit camp [true/false]": false,
"Bandit camp spawn points": [
"(20.62, 1.75, 47.57)",
"(20.21, 4.89, 35.91)",
"(29.06, 4.88, 35.52)",
"(31.93, 4.88, 29.07)",
"(20.04, 4.87, 29.38)",
"(23.84, 3.38, 20.43)",
"(1.75, 1.75, 37.14)",
"(-9.80, 1.77, 36.94)",
"(1.63, 1.77, 28.68)",
"(1.63, 1.77, 28.68)",
"(-16.11, 1.77, 8.60)",
"(-21.71, 1.89, -4.23)",
"(16.43, 2.75, -5.88)",
"(16.62, 2.77, 6.29)",
"(7.42, 1.76, -15.16)",
"(6.41, 1.76, -25.43)",
"(-2.50, 1.76, -25.41)",
"(-2.64, 1.75, -16.70)",
"(27.46, 1.49, -9.46)",
"(27.77, 1.82, -19.56)",
"(37.11, 2.01, -39.69)",
"(29.37, 2.01, -31.86)"
],
"Use chat message when player respawns at bandit camp [true/false]": false,
"Use notify message when player respawns at bandit camp [true/false]": false
},
"Configuration version": {
"Major": 3,
"Minor": 0,
"Patch": 0
}
}
Lang:
{
"NewPlayerRespawnMessage_Notify": "Notify message to new player.",
"NewPlayerRespawnMessage_Chat": "Chat message to new player.",
"ReturningPlayerRespawnMessage_Notify": "Notify message to returning player.",
"ReturningPlayerRespawnMessage_Chat": "Chat message to returning player.",
"PermissionPlayerRespawnMessage_Chat": "Chat message to player with permission.",
"PermissionPlayerRespawnMessage_Notify": "Notify message to player with permission.",
"OutpostRespawnMessage_Notify": "Notify message to outpost spawn player.",
"OutpostRespawnMessage_Chat": "Chat message to outpost spawn player.",
"BanditCampRespawnMessage_Notify": "Notify message to bandit camp spawn player.",
"BanditCampRespawnMessage_Chat": "Chat message to bandit camp spawn player."
}
Data:
- The data file is indexed by each player's Steam ID. The file is located at oxide/data/ and will look like the example below
- Note: reload the plugin to see updated data files
{
"_activeData": {
"7656...1": {
"FirstSpawn": false
},
"7656...2": {
"FirstSpawn": false
}
}
}