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.
Are the config.yml and world.yml files supposed to be empty when you get the plugin? Because I'm extremely confused on what I'm supposed to do with them...
Players on my server always spawn at the map spawn location instead of a random spawn. It even tells them "you woke up in an unfamiliar place" but it is always the same spawn
You think you can make it so there is also spawn protection and while in spawn protection, mobs dont detect you? It is a big problem when it comes to spawning on my server. Thank you!
@josvth
a kind of "box" drawing the border - this, at minimum, will confirm that we didn't make any mistakes
@firelook
I don't think this would add much diversity the only thing I could do is show a border equivalent to the spawn area. Or do you have another idea for this?
@mrelfire
Hmm.. odd. The randomizer never failed on me before. It could be that there is something wrong in the configuration files which causes Bukkit to return to its native spawn methods. Because those are random in a radius of 16 blocks around the worlds spawn.
Could you send me your worlds.yml and config.yml in a PasteBin or something so I could take a look at it?
How you calculate your random, I have 3 new connections which appears at 5 blocks from each others. on a huge are more than 2000 square blocks ?
Any chance to link your jar with dynmap ?
Hey you should update... I noticed this plugin isnt as popular as your new trade plugin but its crucial for one of the most amazing survival servers the minecraft community offers Please release a 1.4.7 build! :D!
this plugin is crucial for our massive chaos server! but it is also the cause of random java errors - any chance for a 1.4.6 update?
Why when someone types /rspawn or right click the sign it sets the spawn for the whole world there?
Bed respawning seems broken.
please update
Please update the link "How to configure worlds.yml" , missing files in there, or unaccessible.
would this be helpful in making coordinates useless? so that people rely on trail leaving, compasses and maps?
@fffizzz
yes i am having the same problem :( please help!!
I cant seem to make the "teleport-from-world" parameter work. We use multiverse and multiverse portals and I want it to random spawn when you enter this world from a portal
Dont forget to update this page with the new permissions nodes for the rs command.
I had to dig in your plugin.yml to find it.
EDIT:
Also shouldn't have to be in game to run /rs reload
Also why does github not reflect the current changes you made?
Does this work with the newest Bukkit? I just cant get it to randomly spawn people on firstjoin or respawn. I always end up on the world spawn and not in the area i defined. Could someone post an example config that spawn people randomly on the first join?
Suggestion: Maybe you could set parameters to where players can respawn using worldedit?