Note: Config needs to be updated or deleted for this update
The most recent version of the default config can be found in the plugin description under section 'config'.
DISCLAIMER:
This update involved a large amount of changes to the code. I've done my absolute best to make sure everything runs smoothly. However, if you do find a bug please report it to me on Discord so I can try and fix it quickly.
Thank you!
2.13 Changelog
Additions:
* Added the option to buy Flyblocks using items.
* Added the option to disable the transferring of ownership.
- Can be set in the config under 'allowOwnershipTransfer'
- Setting this to false means a owner can not right click a user to remove him/her in the Flyblock right click menu.
* Added a command to add the given user to the closest owned Flyblock
- Usage: /flyblock add <player>
- Same permissions apply as with adding a player using the Flyblock right click menu.
* Added the option to customize the description on a Flyblock item when in inventory
- Customization can be done under the 'flyblockItemCustomization' in the config.
- Flyblock item name must now also be set under the 'flyblockItemCustomization' section at key 'fbItemName'.
Changes:
* Removed the 'itemNames' section and it's underlaying key 'flyblock' in the config.
- Flyblock item name must now be set under section 'flyblockItemCustomization'
* Players are no longer excluded from taking fall damage if their Flyblock explodes (Tnt, creeper etc.)
* Only owners of a Flyblock will now receive a message informing then of the Flyblock being expired, destroyed, cleared, paused or resumed.
* Made changes to the visual display of messages send by the plugin to the console.
* Refactored the config validator. Config validation is now extremely thorough.
- When validation fails the plugin will not run. This is to prevent strange problems with the plugin.
- This means the config now has to be set up correctly in order for the plugin to run.
* Made massive changes in the code aiming to resolve technical debt allowing for easier future maintenance and updates.
* Changed some base values of messages in the config.
* Tried to make the config cleaner and easier to read.
Bug fixes:
* Fixed a bug which prevented the owner from receiving a expired message in certain cases when multiple users where added.
* Fixed a bug which caused people in spectator mode to fall through the world when their flyblock was destroyed, expired, cleared etc. (same for being removed as a user while in spectator mode)
If you enjoy the plugin a rating would be appreciated.
For any support, questions or suggestions feel free to contact me on discord.