BlockBreakCommandPlugin
"It does what it says"
INFO
The plugin will trigger a customizable command when blocks are broken.
The list of blocks which are able to trigger the command when broken
can be customized aswell!
CONFIG
-------------------------------------------------------
# BlockBreakCommandPlugin v1.1
# by ItzMqxim 22.08.2024
# Join my minecraft servers discord: https://discord.gg/yexpPVRr9Q
# PLACEHOLDER: {player} placeholder for the player, who would have guessed xD
# PLACEHOLDER: {quantity} the amount of whatever you want to give, check below!
chanceToTrigger: 0.001 # The chance of triggering the command when a block is broken you can set it to whatever you want! ( 0 -> 100 )
Command: "give {player} diamond {quantity}" # The command which is triggered. {Quantity} is a placeholder for the amount ur giving, change it below!
Quantity: 1 # The amount of whatever your giving, throwback to above.
messageToPlayer: "You have found a diamond!" # The message sent to the player
broadcastMessage: "Player {player} has found a diamond while mining!" # The message everyone will see ( its just /broadcast lol )
requiredPermission: "blockbreakcommand.trigger" # The permission to trigger the command, you may set it to whatever you want!
cooldownPeriod: 60 # The cooldown to trigger the command ( in seconds )
Blocks: # The blocks that can be broken to trigger the command, example: 'GLOWSTONE' 'OBSIDIAN' and so on...
- "POINTED_DRIPSTONE"
- "COBBLESTONE"
- "STONE"
- "GLOW_LICHEN"
# That's all for now enjoy the plugin and have a good day
-------------------------------------------------------
lmk if yall like this plugin
im fairly new to making plugins so it would be cool to
hear if its good or not