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.
-
View User Profile
-
Send Message
Posted Jun 11, 2013not working
-
View User Profile
-
Send Message
Posted Jun 10, 2013Hello,
I'm trying to startup a multiplayer SkyGrid world. This plugin is perfect for the respawning since it works well with multiworlds.
I have one feature request - and that's to enable me to raise the default spawn level up off the ground. This is needed as often people spawn in a block on the skygrid world. It's most likely because of the way it's generated.
-
View User Profile
-
Send Message
Posted Jun 5, 2013Hey, i can use the sign for randomspawn, everybody can use it. but i don't (i'm op) randomspawn when i died. it's confising, cant find teh error in teh config... (no server errors, using bukkit for 1.5.2 and spout for 1.5.2) and it worked before but now it desnt anymore
-
View User Profile
-
Send Message
Posted Jun 1, 2013Pleas add default frist join player to random spawn
-
View User Profile
-
Send Message
Posted May 24, 2013Hello,
Can you make it so you can walk through a predefined area you get randomly teleported into a specifed world? This way we can define portals that players can walk through.
Thanks!
-
View User Profile
-
Send Message
Posted May 24, 2013When you spawn (randomly), can you have it to place certain items in your inventory? I really need that for my server. Awesome plug-in, btw
-
View User Profile
-
Send Message
Posted May 21, 2013Does this have multiverse support?
I want to enable random spawning in one world only.
-
View User Profile
-
Send Message
Posted May 20, 2013OMG Thankyou for adding the ability to make a sign specifying a world!
-
View User Profile
-
Send Message
Posted May 20, 2013"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?
-
View User Profile
-
Send Message
Posted May 15, 2013do you think you can add getting items upon spawning randomly, I need that pretty bad on my server. Please make it quick :D
-
View User Profile
-
Send Message
Posted Apr 25, 2013Getting 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
-
View User Profile
-
Send Message
Posted Apr 25, 2013@UberBosser
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."
-
View User Profile
-
Send Message
Posted Apr 24, 2013Please fix the bug when spawning in the middle of dirt and rock and stuff
-
View User Profile
-
Send Message
Posted Apr 22, 2013Could you make this work with authme reloaded? (login plugin) Like have it randomly spawn someone once the registered.
-
View User Profile
-
Send Message
Posted Apr 22, 2013Please, make it so you can use a water portal to Random Spawn!
-
View User Profile
-
Send Message
Posted Apr 22, 2013@lst96
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.
-
View User Profile
-
Send Message
Posted Apr 22, 2013@UberBosser
There is already a command for that. Try: /rs spawn <playername> <world> or /rs spawn to random spawn yourself.
-
View User Profile
-
Send Message
Posted Apr 22, 2013Is there a command to tp you at a random place like /wild or /wilderness plz add that and i will install it! :)
-
View User Profile
-
Send Message
Posted Apr 21, 2013This plus almost perfect except it randomly spawns some players in the ground.
-
View User Profile
-
Send Message
Posted Apr 21, 2013@Enkious
I made a derp. Try this version: https://dl.dropboxusercontent.com/u/29941160/RandomSpawn-2.6.jar