StonecutterDamage

Lightweight Minecraft plugin that adds a subtle survival mechanic by dealing damage to any entity standing on a stonecutter.

146

StonecutterDamage

<div align="center"> <img src="https://i.ibb.co.com/wNr5fqQM/image-1-1766809693683-min-2-min.jpg" alt="image-1-1766809693683-min" alt="banner" width="840"> </div> <br> <div align="center"> <p> <a href="https://www.youtube.com/@HxncusGaming"> <img src="https://i.ibb.co.com/PfyWZLg/youtubebutton-min.png" alt="youtubebutton-min" width="151" alt="youtubebutton"> </a> <a href="https://discord.gg/4keUrE3t"> <img src="https://i.ibb.co.com/Nh3fyk9/discordbutton-min.png" width="151" alt="discordbutton"> </a> <a href="https://donationalerts.com/r/Hxncus"> <img src="https://i.ibb.co.com/GQRHDcqK/donatebutton-min.png" width="216" alt="donatebutton"> </a> <a href="https://www.curseforge.com/members/hxncusika/projects"> <img src="https://i.ibb.co.com/cXNsJF6k/curseforgebutton-min.png" width="151" alt="curseforgebutton"> </a> <a href="https://modrinth.com/organization/mineson"> <img src="https://i.ibb.co.com/4LkmHbV/modrinthbutton-min.png" width="151" alt="modrinthbutton"> </a> </p> </div>

Overview

Stonecutter Damage adds a gameplay mechanic where players and living entities take damage when standing on a stonecutter block. The plugin efficiently tracks entities that step onto stonecutters and applies configurable damage at a fixed interval. The system is optimized to minimize unnecessary checks by only processing relevant worlds, entities, and block-position changes.

Features

- Configurable damage amount dealt by stonecutters - Supports players and all LivingEntity types - World whitelist support - Entity blacklist support (e.g. bats or other excluded mobs) - Optimized tracking using cached block positions - Configurable task delay and period - Enable or disable the plugin via config - Lightweight and safe for large servers

Spoiler

```yaml

Enable or disable Stonecutter damage handling

Default: true

enabled: true

Permission that allows players to ignore stonecutter damage

Default: stonecutter.bypass

permission: stonecutter.bypass

Amount of damage dealt per hit (in half-hearts)

1 = 0.5 heart

Default: 1.0

damage-amount: 1.0

Initial delay before the damage task starts (in ticks)

20 ticks = 1 second

Default: 20

task-delay: 20

Interval between damage checks (in ticks)

20 ticks = 1 second

Default: 20

task-period: 20

List of worlds where StonecutterDamage is active

Only entities/players in these worlds will be checked

Default: ["world", "world_nether", "world_the_end"]

allowed-worlds: - world - world_nether - world_the_end

List of entity types that are excluded from StonecutterDamage

Use Bukkit entity type names, e.g., ZOMBIE, CREEPER, ARMOR_STAND

Default: ["ARMOR_STAND", "ITEM_FRAME"]

blacklisted-entities: - ARMOR_STAND - ITEM_FRAME

Help command output

{0} replaces with the command label

/stonecutter help

help-messages: - "§7=== §aStonecutterDamage Commands §7===" - "§e/{0} help §8- §fShows this help message." - "§e/{0} reload §8- §fReloads the config."

Message shown after successful config reload

/stonecutter reload

reload-message: "§8[§aStonecutter§8] §fSuccessfully reloaded the config." ```

Permissions

stonecutter.bypass - Allows a player to stand on stonecutters without taking damage.

Commands

/stonecutter help - Displays all available commands. /stonecutter reload - Reloads the plugin configuration.

bStats

<div align="center"> <img src="https://bstats.org/signatures/bukkit/Stonecutter%20Damage.svg" width = "840" alt"bStats"> </div> <br>

<div align="center"> <p><b>You can also take a look to my other plugins</b></p> <p></p> <p> <a href="https://modrinth.com/plugin/sneakjump" rel="nofollow"> <img src="https://i.ibb.co.com/0yc9Cb7C/Untitled-1-min.png" width="64" height="64" alt="sneakjump"> </a> <a href="https://modrinth.com/plugin/stonecutterdamage" rel="nofollow"> <img src="https://i.ibb.co.com/pvBPrLTR/Untitled-min.png" width="64" height="64" alt="stonecutterdamage"> </a> </p> </div>

ADS