This is a minor version, but has some new features and fixes a bug.
‣ Added
hex color support on messages. To use it just type "
#<code>" before the word.
‣ 2 new placeholders:
•
%amazingfly_canfly%- Returns if the player has amazingfly.use permission.
•
%amazingfly_canfly_<player>%- Returns if the target has amazingfly.use permission.
‣ Misc:
• Fixed
%amazingfly_hasfly_<player>% not returning correct values. Sorry for that.
New stuff: - Added
debug mode to config. Only activate it when
I ask you to.
- Now the plugin detects when the player enters
PvP and disables the fly.
- Added 2
new options in configuration and 2 new messages in the lang
section to customize the fly disable function in combat:
*
Config.options.deactivate-fly-mode-pvp.enabled *
Config.options.deactivate-fly-mode-pvp.time-of-restriction *
Config.lang.restriction-seconds *
Config.lang.config.lang.pvp-deactivate
-
Importart: Modified and added some permissions:
*
amazingfly.bypass IS NOW DEPRECATED *amazingfly.bypass.gamemodes *amazingfly.bypass.pvp-restriction *amazingfly.bypass.* See the resource page to know what they do! (Its obvious, I think.)
- Now the plugin only deactivates fly for players who used /rfly when leaving a region. In previous versions this was deactivated for any player, it wasn't exactly a bug but I decided to change it to make it better.
- Modifications in the commands code to make it work better.
How to migrate configs? Just backup your current config, then copy and paste the new config (see plugin page) and set back to the values you set before.
Sorry for taking so long to bring the hook with MySQL, it's the first time I work with SQL in Java and I'm still testing.
This does not affect the use of the plugin, I am currently working on improve the code to make it more scalable. Probably in the next hours version
1.2.0 will be released.
-Added
inmunity-to-fall-damageoption in Config.yml -Added worldguard integration (read plugin page and config comments) -Added new messages options for WorldGuard integration -New permission amazingfly.bypass to bypass Gamemode Restrictions -New permission amazingfly.admin to have all plugin permissions -New permission amazingfly.use.worldguard -Modified the code to be case-insensitive in gamemode-restriction configuration
-Recoded some parts of the plugin to make it more scalable -Modified /fly reload, now its /afly reload
How to migrate configs? Just backup your current config, then copy and paste the new config (see plugin page) and set back to the values you set before.