GalaxyUnstick
Unstick players when they get stuck due to lag upon connecting
Players were getting stuck a lot on Pwned Galaxy (mc.pwnedgalaxy.net), so I made this plugin to help resolve the issue. Hopefully others will get some use out of it.
Commands:
/unstick [player]
Gets the player unstuck. If no player is specified, the player using the command is unstuck.
/gu <mode|addworld|removeworld|listworlds|reload>
Allows for the easy configuration of GalaxyUnstick without needing to manually modify the config.yml.
Quick intro to the /gu command:
/gu mode [MODE] - Sets the mode that GalaxyUnstick uses.
There are two modes: ALLWORLDS and CONFIGLIST.
ALLWORLDS mode makes the player being unstuck loop through all the worlds on the server.
CONFIGLIST mode makes the player being unstuck loop through only the worlds listed in the config.yml.
/gu addworld <WORLD> [WORLD2 WORLD3 etc.] - Adds worlds to the configuration file.
This command adds worlds to the list of worlds that a player is looped through upon being unstuck.
/gu removeworld <WORLD> [WORLD2 WORLD3 etc.] - Removes worlds from the configuration file.
This command removes worlds from the list of worlds that a player is looped through upon being unstuck.
/gu listworlds - Outputs a list of all worlds currently in the configuration file.
This command lets you see where players are being teleported to upon being unstuck.
/gu reload - Reloads the configuration file.
If you manually edit the config.yml file, this command allows you to load your changes into memory.
Permissions:
galaxyunstick.*:
description: Gives access to all GalaxyUnstick permissions
default: op
children:
galaxyunstick.command.*: true
galaxyunstick.notify: true
galaxyunstick.command.*:
description: Gives access to all GalaxyUnstick commands
default: op
children:
galaxyunstick.command.unstick: true
galaxyunstick.command.unstick.others: true
galaxyunstick.command.gu.*: true
galaxyunstick.command.unstick:
description: Allows you to unstick yourself
default: true
galaxyunstick.command.unstick.others:
description: Allows you to unstick others
default: op
children:
galaxyunstick.command.unstick: true
galaxyunstick.command.gu.*:
description: Gives access to all GalaxyUnstick configuration commands
default: op
children:
galaxyunstick.command.gu: true
galaxyunstick.command.gu.mode: true
galaxyunstick.command.gu.addworld: true
galaxyunstick.command.gu.removeworld: true
galaxyunstick.command.gu.listworlds: true
galaxyunstick.command.gu.reload: true
galaxyunstick.command.gu:
description: Needed to use any GalaxyUnstick configuration commands
default: op
galaxyunstick.command.gu.mode:
description: Allows you to change the unstick mode
default: op
children:
galaxyunstick.command.gu: true
galaxyunstick.command.gu.addworld:
description: Allows you to add worlds to the configuration
default: op
children:
galaxyunstick.command.gu: true
galaxyunstick.command.gu.removeworld:
description: Allows you to remove worlds from the configuration
default: op
children:
galaxyunstick.command.gu: true
galaxyunstick.command.gu.listworlds:
description: Allows you to list the worlds in the configuration
default: op
children:
galaxyunstick.command.gu: true
galaxyunstick.command.gu.reload:
description: Allows you to reload the GalaxyUnstick configuration
default: op
children:
galaxyunstick.command.gu: true
galaxyunstick.notify:
description: Players with this permission will be notified when they
are unstuck
default: true