π§ Temporal Block
You can define blocks to be used on declared regions and they will be restored or not to their original state after a certain amount of time.
Regionsβ
You can define regions for each world, declaring wether the list of regions is a WHITELIST
or a BLACKLIST
.
These regions do not allow NOT defined temporal blocks to be placed or removed.
Format:
Temporal Block settings.yml
regions:
- world: WORLD
mode: <WHITELIST|BLACKLIST>
regions: [REGION...]
Blocksβ
To define a temporal block you only need to use the block type name and the time in seconds.
Format:
settings.yml
blocks:
MATERIAL: NUMBER
Supported materials:
Restore old block when brokenβ
If enabled, the old block will be restored when the temporal block is broken, It is not recommended to disable it.
Check on mineβ
If enabled, it will check that non-temporal blocks are not placed within mine regions if those are contained within a declared temporal block region.
File exampleβ
settings.yml
temporal-block:
enabled: true
blocks:
GOLD_BLOCK: 10
DIRT: 5
regions:
- world: world
mode: WHITELIST
regions:
- pvpzone
restore-old-block-when-broken: true
check-on-mines: true