Spawn Area
Spawn Area
What is it for?
This plugin spawns first joining players randomly within a set region in the config. The player will not spawn in hazards. Eventually it will have WorldGuard support, too :D
What are the Features?
- Spawns player randomly on first join within configurable default area.
- Will not spawn in configurable hazards.
- Configurable spawn areas.
- More than one spawn.
- Multiworld support.
- Command /sa or /spawnarea to go to different spawn areas.
- Permissions support.
Config
Permissions
Click here to see the permissions!
Commands
Click here to see the commands!
Last notes
Please, leave suggestions and comments! If you find a bug please tell me! Thanks! :)
Git: http://dev.bukkit.org/server-mods/spawn_area/
You can donate if you want to. It would help. :)
@AS1LV3RN1NJA
I agree. But it has some cool additions I would love to add if I had the time.
@lordecho
I'll work on that one later
In-game commands to edit config would be really nice to see! Very well done though!
@Darkhand81
Thanks for the heads up, I would have never known. I've found a work around and I'm working on it right now.
@TheFluffey
Yeah :D
I'm also going to make it configurable so you can choose if players spawn randomly after they die :p
@deleted_7151878
Thank you so much! if you enable this feature (On command version) Then when they die they would need to spawn at the regular spawn. Only on command would they spawn somewhere in the area :D
THANKS!
The plugin RandomSpawn does something similar.
Be cool if it wasn't just first time users and done it when someone did /spawn or something :P
Hi Pew, I've been looking for an updated spawn plugin, thanks much! I noticed an issue though:
You use hasPlayedBefore() to check whether the player has logged in before, but if you look at the Bukkit Javadocs, it's not implemented yet.
Take a look here... This is the javadoc entry. You'll see 'Implements org.bukkit.OfflinePlayer.' which is a completely unimplemented function right now.
Follow the link there that says 'Definition at line 596 of file TestPlayer.java.' Here's a link.
The code is:
Several plugins have tried using these... Bukkit really needs to either implement them or get them out of the javadocs.
As for your falling-into-void issue, I think you need to call refreshChunk on the chunk the player is teleporting to.
@TheFluffey
Oh, that's completely doable. Sure. I'll add it :p It won't be until at least for another 4 or 5 hours because I have testing soon.
@deleted_7151878
Make it configurable like this: People spawn in the default spawn. However, on using a command (/sa spawn) they will be teleported inside the randomly defined area.
@darth2499
Like for groups or something? I made this plugin real quick so it doesn't have that feature yet. I'll see what I can do to add it ;)
Any way to make multiple spawn areas?