Home›Java›Mods›[Free and configurable] DeathCommands
[Free and configurable] DeathCommands
ModsJava

[Free and configurable] DeathCommands

Java mod listed for Minecraft 1.9–1.18. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
DeathCommands!
This plugin will allow you to run command when player die for specific cause!
[​IMG]
All death causes are suported!
Config is really easy to understand
You can do what do you want, anything that support console command can be set
This is first version, but there will be lot of updates!
You can use it like hidden rewards, death messages, achievement system or for penalty players for their deaths. How to use is your selection, do what do you want!

What will be in next updates
​
- Allow settings for every single command.. like there will be always command for give 1 diamond after respawn, but there is chance that player will receive xp too.
- Player will need specific permission to run command
- Player will run only in specific world
- command to add death commands from game

Default config​
Code (Text):

Plugin:
  prefix: "&0&l[&b&lDeathCommands&0&l]"
  Log_unset_causes: true
Causes:
 contact:  #contact with blocks like cactus
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% diamond 10"
  - "give %player% log 10"
  - "give %player% emerald 10"
  - "give %player% diamond_sword 1"
 cramming: #colliding with too many entities
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% diamond 10"
  - "give %player% log 10"
  - "give %player% emerald 10"
  - "give %player% diamond_sword 1"
 dragon_breath:
  execute_on: "death"
  random: false
  commands:
  - "broadcast Oops, player %player% was killed by Enderdragon!"
  - "eco take %player% 20"
 drowning:
  execute_on: "respawn"
  random: true
  commands:
  - "broadcast Player %player% was killed by shark!"
  - "broadcast Player %player% was swimming until tired"
 entity_explosion: #creeper explosion
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% TNT 1"
  - "msg %player% you died because creeper, but you were sooooooooo courageous so you received reward"
 entity_sweep_attack:
  execute_on: "respawn"
  random: false
  commands:
  - "give %player% diamond_sword 1"
 entity_attack:
  execute_on: "respawn"
  random: false
  commands:
  - "give %player% stone_sword 1"
 fall:
  execute_on: "respawn"
  random: false
  commands:
  - "msg %player% Oops, next time try to use elytra!"
  - "give %player% elytra 1"
 falling_block: #gravel, stone...
  execute_on: "death"
  random: false
  commands:
  - "broadcast %player% died in mine!"
 fire_tick: #ignition
  execute_on: "death"
  random: true
  commands:
  - "broadcast &a&l%player% was burned alive"
  - "broadcast &b&l%player% was ignited to death!"
 fire: #directly standing in fire or lava
  execute_on: "respawn"
  random: false
  commands:
  - "give %player% water_bucket 1"
  - "msg %player% &aNext time try to use this!"
 hot_floor: #magma block
  execute_on: "respawn"
  random: false
  commands:
  - "give %player% diamond 10"
  - "broadcast %player% &k..... &b&lJust got 10 diamonds as achievement! &k..."
 lightning:
  execute_on: "respawn"
  random: false
  commands:
  - "give %player% diamond 10"
  - "give %player% log 10"
  - "give %player% emerald 10"
  - "give %player% diamond_sword 1"
  - "broadcast %player% just got item set as achievement!"
 magic:
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% enchanted_golden_apple 2"
  - "tempban %player% 10 minutes oops, you were unlucky!"
 poison:
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% 466 1"
  - "give %player% 322 5"
  - "give %player% 466 2"
  - "kill %player%"
  - "tempban %player% 10 minutes oops, you were unlucky!"
 projectile: #arrow
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% bow 1"
 starvation:
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% bread 10"
  - "effect give %player% hunger 30 2"
 suicide: #when player use /kill
  execute_on: "death"
  random: true
  commands:
  - "ban %player% You just used /kill command!"
 fall:
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% diamond 10"
  - "give %player% log 10"
  - "give %player% emerald 10"
  - "give %player% diamond_sword 1"
 suffocation: #suffocation in wall, for example in sand/gravel
  execute_on: "respawn"
  random: true
  commands:
  - "experience add %player% 500"
  - "experience add %player% 200"
  - "experience add %player% 50"
 thorns: #killed by enchant thorns
  execute_on: "respawn"
  random: true
  commands:
  - "experience add %player% 500"
  - "experience add %player% 200"
  - "experience add %player% 50"
 void:
  execute_on: "respawn"
  random: true
  commands:
  - "give %player% diamond 10"
  - "give %player% log 10"
  - "give %player% emerald 10"
  - "give %player% diamond_sword 1"
 wither:
  execute_on: "death"
  random: true
  commands:
  - "broadcast %player% tried to fight with wither, but failed!"
  - "broadcast %player% Clap for %player%'s try to kill wither!!"
 

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.

[Free and configurable] DeathCommands is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 515 times (via Spigot). Download it and open it directly in the game.

Explore more