/abilityprotection

Permission Level: 3

Info

Abilities can be whitelisted from these areas using the "Protection Whitelist" config field, if an ability is whitelisted it will bypass any properties an area might have, meaning a whitelisted ability can damage the ground and other entities within an area even if that area's properties do not allow for it!

Warning

The entire world restoration part is extremely new and untested properly on medium-large servers, use with care as restoring too many blocks too fast in multiple parts of the world or in multiple dimensions might result in big lag spikes. This warning will get removed once more testing is done and the system matures.

Command Usage

  • /abilityprotection new <size>
    • Creates a new protection of selected size at the sender's position
  • /abilityprotection props <props> <id> <value>
    • Changes one of the properties of the given protection
    • The following properties exist, each protection has its own properties that can be changed separately from others
      • block_destruction, allows the destruction of blocks within protections
      • entity_damage, allows entities to be damaged within protection
      • block_restoration, allows blocks to be restored after being exploded or replaced, mined blocks will not get restored
      • abilities_use, allows the usage of abilities, this extends to projectiles of said abilities being allowed, it does not however extend to the functionality of said abilities or their projectiles, the block_destruction or entity_damage properties will still have to be enabled if you wish the abilities being used to have any damage or effect on the world.
      • restoration_amount, amount of blocks to be restored every interval
      • restoration_interval, interval between each restoration
      • keep_stats, allows players to keep both stats (doriki, bounty, belly etc) as well as inventory items and minecraft experience on death when inside a protection, does not affect their spawn point
  • /abilityprotection list
    • Lists all the protection areas with their id and positions
    • Entries can be clicked in order to teleport to their positions
  • /abilityprotection info <id>
    • Lists all the properties of a give protection
  • /abilityprotection resize <id> <size>
    • Resized the given protection area with the new given size
  • /abilityprotection remove <id>
    • Removes the protection area with the selected id
  • /abilityprotection view <true/false>
    • Generates a wall similar to the world border of vanilla surrounding the area being protected
    • If the area's Y value is bigger than 256 the top and bottom won't render

More Info

  • NBT data is preserved however inventories are not! If a lamp gets destroyed while powered, it will be restored in its powered state (together with the redstone powering it), however if a chest gets destroyed all of its contents will drop as normal, these items CAN get stuck inside the restored chunks depending on how the ground looks.
Last change: 2023-10-29