Correct a bug on servers 1.9 + that don't remove tnt from your inventory with tht throw
Add a option to don't throw tnt when sneaking
Add a falling blocks limit (realistic explosion) per chunk to reduce lag
Just add this in your config.yml
Code (Text):
#If enable you can throw a tnt by right clicking with a tnt in your hand
Throw:
Enable: false
Velocity: 2.0
DisableOnSneak: true
#Delay in seconds
Delay: 2
#Max of falling blocks per chunk spawn in the realistic explosion
MaxFallingBlocksPerChunk: 1000
Just replace the RestoreBlocks section in your config.yml:
Code (Text):
#If enable blocks destroyed with the explosion will be restores
RestoreBlocks:
Enable: false
#Minimum delay before blocks restore. Delay is in ticks
MinDelay: 60
#Max delay for restore all blocks from the explosion
MaxDelay: 140
#Blocks in this list will not be restore
RestoreBlacklist:
- 'CHEST'
Added block Whitelist: if enable only block in the whitelist will be affect by the explosion
Little timer optimisation
Just add this in your config.yml:
Code (Text):
#If whitelist is enable, only blocks in the list will be affect by the explosion
#You can find here a list of all type:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
Whitelist:
Enable: false
BlockList:
- 'STONE'
Added block restore, you can enable it and configure delays in the config.yml
Block restore will not restore some block's data (like text on signs, players skull, ...)
With default explosions
With realistic explosions:
You just need to add this to your config.yml
Code (Text):
#If enable blocks destroyed with the explosion will be restores
RestoreBlocks:
Enable: false
#Minimum delay before blocks restore. Delay is in ticks
MinDelay: 30
#Max delay for restore all blocks from the explosion
MaxDelay: 100
#Create a realistic explosion ? 'DisableBreak' need to be false
#Blocks will not be break but will be project arround the explosion
RealisticExplosion: false