From cc7c1794b0d501ad333d5e5834e756ca8a78c1df Mon Sep 17 00:00:00 2001 From: BradBot_1 Date: Sat, 7 Oct 2023 23:39:04 +0000 Subject: [PATCH] Add README.md --- README.md | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0044206 --- /dev/null +++ b/README.md @@ -0,0 +1,72 @@ +# Fly + +A Minecraft plugin to allow the toggling of flight and fly speed + +## Commands + +### Flight +Toggle your ability to fly + +||| +|-|-| +|Permission|fly.toggle.self| +|Alias'|fly, flight| +|usage|/fly | + + +#### Others +You can toggle the flight of others by appending the `/fly` command with the player names. + +Permission: `fly.toggle.other` + +For instance: + +`/fly player1 player2` + +Both player1 and player2 will have their flight toggled + +### Flight Speed +Modify your flight speed + +||| +|-|-| +|Permission|flyspeed.toggle.self| +|Alias'|flyspeed, fspeed, fs| +|usage|/flyspeed [amount] | + + +#### Others +Setting other players flight speed is super simple, just append the player's names to the end of the command just as you do for `/fly` + +Permission: `flyspeed.toggle.other` + +## Configuration + +|Path|Default|Description| +|-|-|-| +|fly.self.enabled|§0[§a✓§0]§r You can now fly|Displayed when a player can now fly| +|fly.self.disabled|§0[§c!§0]§r You can no longer fly|Displayed when a player can no longer fly| +|fly.other.enabled|§0[§a✓§0]§r Their flight has now been enabled|Displayed when the requested player's flight is enabled| +|fly.other.disabled|§0[§a✓§0]§r Their flight is now disabled|Displayed when the requested player's flight is disabled| +|fly.other.nopermission|§0[§c!§0]§r You don't have permission to do that|Displayed when the player doesn't have `fly.toggle.other`| +|fly.other.notfound|§0[§c!§0]§r Unkown player|Displayed when a requested player doesn't exist| +|flyspeed.self.set|§0[§a✓§0]§r Your flight speed has been changed|Displayed when the players flight speed is changed| +|flyspeed.other.set|§0[§a✓§0]§r Their flight speed has been changed|Displayed when the requested player's flight speed is changed| +|flyspeed.other.nopermission|§0[§c!§0]§r You don't have permission to do that|Displayed when the player doesn't have `flyspeed.toggle.other`| +|flyspeed.other.notfound|§0[§c!§0]§r Unkown player|Displayed when a requested player doesn't exist| +|flyspeed.noValue|§0[§c!§0]§r Please enter a valid value to set the flight speed to (0-10)|Displayed when the provided fly speed amount is invalid| +|actionBar|false|If to send all flight messages via the actionbar rather than in chat| + +## Support + +### PlaceHolderApi + +If placeholder is detected the following placeholders will be available: + +|Placeholder|Description| +|-|-| +|%fly_on%|If the player has flight enabled| +|%fly_off%|If the player has flight disabled| +|%fly_speed%|The players current flight speed| + +Furthermore, any configuration messages will be able to interact with placeholders \ No newline at end of file