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.
Cool plugin! Will test it asap.
Thanks :)
Hey, this plugin looks cool!
An idea for a new feature, how about designating areas where spawning is not allowed? Such as setting a large spawn radius, and then a smaller radius inside of it where players will never randomly spawn. Essentially this would create a belt-like area for people to spawn, keeping them away from the center of the spawn area.
@josvth
done , your plugins is awesome its the center piece of my server,but when it was working in big citys it seems to spawn on roofs ,none in actual houses. It maybe have to do with the anti wallspawn feature.
@deathwing911
I will check it tomorrow. ;) In the mean time could you file a ticket about this problem with your config.yml and worlds.yml added? Thanks!
@josvth
i do have a problem , it just wont randomspawn even tho i have set the area and did the /rs enable command.But i never respawn even all my players they just spawn at the spawn world. (it was working well for a couple of weeks)But not after the 2.0 update.
Thanks for the info.
@deathwing911
Of course! Does the current version give you any problems?
will you consider updating to craftbukkit RB 2.0 ? :)
@MERCHANToDEATH
Yes of course! I just realised that this feature wasn't mentioned in the description. Adding it now.
Can you limit in to a certain area? does it spawn them anywhere in the world, because I'm afraid players are gonna spawn outside my game borders and be killed.
@pipeman
Every time or just once in a while?
I'm getting the same message as @JoneKone
@JoneKone
Hello JoneKone, weird error you're getting there :S Could you pass me your config.yml and worlds.yml?
@TaterTotsYum
Tux2's MultiSpawn already has this feature. So you might want to use that plug-in instead. :) Good luck!
Hey, can there be the ability to set a certain amount of "spawns" which the player can spawn at? That would make my server in the works basic plugin set complete. -Thanks!
Random Spawn 1.10
http://pastebin.com/HT5HufmP
This happened to me after I died inside wall and pushed respawn.
I was kicked from the server.
When I rejoined I was back in main spawn.
@bigscary
For me, I use it to stop spawn killing, and to add a little more Chaos to my Chaos world.
@bigscary
I initialy made this plugin because I didn't like that my friends build their (ugly) houses at my doorstep or in my town. Random spawning would fix this and still keep the players in a certain distance that they could walk to eachother make roads cities etc. I wanted to make a like a town server where each player has it own town or lives in somebody elses. However since I run a small private server I didn't intent to make the plugin for big servers, I just made it to my own needs. I didn't even visit big server until a month ago. XD I think for the biggest part my plugin is used for hardcore survival servers.
Just wondering, what's the motivation for making the spawn random? Just for fun? Or is it solving a specific problem?
Oh that would be excellent. Thank you. Yea in my tests i will spawn in a cave perhaps once every 30 random spawns. With my server being Ultra Hardcore where you don't regain health normally, spawning in a cave may mean a short life.
@Jackalmen
Hello Jackalmen,
Do your player spawn inside a cave? Like with a roof above their heads? If so it's a glitch where players fall through the ground amd end up in caves. Spawing inside ravines is normal. However I will add a whitelist / blacklist for blocks in the next update.