Random Spawn
Random Spawn is a simple plugin that spawns players at a random location in the world on their first login (configurable) and when they die. Sleeping in a bed disables the random spawn function and players will respawn at their bed when they die.
This is the first plugin I made. The idea for this plugin came from NuclearW's SpawnArea. I've used that for a while on my own server but thought it could use some extra features, so I tried to make one myself.
Thanks to NuclearW and Bretflann for being awesome and letting me use some of their code!
Thanks to WayGroovy and Francis Fenderson for donating!
Features:
- Random Spawn will not spawn players in:
- lava
- cacti
- water
- fire
- You can set a border where the players will random spawn inside
- After a player has lain or slept in a bed he won't be random spawned anymore and he will re-spawn at their bed if he dies
- This can be disabled when setting usebeds: false in the world.yml
- You can configure if players will be random spawned on there first join. (if false they will spawn at the map's default spawnpoint)
- you can set the first spawn location with the /setspawn command
- You can exclude players from being random spawned using the RandomSpawn.exclude permission node
- Random Spawn spawns players in a set area. You can define this area per world in the worlds.yml.
- Multiworld compatable
- Random Spawn signs. Type: [RandomSpawn] on the first line of a sign. To specify a world, type the world name on the second line. Configurable in config.yml.
- Custom messages after respawning.
- Spawning on command. since 2.4
When updating to version 1.6, please remove all the yml's and reconfigure them!
Commands:
See this page!
Permissions:
The permission nodes are optional.
- RandomSpawn.info Defaulted true
- RandomSpawn.help
- RandomSpawn.reload
- RandomSpawn.configure
- RandomSpawn.exclude
- RandomSpawn.setfirstspawn
- RandomSpawn.tpfirstspawn
- RandomSpawn.placesign
- RandomSpawn.usesign Defaulted true
- RandomSpawn.spawn
To-do list:
- Increase performance Increased performance a lot in version 1.6.1
- Circular spawn area's
- Any idea's?
Conflicting Plugins:
- SpawnX
Source available on Github!
If you like what I'm doing. Consider donating :) Please use the donate button in the top right.
Thanks man :D Been waiting a long time for a plugin that does this well. Will be sure to put this into my Chaos world right now, it'll be interesting to see the players reaction.
Sorry for the delay, I had some issues with the new configuration.
But I've added your requests! Check out the new config file and let me know if it's clear how to configure it.
The one thing I couldn't quite fix is the lag when respawning to an unloaded chunk, because respawning after dieing is client side ruled.
But it could be that I'm getting server overloaded warnings because my server isn't strong enough. Let me know if your servers are giving the same warnings.
@AS1LV3RN1NJA
I've added it to the To-do list!
@wassilijk
Thank you very much!
RandomPort uses a 10 second delay to solve the lag. I'm trying to do the same thing, but I'm delaying the moment of spawning until the chunks are loaded. This means you have to wait a little bit longer before you get back into the world. But it decreases the lag after respawning.
I'll try to make a new build before the end of this week.
Multiworld compatability?
Ideally i'd like people to spawn at a fixed position for the first join (in Chaos); then a random place each time after that.
On my 2 other worlds, i'd like to have a fixed spawn (Creative and Survival).
Maybe an option in the config file?
First join: false Worlds: Chaos
Look how the plugin http://forums.bukkit.org/threads/tp-randomport-v1-0-a-new-adventure-every-time-935.23304/ solved the lag.
I love this plugin! :D