/abilityprotection
Permission Level: 3
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!
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 protectionsentity_damage
, allows entities to be damaged within protectionblock_restoration
, allows blocks to be restored after being exploded or replaced, mined blocks will not get restoredabilities_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. Capped at 500restoration_interval
, interval, in ticks, between each restoration. Capped at 60s
- /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
- Block state 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.
- Test using multiple values for
restoration_amount
andrestoration_interval
to see what fits your needs, if the server is small enough a large amount of blocks restored quickly might be more ideal than the default values for example.