MultiSpawn
What it does
This plugin teleports players to pre-determined locations around multiple maps when they join. You can bypass the teleportation via command or permission.
Commands
- /ms - Shows plugin stats (currently nothing)
- /ms new <name> - Creates a location at your current position equal to the name you give it.
- /ms rename <old name> <new name> - Renames a location.
- /ms [delete/remove] <location> - Removes the given location.
- /ms goto <location> - Teleports you to the given location.
- /ms list - View all locations saved.
- /ms bypass list - Show list of users that bypass the random spawning when they join.
- /ms bypass add <user> - Adds a user to the bypass list.
- /ms bypass remove <player> - Remove a user from the bypass list.
Permissions
Command-based
- multispawn.all - All modification and command permissions.
- multispawn.edit - Create, rename, replace, and delete locations. Accessible commands: /ms [new/delete/remove/rename0 <location> <args>
- multispawn.list - List MultiSpawn locations. Unless explicitly blocked within a permissions plugin, it can be used by anyone. Accessible commands: /ms list
- multispawn.goto - Allows you to goto any location around the map. Accessible commands: /ms goto <location>
- multispawn.editbypass - Allows you to modify or view the bypass list. Accessible commands: /ms bypass [list/add/remove] <args>
Event based
- multispawn.allowbypass - When this permission is added to a group, it let's the player/group bypass random spawning and lets them spawn normally.
Known Bugs
- If there are no saved locations, there will be console errors when a player joins. Either enable multispawn.allowbypass on the player/group, or add a few locations!
FAQ
Q. Isn't there already a plugin called MultiSpawn that does this same thing? You stole it!
A. Technically, yes, there is. However, I wrote this entire plugin from scratch, and the other MultiSpawn has not been updated in over a year and a half.
Q. There's a bug! You're a terrible developer!
A. That's not a question.
Q. There's a bug..?
A. Yes, there probably is. If you find a bug that is not on the bug list, please post it in the comments, PM me, or email me.
Q. Can I see your source?
A. Sure! it's kept in GitHub.
@PixelPips
Can you make a command to teleport them to a random spot?
@Gabplay
You should have a permissions system installed. You can, using the defined permissions above.
This commands just work for OP players, can I change it?
@RageTobi If you have the multispawn.bypass permission then it will send you to the spawnpoint. It will also send you to the normal spawn point if you are on the bypass list (/ms bypass list)
If neither of those are the case, then what plugin are you using for spawn? Essentials?
I'm tested the Plugin on my privat Server but when the player spawn then he spawned on the normal spawnpoint