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.
Facts
- Date created
- Aug 28, 2011
- Categories
- Last update
- Apr 21, 2013
- Development stage
- Release
- Language
- enUS
- License
- GNU General Public License version 3 (GPLv3)
- Curse link
- Random Spawn
- Downloads
- 11,419
- Recent files
- R: RandomSpawn version 2.6 SU for CB 1.5.1-R0.2 Apr 21, 2013
- R: RandomSpawn version 2.5 for CB 1.4.7-R0.1 Jan 28, 2013
- R: RandomSpawn version 2.4 for CB 1.4.2-R0.2 Nov 04, 2012
- R: RandomSpawn version 2.3 for CB 1.3.2-R0.1 Sep 02, 2012
- R: RandomSpawn version 2.2.1 for CB 1.2.5-R4.0 Jul 26, 2012
- Reply
- #411
h0us3cat May 22, 2013 at 05:22 UTC - 0 likesDoes this have multiverse support?
I want to enable random spawning in one world only.
BFAK:h0us3cat,734,4283c514507a2bc3cbf05f7a3506aa6b95eb88bee7912e231bf0c4168bfc4ea7
- Reply
- #410
MinecraftAdmin May 21, 2013 at 05:51 UTC - 0 likesOMG Thankyou for adding the ability to make a sign specifying a world!
- Reply
- #409
gnorbsl May 20, 2013 at 10:27 UTC - 0 likes"Yeah that sometimes happens. The reason for this is that Minecraft natively does not load chunks when players are teleported to a new location. I tried countless times to fix it but it still happens sometime."
Couldn't you load the chunk before teleportation with .getChunk().load() and check if the blocks where the player should spawn are air?
BFAK:22205,4b0cdc483e9d97328348fd99e7084bee0a927d358330854262010d8c873eb6b5
- Reply
- #408
malifakt May 15, 2013 at 15:02 UTC - 0 likesdo you think you can add getting items upon spawning randomly, I need that pretty bad on my server. Please make it quick :D
- Reply
- #407
egimfun Apr 26, 2013 at 00:15 UTC - 0 likesGetting an error when trying to run command /rspawn, im using 2.6 SU
8:09:57 PM CONSOLE: [INFO] egimfun issued server command: /rspawn 8:09:57 PM CONSOLE: [SEVERE] null 8:09:57 PM CONSOLE: exception executing command 'rspawn' in plugin RandomSpawn v1.0 8:09:57 PM CONSOLE: java.lang.IllegalArgumentException: Name cannot be null
- Reply
- #406
lst96 Apr 25, 2013 at 22:05 UTC - 0 likes@UberBosser: Go
He already answered on this:
"Yeah that sometimes happens. The reason for this is that Minecraft natively does not load chunks when players are teleported to a new location. I tried countless times to fix it but it still happens sometime."
- Reply
- #405
UberBosser Apr 24, 2013 at 11:03 UTC - 0 likesPlease fix the bug when spawning in the middle of dirt and rock and stuff
- Reply
- #404
lst96 Apr 23, 2013 at 03:19 UTC - 0 likesCould you make this work with authme reloaded? (login plugin) Like have it randomly spawn someone once the registered.
- Reply
- #403
iPadHD Apr 22, 2013 at 22:32 UTC - 0 likesPlease, make it so you can use a water portal to Random Spawn!
- Reply
- #402
josvth Apr 22, 2013 at 14:39 UTC - 0 likes@lst96: Go
Yeah that sometimes happens. The reason for this is that Minecraft natively does not load chunks when players are teleported to a new location. I tried countless times to fix it but it still happens sometime.