This plugin will let you edit the rust spawn points, so you can decide where players can spawn by default. This will not interfere with players spawns to sleeping bags.
Setup
- Create a spawn file using the Spawns Database plugin
- In console type: spawns.config "spawnfile name"
The plugin will then use those spawnpoints when a player respawns.
Usage
Upon choosing a spawnpoint the plugin will check the surrounding of that point. If any structures or deployables are found then it will choose another spawnpoint from the spawnfile. If it fails to find a suitable spawnpoint the player will be spawned at a Rust default position.
You can adjust the radius of this search by changing "Entity detection radius" in the config
Configuration
{
"Spawnfile name": "customspawns",
"Entity detection radius": 10.0
}
MIT License
Copyright (c) 2019 k1lly0u
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.