[ABANDONED] Flyblock [1.19.x - 1.20.x] [Highly Configurable] icon

[ABANDONED] Flyblock [1.19.x - 1.20.x] [Highly Configurable] -----

Fly blocks, fly for survival, limted flying, survival friendly, for building in survival



Fixes, Internal overhaul, Placeholder API & more
Patch notes 2.11.0

Note:
* Updating the config.yml for this update is required. Either fully delete your config.yml or add the missing values which can be found inside the (new) default config in the plugin description on spigotmc.org.

The 2.11.0 introduces new features, bug fixes and a major internal overhaul of old and ineffective code.

The internal overhaul will have minor effects on user experience but does have the following benefits.
* Easier bug fixes due to less messy code.
* Increased ease of future updates.
* Minor performance bonuses.

Due to the massive amounts of internal mechanics and code being changed this update could include bugs which have been missed.
I did my absolute but to test everything I could possibly think of but due to this internal change pretty much hitting every mechanic in the plugin missing something can not be ruled out.

upload_2022-8-24_20-26-1.png

As usual. If you run in to any problems hit me up on discord.
I strafe to respond within 24 hours and resolve within 72 hours of responding where possible.

The time to resolve could be longer currently due to my life being absolutely packed with stuff (new education, work, personal stuff etc.)
If this is the case I will let you know.

PERMISSIONS

Did a internal overhaul of the whole permission system making it more future proof.

> Permissions which have levels/amounts like flyblock.buy<level>, flyblock.place<level> and the newly added flyblock.add<amountOfUsers> are now inclusive.
This mean that if a player has for example flyblock.place3 he can also place flyblocks of level 1 and 2 (so 1, 2 and 3 in total)

> The flyblock.shop permission is now default for all players.

> The flyblock.buy<level> permissions now also grant the player the flyblock.shop permission if he did not have it already

> The flyblock.removeAll permission has been renamed to flyblock.clear.

> Added a permission for adding players to a flyblock, flyblock.add<amountOfUsers>. This permission is optional and off by default.

> Added a option in the config.yml to enable/disable the need for permissions to add a player to a flyblock (addPermissionRequired). If set to true player needs flyblock.add<numberOfUsers> to add players.

The add permission is not backwards compatitable. This means that if someone already has 2 users on a flyblock and then loses permission to add people to it the currently added people are still users and wont be removed.

This also means if player A (who has adding rights) adds 2 people to a flyblock and makes player B (who has no adding right) the owner that player B will have a flyblock with 2 users.

This might change in the future.

CONFIG & VALIDATION


Complete internal overhaul of loading values from the config and validating them. New system guarantees that every value will never be loaded more then once directly from the config improving performance.

> Added a few extra validation points like checking if a banned world actually exists (along other validations)

> Changed the way loading, reloading and saving files was handled. Some operations where redundant and messy.

FLYING LOGIC

There has been a massive internal overhaul regarding the logic which handles the flying and checks related to it. The current method was ineffective and most likely contained some problems and bugs. Current version should be more future proof and easier to maintain.

No visible effects except the most likely existing undiscoverd bugs being fixed.

BUG FIXES

> Fixed a bug which would grant players that where offline and not flying while their flyblock expired a single exclusion from fall damage for the first 10 seconds after logging in

> Fixed a bug where players would recieve fall damage if their flyblock exploded.

> Fixed a bug which would inproperely handle the de-registration of a Flyblock when the owner is offline and another player broke the block.

> Fixed a bug where sometimes command usage examples where shown as well when a command related message was shown.

> Fixed a bug where if a player broke a block inside a protected region (residence, worldguard) the flyblock would still deregister.

PLUGIN RELOAD

> Added the /flyblock reload command to reload the Flyblock plugin.
Permission for this command is flyblock.reload which is granted to server operators by default. The reload command is intented for usage after changing config values.

It does not impact the flyblocks.yml as tempering with is discouraged.

MISC

> Removed the plugins internal dependency on the ResidenceApi.

PLACEHOLDER API

> Placeholder API can now be used to get certain data from the Flyblock plugin.

If you would like to see data be added, changed or formatted in a different manner send me a message and I'll handle it.

%flyblock_display% : display the total number of flyblocks on the server
Returns 0 if none exist

%flyblock_all%: displays basic info for all flyblocks of the player
Format used: x, y, z, worldName, durationInMinutes, range\n
may contain multible of these lines. for example:
10, 0, 20, World, 20, 10\n
15, 0, 20, World, 12, 20\n
Returns "" if none exist

%flyblock_locations% displays all flyblock locations of the player
Format: x, y, z, worldName\n
May contain multiple lines. for example:
10, 0, 20, World\n
15, 0, 20, World\n
Returns "" if none exist
Patch notes 2.11.0

If you enjoy the plugin a rating would be appreciated.

For any support, questions or suggestions feel free to contact me on discord.

----------, Aug 24, 2022
Resource Information
Author:
----------
Total Downloads: 6,450
First Release: Aug 15, 2017
Last Update: Jun 29, 2023
Category: ---------------
All-Time Rating:
21 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings