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.
@kwpugh
Same here. This means if it is a block that needs removing with a pick it takes forever.
Plus it just makes spawning not a simple experience.
I really like this plugin, but I'm having one hiccup with it. When a player clicks the randomspawn sign, they are teleported to a random location partially inside a block and they have to break the block underneath them to free themselves otherwise they are stuck. Repeated jumping with also free them, but they take heart damage as a result. Is there a fix for this or am I doing something wrong?
Please someone help me, I try disable the first spawn, activate it, and active the bed spawn, but the random spawn doeasen't work. After I sleep in my bed and respawn to the world I spawn in the original spawn point.
I want to set my world(s) so when a player firstjoin to the world it will randomly spawn him in the world. far from any other players.
Per-world permissions would be great.
@Intangir
You probably have the plugin SpawnX or EssentialsSpawn. Those two conflict with Random Spawn.
Great plugin, but can you please add something like y-min and y-max? This is because of my map is a village, and I do not want people to spawn on the roofs, just on the flat ground. Another idea is to create multiple areas where players can spawn. Hope to see this :).
Thanks for reading my comment,
Rik
Does this work with 1.6.2?
A possible error in the documentation:
The permission node to use the /randomspawn or /rs command to teleport to a random permission is actually:
RandomSpawn.spawncommand
I found this from the plugin.yml file in the JAR. The documentation seems to state that RandomSpawn.spawn is the permission node for this, but it does not work.
An option for Auto-Respawn would be cool (and maybe configurable delay for respawn/auto-respawn)
For example: You have to wait 10 Seconds to respawn manually and after 60 seconds the player is forced to respawn ;)
please add delay to use the sign
Pleas UpDate to 1.6.2
this doesn't seem to work the way i expected with multiple worlds
does it support multiple worlds? i added more world names to the worlds.yml config, just like the existing one, in some i disabled random spawning, in others i set a different spawn area for that world
but it seems like no matter where i die i always respawn in 'world' only
edit: looks like its respawning me in world regardless of this plugin or not, do you know of a way to set what world you respawn in based on where you die?
@Davyhalliday
I don't think this is supported in the plugin, not as far as I know (Been using over a year) :b
Is it possible to teleport via command or portal? The signs are ugly
Plugin has been working very well ever since I started using it in 1.3 lets see how well it holds up in 1.6 ^^
@josvth:
Compatibile with xauth and NoCheatPlus
@josvth:
random spawn pleas add compatibile to xauth
Hey, I made a new world using Multiworld. And now every time I try to make a spawn sign teleporting me from my main world (world) to my new one (Arena) It crashes my server. Any help?
Spawns people in the ground a lot
@justsawyerwoop
decompile it