ModsJava
DeathCommands
Java mod listed for Minecraft 1.13. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
DeathCommands
Run commands when a player dies.
Introduction
Run commands when a player dies.
DeathCommands is a very simple, easy to customize plugin.
It will execute commands for you when a player dies.
Permissions
DeathCommands has the following permissions: (both are non-default)
- deathcommands.bypass - The death commands will not be executed if you die.
- deathcommands.reload - The ability to use the /dcreload command.
The configuration can be reloaded using the /dcreload command.
Spoiler: Default Configuration
Code (YAML):
#
# Commands that are executed on death, by the console.
#
# Available Placeholders:
# %player% | Playername
# %death_x% | X coordinate the player died at.
# %death_y% | Y coordinate the player died at.
# %death_z% | Z coordinate the player died at.
#
# Don't forget to customize these commands, these are just examples!
#
deathcommands :
- 'say %player% died and will be banned for 1 day!'
- 'tempban %player% 1d You died at: X %death_x%, Y %death_y%, Z %death_z%.'
# No Permissions on reload message
noReloadPermsMessage : '&cYou don''t have enough permissions to execute this command.'
# Reload succeeded message.
reloadedMessage : '&aReloaded!'
# Commands that are executed on death, by the console.
#
# Available Placeholders:
# %player% | Playername
# %death_x% | X coordinate the player died at.
# %death_y% | Y coordinate the player died at.
# %death_z% | Z coordinate the player died at.
#
# Don't forget to customize these commands, these are just examples!
#
deathcommands :
- 'say %player% died and will be banned for 1 day!'
- 'tempban %player% 1d You died at: X %death_x%, Y %death_y%, Z %death_z%.'
# No Permissions on reload message
noReloadPermsMessage : '&cYou don''t have enough permissions to execute this command.'
# Reload succeeded message.
reloadedMessage : '&aReloaded!'
Spoiler: Example Config - Lightning strike on death
Code (YAML):
#
# Commands that are executed on death, by the console.
#
# Available Placeholders:
# %player% | Playername
# %death_x% | X coordinate the player died at.
# %death_y% | Y coordinate the player died at.
# %death_z% | Z coordinate the player died at.
#
# Don't forget to customize these commands!
#
deathcommands :
- 'summon lightning_bolt %death_x% %death_y% %death_z%'
# No Permissions on reload message
noReloadPermsMessage : '&cYou don''t have enough permissions to execute this command.'
# Reload succeeded message.
reloadedMessage : '&aReloaded!'
# Commands that are executed on death, by the console.
#
# Available Placeholders:
# %player% | Playername
# %death_x% | X coordinate the player died at.
# %death_y% | Y coordinate the player died at.
# %death_z% | Z coordinate the player died at.
#
# Don't forget to customize these commands!
#
deathcommands :
- 'summon lightning_bolt %death_x% %death_y% %death_z%'
# No Permissions on reload message
noReloadPermsMessage : '&cYou don''t have enough permissions to execute this command.'
# Reload succeeded message.
reloadedMessage : '&aReloaded!'
This plugin is using bStats to send anonymous data. Please do not disable it, it keeps developers motivated!
The review section is NOT the place to report bugs or to request features. Please take both to the GitHub issue tracker.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.13
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
DeathCommands is a free Minecraft Java mod. Compatible with Minecraft 1.13. Downloaded 220 times (via Spigot). Download it and open it directly in the game.