Throwable Bricks
PluginLicenseRef-All-Rights-Reserved

Throwable Bricks

This plugin that I made over a few days adds the ability for you to throw bricks at glass, or even mobs, and people that might have beef with you ;D

40
Downloads
1
Followers
4 weeks ago
Updated
📦
2
Versions

📖About Throwable Bricks

This plugin that I made over a few days adds the ability for you to throw bricks at glass, or even mobs, and people that might have beef with you ;D

It automatically hooks into Lands and WorldGuard, allowing administrators and land owners to prevent people from messing their protected areas up with bricks.

WorldGuard stuff:

Check the bricks-can-break-glass flag on all relevant regions, by default as of now it is set to true, if not defined by the user.

Lands stuff:

Bricks don't break glass in a land claim, if the block-break flag is disabled in the relevant lands.

Config stuff:

Several values can be customised under ThrowableBricks/config.yml

damageFromBrick: Damage when an entity is hit by a brick.

powerDamageMultiplier: The damage multiplier to apply with the Power enchantment.

defaultPickupDelay: How long in ticks until the brick can be picked up again.

minTicksLived: How many ticks need to pass before the brick can hurt entities.

checkDistance: The distance to check for any available entities to damage.

cooldown: How long until a brick can the thrown again.

damageMultipleEntitiesAtOnce: If bricks should hit multiple entities at once.

allowEnchantmentsOnThrowableItem: If bricks can be enchanted with Power, or Punch.

throwMaterial: The item material to use for the brick, by default of course, it's BRICK.

throwSound: The sound to play when the brick is thrown.

smashSound: The sound to play when the brick shatters.

breakableMaterials: A list of materials that the brick will break if they're hit with it.

Demonstrated on my YouTube channel: