THIS PLUGIN IS ON BETA SO YOU WILL FIND ALOT OF BUGS PLEASE DO NOT REPORT ANY ERRORS IN YOUR REVIEW.
It supports: 1.8.* - 1.19
INFO
To make players automatically fly upon joining a server, You can also set up a permission for players to have automatic fly, such as "auto-fly" or "fly-on-join." This can be used for fun on a hub server, or as a tool for staff members to easily navigate the server.
Permission:
toggleAutofly.*(just for admins!)
toggleAutofly.use
toggleAutofly.reload
Command:
/toggleautofly
- /taf
Config NEW:
Code (YAML):
#toggleAutofly By Yanel You can download last update from https://www.spigotmc.org/resources/toggleautofly.107367/
#any issue/error please PM or join discord server (https://discord.gg/ByEvu8VGJ5).
permission
:
"toggleAutofly.use"
#reload permission: toggleAutofly.reload
#You can add toggleautfly on any world you want and disable it as well
#By not writing the name of the world it will disable
enabled-worlds
:
- lobby
- world
- world_nether
#true/false to enable/disable giving players a feather upon joining the server.
give-item-on-join
: false
# The slot number (0-8) to give the feather in the player's inventory.
item-slot
: 0
# true/false | when it is true the inventory will be protected and when it is false inventory will not protected any more
#WARN!! NEED TO RESTART THE SERVER IT WON'T WORK IF U USE /taf reload
protect_inventory
: false
#[Update: protect inventory it will work only on the feather!]
#Messages
#Message displayed when the player turns auto-fly on using the /taf on command
auto-fly-enabled
:
"&aAuto fly enabled."
#Message displayed when the player turns auto-fly off using the /taf off command
auto-fly-disabled
:
"&cAuto fly disabled."
#Message displayed when a player tries to run a command that is only meant to be run by players (not by console)
player-only-command
:
"&cThis command can only be run by a player."
#Message displayed when a player tries to run a command without having the necessary permissions
no-permission
:
"&cYou do not have permission to use this command."
#Message displayed when the plugin's configuration is reloaded using the /taf reload command
config-reloaded
:
"&a toggleAutofly config reloaded."
#Message displayed when the player uses an invalid command (e.g. /taf foo)
invalid-command
:
"&cInvalid command. Type /toggleAutofly or /taf for help."
#Message displayed when a player joins a world that has auto-fly enabled
enabled-message
:
"&aAuto fly enabled."
#Message displayed when a player joins a world that has auto-fly disabled
disabled-message
:
"&cAuto fly disabled."
#this is for feather no permission message
no-item-permission
:
"&cYou do not have permission to use this item."
NOTE:
Any
bugs/errors
found? Please, P.M. me, go to the discussion section or on Discord
(https://discord.gg/ByEvu8VGJ5)
.
Rate the plugin
AFTER
you test it and contact me first in case of any errors.
Do
NOT
report any
errors
in your review.