Skip to content

Instantly share code, notes, and snippets.

@drtshock
Created October 28, 2014 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drtshock/4bd4be4015c203004936 to your computer and use it in GitHub Desktop.
Save drtshock/4bd4be4015c203004936 to your computer and use it in GitHub Desktop.
# Make any solid material withstand blasts from settable damage amounts and types
# Materials that are not normally destructible, can be.
# List of Materials to apply a durability amount to
HandledMaterials:
# The name of Material that will have a durability applied
STONE:
# Individual blast radius for each material.
# Works best if less than or equal to 'Radius' from config.yml (Experiment with it)
# Defaults to 'Radius' from config.yml if line below is not present.
BlastRadius: 3
# Material explosion resistance settings
Durability:
# The amount of explosions that this material will take before it is destroyed
Amount: 2
# Is this material enabled?
Enabled: false
# The chance to drop when Amount reaches zero.
# Setting to anything at or above 1 will make them always drop.
ChanceToDrop: 0.9
# Whether the durability for this material will reset after some time
ResetEnabled: true
# The time it takes for this material to fully reset or regenerate
# Time is in milliseconds
ResetAfter: 900000
# The chance that a fluid will absorb the explosion to the material
# Only used if fluid explosion override enabled
FluidDamper: 0.01
# Explosion types you want us to handle.
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
# The amount of damage each explosion type will do
# Only used if 'EnabledFor' above is true
# You'll have to add this below each material if you want to use it. Otherwise they all default to 1.
Damage:
TNT: 1
Creepers: 1
ChargedCreepers: 1
Ghasts: 1
Cannons: 1
Withers: 1
Minecarts: 1
# OBSIDIAN - Default enabled with 13 durability
OBSIDIAN:
BlastRadius: 2
Durability:
Amount: 13
FluidDamper: 0.07
Enabled: true
ChanceToDrop: 0.6
ResetEnabled: true
ResetAfter: 600000
EnabledFor:
TNT: true
Creepers: false
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
ENCHANTMENT_TABLE:
BlastRadius: 3
Durability:
Amount: 6
Enabled: true
ChanceToDrop: 0.6
ResetEnabled: true
ResetAfter: 600000
EnabledFor:
TNT: true
Creepers: false
Ghasts: false
Cannons: false
Withers: false
Minecarts: false
ENDER_CHEST:
BlastRadius: 3
Durability:
Amount: 4
Enabled: true
ChanceToDrop: 0.6
ResetEnabled: true
ResetAfter: 900000
EnabledFor:
TNT: true
Creepers: false
Ghasts: false
Cannons: false
Withers: false
Minecarts: false
ANVIL:
BlastRadius: 3
Durability:
Amount: 3
Enabled: true
ChanceToDrop: 0.6
ResetEnabled: true
ResetAfter: 900000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: false
Withers: false
Minecarts: false
PORTAL:
BlastRadius: 3
Durability:
Amount: 20
Enabled: true
ChanceToDrop: 0.0
ResetEnabled: true
ResetAfter: 600000
EnabledFor:
TNT: true
Creepers: false
Ghasts: true
Cannons: false
Withers: false
Minecarts: false
ENDER_PORTAL_FRAME:
BlastRadius: 3
Durability:
Amount: 20
Enabled: true
ChanceToDrop: 0.0
ResetEnabled: true
ResetAfter: 600000
EnabledFor:
TNT: true
Creepers: false
Ghasts: false
Cannons: false
Withers: false
Minecarts: false
ENDER_PORTAL:
BlastRadius: 3
Durability:
Amount: 20
Enabled: true
ChanceToDrop: 0.0
ResetEnabled: true
ResetAfter: 600000
EnabledFor:
TNT: true
Creepers: false
Ghasts: false
Cannons: false
Withers: false
Minecarts: false
BEDROCK:
BlastRadius: 2
Durability:
Amount: 100
Enabled: false
ChanceToDrop: 0.0
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: false
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
# MOAR MATERIALS!! set 'Enabled: true', to activate...
COBBLESTONE:
BlastRadius: 3
Durability:
Amount: 2
Enabled: false
ChanceToDrop: 0.8
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
MOSSY_COBBLESTONE:
BlastRadius: 2
Durability:
Amount: 3
Enabled: false
ChanceToDrop: 0.5
ResetEnabled: true
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
SMOOTH_BRICK:
BlastRadius: 3
Durability:
Amount: 4
Enabled: false
ChanceToDrop: 0.7
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
SMOOTH_STAIRS:
BlastRadius: 3
Durability:
Amount: 4
Enabled: false
ChanceToDrop: 0.7
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
NETHER_BRICK:
BlastRadius: 3
Durability:
Amount: 3
Enabled: false
ChanceToDrop: 0.7
ResetEnabled: true
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: false
Withers: true
Minecarts: true
NETHER_BRICK_STAIRS:
BlastRadius: 3
Durability:
Amount: 3
Enabled: false
ChanceToDrop: 0.7
ResetEnabled: true
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: false
Withers: true
Minecarts: true
SANDSTONE:
BlastRadius: 3
Durability:
Amount: 2
Enabled: false
ChanceToDrop: 0.64
ResetEnabled: true
ResetAfter: 3600000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
EMERALD_BLOCK:
BlastRadius: 3
Durability:
Amount: 6
Enabled: false
ChanceToDrop: 0.54
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
DIAMOND_BLOCK:
BlastRadius: 3
Durability:
Amount: 5
Enabled: false
ChanceToDrop: 0.54
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
GOLD_BLOCK:
BlastRadius: 3
Durability:
Amount: 3
Enabled: false
ChanceToDrop: 0.6
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
IRON_BLOCK:
BlastRadius: 3
Durability:
Amount: 4
Enabled: false
ChanceToDrop: 0.64
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
LAPIS_BLOCK:
BlastRadius: 3
Durability:
Amount: 4
Enabled: false
ChanceToDrop: 0.62
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
REDSTONE_BLOCK:
BlastRadius: 3
Durability:
Amount: 5
Enabled: false
ChanceToDrop: 0.7
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
QUARTZ_BLOCK:
BlastRadius: 3
Durability:
Amount: 5
Enabled: false
ChanceToDrop: 0.58
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
QUARTZ_STAIRS:
BlastRadius: 3
Durability:
Amount: 5
Enabled: false
ChanceToDrop: 0.6
ResetEnabled: true
ResetAfter: 1800000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
CHEST:
BlastRadius: 3
Durability:
Amount: 3
Enabled: false
ChanceToDrop: 0.8
ResetEnabled: true
ResetAfter: 1000000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
FURNACE:
BlastRadius: 3
Durability:
Amount: 2
Enabled: false
ChanceToDrop: 0.7
ResetEnabled: true
ResetAfter: 1000000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
BURNING_FURNACE:
BlastRadius: 3
Durability:
Amount: 2
Enabled: false
ChanceToDrop: 0.7
ResetEnabled: true
ResetAfter: 1000000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: false
Minecarts: false
GLOWSTONE:
BlastRadius: 4
Durability:
Amount: 2
Enabled: false
ChanceToDrop: 0.3
ResetEnabled: true
ResetAfter: 600000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: false
REDSTONE_LAMP_OFF:
BlastRadius: 3
Durability:
Amount: 3
Enabled: false
ChanceToDrop: 0.3
ResetEnabled: true
ResetAfter: 900000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: true
Minecarts: false
REDSTONE_LAMP_ON:
BlastRadius: 3
Durability:
Amount: 3
Enabled: false
ChanceToDrop: 0.3
ResetEnabled: true
ResetAfter: 900000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: true
Minecarts: false
DIRT:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.28
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: false
Minecarts: false
GRASS:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.22
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: false
Minecarts: false
SAND:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.23
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
GLASS:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.10
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
GRAVEL:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.20
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
WATER:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.0
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
STATIONARY_WATER:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.0
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: true
Cannons: true
Withers: true
Minecarts: true
LAVA:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.0
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: true
Minecarts: true
STATIONARY_LAVA:
BlastRadius: 4
Durability:
Amount: 1
Enabled: false
ChanceToDrop: 0.0
ResetEnabled: false
ResetAfter: 300000
EnabledFor:
TNT: true
Creepers: true
Ghasts: false
Cannons: true
Withers: true
Minecarts: true
# You can keep on adding more...
# Copy paste one from above. Just make sure the material name exists.
# Get material names from http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html
# Make sure they are all caps and include the underscores.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment