HomeJavaModsDamageCommands
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.

Spoiler: 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.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

DamageCommands is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 263 times (via Spigot). Download it and open it directly in the game.

Explore more