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 Apr 21, 2013This happens upon starting server. im using 1.5.1-R0.2
-
View User Profile
-
Send Message
Posted Apr 14, 2013@MinecraftAdmin
I have been looking for this server feature because my server world is becoming very crowded. Since everyone using the random tp sign to get out of spawn, this will allow players to go to another world to build without even thinking about that they're going into a different world!. I would really appreciate you forever if you add this in!
-
View User Profile
-
Send Message
Posted Apr 12, 2013Okay, I need this plugin to work x 20000 z 20000 to -20000 -20000 etc and I'm sometimes suffocating in walls when i do /rs spawn.
I want when people first join the server they are automatically teleported around x -20000 to x 20000 to x -20000 x 20000 without problems such as getting stuck in blocks. ( I also experience a bit of lag when I do this but i think it's just because it's generating the world or something lol)
Edit: Sometimes I'm spawning in caves :/ Is it possible to prevent spawning that far underground and just spawn on surface?
Edit: It's come to nearly always spawning in walls, and the player is not spawning in a random spawn when they first join.
I need players to stick to that spawn until they sleep in a bed.
-
View User Profile
-
Send Message
Posted Apr 12, 2013@josvth
still work for 1.5?
-
View User Profile
-
Send Message
Posted Apr 12, 2013@iPadHD
Yeah, good suggestion. I'll take a look at it.
-
View User Profile
-
Send Message
Posted Apr 12, 2013@slugshelI
I had issues with Multiverse before where it was conflicting with the random spawning. I'll check it once again to see if I can do something about it.
-
View User Profile
-
Send Message
Posted Apr 12, 2013@MinecraftAdmin
Nice suggestion! I'll see if I could add it to the plugin.
-
View User Profile
-
Send Message
Posted Apr 11, 2013What if we could put the name of the world on the 2nd line and have the sign randomtp the player to the defined radius in that world?
-
View User Profile
-
Send Message
Posted Apr 11, 2013@iPadHD
You could have the portal have the player automatically perform a command.. or use command blocks..
-
View User Profile
-
Send Message
Posted Apr 7, 2013I need this for 1.5.1
Thanks !!!
-
View User Profile
-
Send Message
Posted Mar 21, 2013Can you make it so you can walk through a portal to do a randomspawn?
-
View User Profile
-
Send Message
Posted Mar 21, 2013I am using Craftbukkit Build 2681 with multiverse, it seems that the randomspawn on first join is not working. There are no errors shown in log. Greeting,
Alex
-
View User Profile
-
Send Message
Posted Mar 19, 2013its been a while since RandomSpawn has been updated, it is a Fundamental part of my server and I love it! Please update to 1.5 soon
-
View User Profile
-
Send Message
Posted Mar 14, 2013Can you add a feature where you designate the random spawn radius from the sign? I want 2 random spawn areas in one world. Don't want to use a large area
-
View User Profile
-
Send Message
Posted Mar 9, 2013randomspawn.spawn doesnt even work for me
-
View User Profile
-
Send Message
Posted Mar 6, 2013This plugin needs an exact spawn option for the first join spawn my players keep spawning in lava or in areas they aren't supposed to and i have tried setting a blacklist but the blacklist doesn't seem to work on firstspawn.
-
View User Profile
-
Send Message
Posted Feb 27, 2013@AndreasB86
I'm having the same exact problems... Players are abusing it spawning all around the map until they stumble on someones base
-
View User Profile
-
Send Message
Posted Feb 23, 2013Hello!
I am trying to get this to work, I even removed all other plugins than PermissionEx and RandomSpawn.
When I die, it doesnt remember where I first spawned, it keeps giving me new locations.. Why is this? I've tried alot of combinations, but I either spawn at spawn, or at a random new location.
Never the same location twice.
This is part of my config world: keeprandomspawns: true randomspawnonfirstjoin: true randomspawnon: - firstjoin - respawn
This is my bukkit version: git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0)
-
View User Profile
-
Send Message
Posted Feb 19, 2013Hello! I'm wondering if there's a way to make sure new players DON'T spawn in a certain region? For example I would like my new players to spawn outside any already established cities, which are protected by WorldGuard regions.
-
View User Profile
-
Send Message
Posted Feb 16, 2013Essentials always take over your plugins, I put it as "lowest" in essentails config files, but still the same problems