Hello! I need a plugin made that will allow admins (oped players or players with the permission randomspawnpoint.set) to set multiple spawn points in different "groups" These groups and spawn points would be stored in a config file. So to start, admins would create a new group. /randomspawnpoint creategroup {name} then they would set as many spawn points as they like in that group. /randomspawnpoint add {name} {group} then players with the permission randomspawnpoint.use can do /randomspawn {group} and they will be teleported to one of the spawn points listed in the config. Code: /randomspawnpoint creategroup testgroup /tp Admin5 123 123 123 /randomspawnpoint add TestPoint1 /tp Admin5 321 321 321 /randomspawnpoint add TestPoint2 Example Config: ExampleConfig (Move your mouse to reveal the content) ExampleConfig (open) ExampleConfig (close) Code: Groups: TestGroup: TestPoint1: x: 123 y: 123 z: 123 TestPoint2: x: 321 y: 321 z: 321 I would like this as soon as possible its needed for my servers release next sunday. If you have any questions please let me know!
I'm just going to assume this is for 1.12, if not let me know. I'll start working on it right now. Edit: Finished it, didn't do extensive testing, so if you find bugs let me know. ========================================= Link: https://www.dropbox.com/s/a7hxk2n54nkcx7y/randomspawnpoints.jar?dl=0 ------------------------------------------------------------------ Commands: /rsp <group> || Teleports to one of the points of a group /rsp help || Main help command /rsp rl || Reloads the config /rsp creategroup <name> || Creates a group with the specified name /rsp deletegroup<name> || Deletes the specified group /rsp add <name> <group> || Adds a point with name to specified group /rsp remove <name> <group> || Remove a specified point from a specified group ------------------------------------------------------------------ Permissions: rsp.set || Gives access to the admin commands rsp.use || Gives access to /rsp <group> rsp.use.<group name> || If PER_GROUP_PERMISSIONS is set to true, to use /rsp <group>, the player will need to have the permission rsp.use.<group name> Example: A player wants to teleport to a point in group, "Test". If PER_GROUP_PERMISSIONS was set to true, the player would need the permission, "rsp.use.test". If it was set to false, they would simply need, "rsp.use". =========================================
@Jamiezi When I ran the server for the first time it worked great, however now when I try and add a point to a group I get no message, and then I get this error **EDIT Error was from different plugin I don't get an error message
@MemeplexOwner maybe, I’ll do a run on a fresh server. It’s odd as it works sometimes and it doesn’t other times.