This plugin runs a console or a system command when a player takes damage.
This plugin was designed for a bit of fun and is based off of Fundy's forge mod which shut down his computer when someone on the server took damage

This plugin can run system commands this means that it can open a script or program of your choice but by default is set to run console commands this can be changed in the config.yml file.
Config
############################################################
# #
# DamageCommand by BradTheGamer #
# #
# DamageCommand Performs a certain command on taking damage #
# Based on Fundy's Forge Mod: #
# #
###########################################################
#Usable Variables:
# %Player% - The player who took damage.
# %Prefix% - The Prefix of the plugin.
# %Damage% - How much damage the player took.
# %Event% - The Type of Damage taken.
# %Time% - The timestamp of when the damage was taken.
# %Enabled% - Shows if the Damage Events are Enabled.
# %Type% - Shows Which command type will be executed.
# %Command% - The command which will be ran on Damage.
#COMMAND TYPES:
#SERVER - Runs The command on The Minecraft Server
#SYSTEM - Runs The command on the machine hosting the server
TYPE: SERVER
#Command To Run on Server/System
Command: say %Player% Has taken %Damage% amount of damage at %Time% by %Event%.
#Enable/Disable Plugin
Enabled: true
#Join Message (Set To NONE To Disable.)
JoinMessage: This Server Uses DeathCommands By BradTheGamer.
#Permission Nodes:
#DamageCommand.toggle - Allows A User to turn the plugin on/off
Servers using this plugin:
play.vexation.xyz
If you like my plugins then maybe you'd like to donate to me as that would be extremely helpful to me because it motivates me to work on my projects and means i can work less.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta