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 12, 2012@josvth
This is some sweet ass support right here. Thanks for addressing the problem so quickly. Installing it right as we speak.
-
View User Profile
-
Send Message
Posted Apr 12, 2012@Nichiatu
For the moment you can use this dev build. It fixes this problem. I will upload an official build this evening.
Thanks for choosing my plugin for your server! :)
-
View User Profile
-
Send Message
Posted Apr 12, 2012@josvth:
Hi, I've noticed that as of 1.8 (1.2.5-R1.0) everyone can use every command. Is this an issue with the fact that I'm running 1.8 with 1.2.5?
We tried running 1.9 BETA, but that just seemed broken and didn't want to work at all.
Thanks for the plugin, I'd love to start using it again if this problem is fixed. Having 50+ users online, someone are bound to be fucking around with the commands.
-
View User Profile
-
Send Message
Posted Apr 10, 2012@tpark88
Yeah I found out the same yesterday. I've missed a return line. Stupid me. It will be fixed next build.
-
View User Profile
-
Send Message
Posted Apr 9, 2012Love the plugin, but the permissions don't seem to be working right. Even with them set to false, anyone on the server can just type /rs help and see all the commands, and then change them. It will tell them they don't have permission, but then go ahead and change it anyways. Checked it on another server I know of running the mod and they looked to be having the same issue.
-
View User Profile
-
Send Message
Posted Apr 8, 2012@darkmyre
The moderators removed the file because it is not a plugin -_-' . However you can download it here.
I don't really know the solution to your problem. If you could try the worlds.yml in the link and report back to me? You could always try to use the '/rs info' command to see how it is configured.
-
View User Profile
-
Send Message
Posted Apr 8, 2012Hmm, random spawn doesnt seem to be doing anything on 1.9 beta.... tried removing the plugin and config directory, but its still generating the old format, and the link above to the example of the new format for worlds.yml doesn't seem to work?
-
View User Profile
-
Send Message
Posted Apr 7, 2012@AS1LV3RN1NJA
It was a tab. Thanks for noticing! How is the new spawning working for you?
-
View User Profile
-
Send Message
Posted Apr 7, 2012@josvth
I'd have to take the server down and all that stuff, but it's basically an error on the 10th line, just change whatever is before "type: "square"" to 4 spaces (perhaps you used tab).
I can get you the error if you really want, but it seems like a simple fix.
-
View User Profile
-
Send Message
Posted Apr 7, 2012@AS1LV3RN1NJA
Could you send me the error message?
-
View User Profile
-
Send Message
Posted Apr 7, 2012@josvth
1.9 BETA has a YAML error on line 10 in the new worlds.yml
-
View User Profile
-
Send Message
Posted Apr 7, 2012Hello everyone!
I've uploaded the 1.9 BETA build, it's only waiting for approval. This one includes the new way of respawning and spawn location saving (metadata)!
I've also changed the way worlds are configured. Not because the old way was bad but this way allows me for better multiworld support in the future. See the configurations page on how to configure your worlds.yml! Please remove your old world.yml first!
Happy Easter!
-
View User Profile
-
Send Message
Posted Apr 5, 2012Okay just to make clear how bad the seeing through the ground is. It's the same as when you are teleported to another player that's somewhere else in the world and you can see through the ground for a few seconds. So it ain't that bad.
-
View User Profile
-
Send Message
Posted Apr 4, 2012@AS1LV3RN1NJA
I can think of a few quick and dirty workarounds. I will see which one works best.
-
View User Profile
-
Send Message
Posted Apr 4, 2012@zathrus_writer
You will be surprised of how simple it is. ;)
-
View User Profile
-
Send Message
Posted Apr 4, 2012@josvth
Tricky one, my Chaos world pretty much relies on people not being able to see their hidden bases, so I'm not too sure; is there any possible workarounds to this? Perhaps blocking their view somehow until it's all loaded, something like that?
-
View User Profile
-
Send Message
Posted Apr 4, 2012@josvth
nice one, can't wait to check it out :-)
-
View User Profile
-
Send Message
Posted Apr 4, 2012@josvth
Just so I'm clear, our choices are:
As someone who runs a hardcore server with a death ban, the possibility of a player dieing while attempting to spawn isn't acceptable, even if that means a player could gain a slight advantage because they can see nearby caves and underground structures.
-
View User Profile
-
Send Message
Posted Apr 4, 2012Okay people I have some great news for you!
I found a alternative to the whole spawn area generator thing that's build in since build 1.6. The new method has some improvements. Players won't have to wait while floating in the air or falling through the world for their spawn to load and they won't splatter when the server is a bit laggy. Furthermore it will decreases my code with almost 400 lines.
However even this method also has its downsides. Players will be spawned immediately to their spawn point without falling through the world but the area generates around them. Meaning they could sometimes see mines and caves through the ground. The spawn area generator fixed this problem nicely by loading all the blocks first so when the player is teleported to the area they can't see through them.
So good news with a bit of a downside. So what is more important for your servers? That players are spawned immediately and will never die during the random spawning or that the area will be loaded first so that players can't see what is in the ground.
Let me know what you guys think!
PS. I've uploaded a 1.2.4 build should be up soon.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@josvth
My server is pretty messy at the minute, couldn't really say.