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.
@gzEthereal
Hello gzEthereal,
Good suggestion. However this needs some serious rewriting to allow this. I was considering to fully rewrite the plugin so I this still might make it into the next build.
@Redstoner_Pro
Seems like a good suggestion! Let's see if it can make it into the next build.
suggestions: Configurable blocks players are allowed to spawn on or a black list for blocks they cannot spawn on. I have players spawning on top of buildings and this is not what is wanted. If I could configure that they can only spawn on stone,dirt,grass,gravel that would be awesome.
Is it possible if we could have a random spawn within a certain area for each group? Because i'm doing a factions server I would like a certain clan/guild to spawn in a specific area/region and then the other clan/guild for another. If this is possible I will likely use this plugin, otherwise it's a great plugin. Keep the updates coming :D
I have an idea:
/setspawn 1
/setspawn 2
/setspawn 3
Then... It randomizes through these spawns..
What d'ya think?
- Sam
@josvth Sure :)
www.silverserver.weebly.com for info if needed.
@AS1LV3RN1NJA
No, I will try doing it tonight. May I do some problem diagnosing on your server?
@josvth
Have you had a chance to look at the spawning in walls yet?
@thudog77
Not directly, but if you find a plugin that you could use to set the spawnworld (*ugh* Multiverse). Than you could set the respawn world of "world" to "world_nether" and add to the worlds.yml in the randomspawnon: - teleport-from-world than it could work.
@thudog77
And you aren't even helpfull! :p If you could give me more details about whats not working that would be great!
Is there anyway so if a player dies in a world named "world" they will be randomly spawned in a world named "world_nether"?
doesnt even work :/
@Kane_Hart
No problem! Good to hear that you have found the solution.
@josvth
Sorry I was being derp. It seems like CMD Book spawn hook was coming before this mod I just disabled via cmd book config.
Sorry about that.
@josvth
Hey man, I can't remember paying you for this, take as long as you want :)
@AS1LV3RN1NJA
I'm very sorry but I didn't had time to check it out. I just graduated so I needed to celebrate that first. But I will take a look at it this weekend.
@Kane_Hart
Thanks for letting me know that there is something wrong. But this way you aren't very helpfull maybe you could file a ticket or at least be a bit more specific?
Thanks in advance!
Any news on the spawning issue?
I am spawning inside blocks
exclude an area from spawning locations.
Make a "ring" where ppl spawn excluding the center ring (spawn)
Make several areas where ppl can spawn.
Make every reborn to a random spawn point option
:)