Block Damage
Block Damage is used for Explosion and in WeaponMechanicsCosmetics.
Drop_Broken_Block_Change
The chance to drop the broken block as an item for players to pick up. Defaults to 0%
.
Damage_Per_Hit
The amount of damage points to deal to the block. Defaults to 1
.
Default_Block_Durability
Defines how many hits it takes to break blocks. This can be overridden per block in Blocks.
Default_Mode
Defines how the block should show damage:
CANCEL
-> Don't apply any damage to the block.CRACK
-> Show block crack animation, but do not break the blocks.BREAK
-> Show block crack animation, and break block when fully damaged.
This can be overridden per block in Blocks.
Default_Mask
This can be overridden per block in Blocks.
If you want to replace blocks with data (for example, stairs), go into:
server -> plugins -> WeaponMechanics -> config.yml
And set:
Blocks
Defines the list of block overrides.
Format is:
<block to break> <CANCEL/CRACK/BREAK> <shots to break> <mask>
Examples:
BEDROCK CANCEL
-> Prevents bedrock from being broken.DIRT BREAK
-> Destroys dirt in 1 shot.OBSIDIAN CRACK 5
-> Shows the crack animation for obsidian, but doesn't break.GRAY_STAINED_GLASS BREAK 1 DIRT
-> Destroys gray glass in 1 shot and replaces it with dirt.$glass BREAK 2
breaks all glass block types in 2 shots.
Example
This is a standard example that the average server should use. This example will break all blocks (except for non-breakable blocks):
Last updated