-
Notifications
You must be signed in to change notification settings - Fork 0
Triggers
Triggers decide what kind of block changes AreaRegen should restore.
Each area can have different triggers. This lets you make one area regenerate from explosions while another area regenerates from mining.
| Trigger | What It Does |
|---|---|
EXPLOSION |
Restores blocks damaged by explosions. |
MINING |
Restores blocks broken by players. |
BLOCK_PLACE |
Restores the block that existed before a player placed a new block. |
FIRE |
Restores blocks affected by fire events. |
ENTITY_GRIEF |
Restores supported entity-caused block changes. |
ALL |
Enables all supported triggers. |
Use EXPLOSION for:
- TNT arenas
- cannon testing areas
- PvP maps
- protected builds
Example:
/arearegen triggers arena1 add EXPLOSION
Use MINING for:
- prison mines
- resource areas
- event mines
- regenerating caves or ore zones
Example:
/arearegen triggers mine1 add MINING
Use BLOCK_PLACE when player-placed blocks should be temporary.
Example uses:
- minigame maps
- event zones
- grief cleanup areas
Use FIRE when fire damage should not permanently destroy an area.
This is useful for protected builds, arenas, or maps where fire is part of gameplay but should not leave permanent damage.
Use ENTITY_GRIEF for supported entity block changes.
Server behavior may vary depending on Minecraft version and server type.
Only enable the triggers an area needs. Avoid using ALL unless you really want every supported change type to regenerate.