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 18, 2012I am having a problem with this plugin. When I use the random spawn, it spawns me underground and I then slowly die.
-
View User Profile
-
Send Message
Posted Apr 18, 2012is it just me or op Are unaffected by the randomspawn event . im op and i wont randomspawn but normal players can randomspawn any thoughts ? thanks
-
View User Profile
-
Send Message
Posted Apr 18, 2012@Omniastrum
So if I'm correct you want players that join your world for the first time are spawned at the lodge. And when they die they should be randomspawned?
What you have to do is remove the spawn point you've set with essentials. And use the command " /rs setfirstspawn " at your lodge to set the first spawn there. In your worlds.yml you should remove the - firstjoin making sure that new players aren't randon spawned but spawned at the spawn you've set.
Hope it helps!
-
View User Profile
-
Send Message
Posted Apr 17, 2012Hi, I downloaded the plugin but I also have the 'Essentials' plugin, I set my spawn to a hunter-type lodge so that new users can know the rules/teleports of my server, but whenever I die I go there, I have downloaded this plugin but when I die it just sends me to the spawn I set, is there anyway to get rid of this spawn/override it with this one?
It even says the default text of 'you wake up in an unfamiliar place' but I still spawn at the place I set a while ago, this is my 'worlds' file:
-
View User Profile
-
Send Message
Posted Apr 16, 2012@ThaSourceGaming
Cool! I hope you like it. :)
-
View User Profile
-
Send Message
Posted Apr 15, 2012I'll be using this plugin :)
-
View User Profile
-
Send Message
Posted Apr 15, 2012@XKillerBoy
Random spawning is very heavy for the server which can cause the things you see to happen. I'm doing the best I can to keep random spawning constant.
Spawn saving is a problem that will be fixed next build.
-
View User Profile
-
Send Message
Posted Apr 15, 2012When i first spawned i got kicked for moving too fast. Second time i died in the void. Third time i spawned fine. Might want to freeze players until they get to their spawn point. Also it doesn't seem to save spawn points when you stop the server.
-
View User Profile
-
Send Message
Posted Apr 14, 2012-
View User Profile
-
Send Message
Posted Apr 14, 2012@vedelvend
Is there a block forming underneath you when being random spawned? Something like this.
-
View User Profile
-
Send Message
Posted Apr 14, 2012@vedelvend
I created a ticket for this problem. Let's discuss this here. ;)
-
View User Profile
-
Send Message
Posted Apr 14, 2012-
View User Profile
-
Send Message
Posted Apr 13, 2012@vedelvend
Okay, I need to do some testing to confirm that. If you could send me your worls.yml and tell me if you world is pre generated. I will test it tomorrow first I need to catch some sleep. I've uploaded a 1.9 Release build aswell it's only waiting for approval. If you could test that one aswel for me to see if you have the same problems that would be great!
-
View User Profile
-
Send Message
Posted Apr 13, 2012Both 1.9 beta and the dev version you linked below are spawning me inside walls, caves and lava lakes. Hoping for a fixed version. Keep up the good work.
-
View User Profile
-
Send Message
Posted Apr 13, 2012@deathwing911
Ahh, yes I see. Your words.yml is still in the old format. Try removing it and reconfigure it with the commands or with the example you can find in this link.
I hope this helps!
-
View User Profile
-
Send Message
Posted Apr 12, 2012@josvth
i did made the command /rs enable .
TheFight: spawnarea: x-min: 228 x-max: 328 z-min: 53 z-max: 153 randomspawnenabled: true
not actualy placed that way but its in the same order so it keeps spawning me at the default specific world spawn.
-
View User Profile
-
Send Message
Posted Apr 12, 2012@deathwing911
This could be due to MyWorlds but please send me your worlds.yml so I can check it. And try the /rs enable command.
-
View User Profile
-
Send Message
Posted Apr 12, 2012while setting up the plugin i found out that even when i use ex: /rs setarea square 50 it say yes its set , but it dosent randomspawn upon death . for MultiWorld im using the plugin MyWorlds so maybe this is the cause of the problem,or maybe its just my config. PS: i has no error in the console too. Thanks
-
View User Profile
-
Send Message
Posted Apr 12, 2012@deathwing911
Okay people there will be no stable 1.9 build this evening, sorry. I just spend 1 hour fixing 1 freaking bug and I should really get some sleep now.
It will be there tomorrow!
@deathwing911 : Thanks for the nice comments!
-
View User Profile
-
Send Message
Posted Apr 12, 2012Keep up the good work ! thx for the quick fix.:) Currently using this in my pvp Deadmatch server ,this is just what i was looking for. Keep it simple peace mate .