Command on Death
PluginMPL-2.0

Command on Death

Run commands on death.

261
Downloads
6
Followers
2 years ago
Updated
📦
1
Versions

📖About Command on Death

Config:

# Commands on Death
# Made by NIN1275 --> youtube.com/@nin1275

# commands to run on the player on death
# DON'T PUT "/"
# Placeholders: [killed] shows the killed players name, [killer] shows the person who killed the player name, [noCommand] will not send the command.
commands-to-run:
  killed:
    command: 'tellraw [killed] ["",{"text":"You died to ","color":"red"},{"text":"[killer]","color":"gold"}]'
    # if console is set to false then the command will be sent as the player which means they will need the permmision for that command
    console: false
  killer:
    command: 'tellraw [killer] ["",{"text":"You killed ","color":"green"},{"text":"[killed]","color":"red"}]'
    # if console is set to true then the command will be sent as console
    console: true

Check out nessentials!