RoyaleProtectionBlocks [1.13+]

VIP Plugins RoyaleProtectionBlocks [1.13+] 1.15.2 Alpha Fix

Pro Download
Additions
  • Added checking to prevent players from getting teleported into protections where the home location is not safe. This will check for the first three blocks in order to find any solid block where the player has a chance to stand on. It'll also check if the location is filled with solid blocks which may lead to the sufocation of the player.
  • Added command /pb transfer which allows players to transfer they protections to other players. This should work together with the permissions of the players, for this reason it requires them from being online to check if they can keep the amount of protections that are being transfered to them.
  • Added command /pb sell and /pb buy to allow players to put protections for sale and to purchase them.

Fixes
  • Fixed issue with protection blocks, where people was able to hide them by breaking them without being members. This does not cause the removal of the protections, only hide the block.
  • Fixed issue with block management inventory, not using the proper item on the price slot if the price was specified, not allowing the player to see the configured price.

Changes
  • Moved command /pb buy to /pb store, which allows to purchase protection blocks. In the future, this will allow players to choose between blocks and protections.

    ⚠️ The /pb buy command on the Commands.yml file will be transferred to its new location, but the name and aliases will reset to prevent conflicts with the new command just in case. Make sure to modify the command in case you have translated commands.
Fixes
  • Fixed issue with blocks duplication, where, on laggy servers or with lot of protections, protections were able to be deleted twice.
  • Fixed issue with blocks duplication (vanilla items), where fast tools were able to duplicate blocks using the small amount of time where the block was visible again.
  • Fixed issue with guard system, where the values in the guard system weren't loaded, leaving the protection unguarded. Values for the guard system on specific protections may have been resetted due this issue. If you've used the guard system, check protections that were guarded to see if they are still guarded or not.
  • Fixed issue where players were able to place protections over other protections due missing checkings after the API implementation.
  • Fixed issue on players' search list inventory, where staff in vanish were shown on the inventory. Now they aren't shown based on if the player can or not see, value returned by the internal API from Spigot.
Additions
  • Added compatibility for player placeholders on inventory_protections_manage.yml, which will show the information of the user looking through the inventory.
  • Now it's possible to leave single-line lore fragments from inventory_protectionblocks_list.yml empty, the plugin will ignore this lines.
Fixes
  • ⚠️ Fixed issue with loverpa checkings, which was by default disabled due API changes, leading to protections being over other protections or WorldGuard regions.
  • Fixed issue with items lore on inventory_protectionblocks_shop.yml inventory, showing the same lore twice if the block had an empty lore.
  • Now showing the actual command path of the /pb setspawn command in the startup message which tells you that there's no spawn defined on the plugin.
Fixes
  • Fixed issues with ProtectionStones import system, which caused issues while trying to import a lot of protections. Now it's made to asynchronously (on most part) import the protections to prevent crashes. This process takes time to ensure that it's being properly done.
  • Fixed issue with merged protections, which had a chance to generate a loop between protections which gave issues on the plugin.
  • Fixed issue with merged protections, where child protections weren't properly initialized, and were shown on inventories like on `/pb list` and `/pb merge`.
Included new menu to merge a protection to a parent or split childs from a protection through the management inventory. This new button is included as a slime block. [NEW]
Included new changes for inventories, trying to make item building an async task to reduce the required time to prepare inventories. [NEW]
Added internal placeholders to be available on inventory_protections_list. [NEW]
Added internal placeholders to be available on /pb info. [NEW]
Included new internal placeholders for players: {player_current}, {player_max}. [NEW]
Included new internal placeholders for protections: {protection_owner_last_played}, [/B]{protection_expires_in}[/B]. [NEW]
Added new command /pb admin lastlogin [protection id], which allows to see the last time the owner of a protection was online. [NEW]
Fixed issue with message library, which wasn't processing properly multiple placeholders with the same pattern, causing errors on the plugin.
Fixed issue with protection blocks and protections items, using a default stone item besides the original one, if the original one couldn't be loaded (Commonly, due version downgrade). This allows you to keep the plugin on-line, and to manage the protection blocks and reset their items to set the ones which work on this version.
Fixed issue with title and subtitle option, not managing properly the last message sent, throwing an error in console and not sending the titles.
Fixed issue with player heads, causing errors on the plugin due changes on 1.21.1.
Fixed issue with recipes, where, depending on the shape, weren't being processed properly, and was causing issues loading and unloading recipes. Now recipes will have a square shape based on the minimum amount of slots used to make the recipe, meaning that now items can be placed anywhere on the crafting table meanwhile has the same shape as the recipe specified on the protection block.
Added change which allows to add max capacity increments and decrements, by adding the max permission using '+' or '-' on the number. This change allows the following format on all the permissions which allows to define a max amount: [NEW]
- protectionblocks.max.5 (Legacy permission)
- protectionblocks.max.+1 (Add permission)
- protectionblocks.max.-2 (Subtract permission)
- protectionblocks.max.+1#rank1 (Add permission with identifier, used to make multiple +1 meanwhile their identifiers are different)
- protectionblocks.block1.max.+1 (Works in other limit permissions)
Included changes to prevent the exit/enter message from being displayed if it's the same as the last message.
Made changes to move the commands section to Commands.yml. [NEW]
Made changes to move the permissions section to Permissions.yml. [NEW]

⚠️ SQL changes are made in this version. Rollback is not a thing if you don't make a backup of the database. Make sure to check first with a copy if the plugin updates properly.

Made changes to prevent async issues due searching the current protections on a location.
Fixed issue with merge message, which was showing up due treating the same protection as a diferent protection, showing everytime a protection was created.
Fixed issue with fly bypass, not being used to ignore the checkings when a player had this permission.
Fixed issue with WorldGuard regions, having one more block extended in two sides of the protection. The fix of this issue is applied automatically with the last version.

⚠️ This will reduce one block from two sides of every protection, leaving people with less area than before. Make sure to inform the users that their protections may get shrinked a little bit.
Tested on: 1.20.6, 1.21

Added new inventory which allows to decide which protection to use while doing an action. This inventory is currently used on /pb, /pb merge and /pb split. [NEW]
Added new setting which allows to define the format of the default display name once a protection is created. [NEW]
Added new merge system, which allows to merge protections into other protections. A permission is set by default to prevent from being used by common players from the start. [NEW]
Added setting Settings.Protection.Allow-multi-thread-searching, which allows the plugin to make multi-thread searches which helps searching the player current protections faster. This is an option which only people with more than one core may use to take advantage of it.
Made changes to cache the location of the protections on a simple object which will use less memory and will help the plugin detect the current protections of a player faster.
Made changes to include a new cache system on players to save the nearby protections, which is refreshed everytime the player exits this area. This checking is only intended to improve the movement checking.
Fixed issues with /pb files import blocks, which wasn't updating the material of an item as it wasn't considering the new implementation which allows to switch the material of a protection block. Also some improvements have been made.
Fixed issue with internal placeholders which weren't being updated.
Fixed issues which happens due asynchronous managements on protections, causing errors in console on protection creation or removals. Harmless, but left errors in console, low chance.

⚠ SQL changes are made in this version. Rollback is not a thing if you don't make a backup of the database. Make sure to check first with a copy if the plugin updates properly.
Added PlaceholderAPI on inventory customization library, allowing to use placeholders from PlaceholderAPI in the commands specified on Commands and Console-commands. [NEW]
Added new setting Settings.Protection.Maximum-display-name-length, which allows to define the maximum length for the new specified display names. This can be set on a range from 0 to 255 characters. The length checking includes the colors on the specified text. [NEW]
Added /pb priority <priority> [region ID] command which allows to modify the WorldGuard region priority. This includes a chat menu to specify which region to affect if there are múltiple protections on the same spot. [NEW]
Added new permissions protectionblocks.priority.max.<amount> and protectionblocks.priority.max.bypass used to define the max number people can use for priority. If there's no permission defined, it'll not block their input, meaning they'll be able to use any positive amount. [NEW]
Fixed issue with /pb kick command, which was using the player executing the command instead of the kicked player to check if he had the bypass or not.
Fixed issue with some color formats on the display name of the protection blocks.
Fixed issues with /pb admin transfer which wasn't transferring the information from ProtectionStones properly.
Blocked sticky piston interactions, which prevents them from moving the protection block.
Fixed issue with flags, not being on the same order as on the config.
Added new command /pb admin view which allows to see the boundaries of the protections in real time, including other players' protections. The behavior of the boundaries is intended to be used also by the players, replacing the /pb view command behavior, in future updates. [NEW]
Added new per-item settings Commands and Console-commands for the inventory configurations to execute commands after clicking the item. [NEW]
Fixing issue with overlap checking, which wasn't managing properly the setting Settings.Protection.Allow-regions-inside-another-from-same-owner.
Fixed issue with protections not allowing to rename protections.
Made new changes to optimize some consumptions.
Back
Top Bottom