Random Death Messages

GoMinecraft

Member
Nov 23, 2019
8
0
0
Phoenix, AZ
gominecraft.com
Random Death Messages

This Denizen script makes it so you can have custom death messages when players, you know, die and stuff.

Download Link: https://gominecraft.com/files/RandomDeathMessages.zip

Requirements:
  • Denizen - Required for this to work at all, obviously.

Optional:

Install Instructions:
  1. Open the zip file
  2. Extract the contents to the plugins/ directory
It will make one new directory (plugins/RandomDeathMessages) and put RandomDeathMessages.dsc in plugins/Denizen/scripts

Commands:
/randomdeathmessages [version|reload] - Alias: /rdm

Configuration:
RandomDeathMessages requires no configuration out of the box.

If you wish to set your own language, please modify RandomDeathMessages/config.yml and copy the files from RandomDeathMessages/language/en_us/

You may add / edit the messages in plugins/RandomDeathMessages/language/[language]/*.yml

I'm always accepting pull reqs @ https://github.com/gominecraft/RandomDeathMessages

Can you translate the death messages to another language? That would be awesome! Send me a pull request!

Special thanks to
  • mcmonkey - for creating Denizen
  • Wahrheit, Xeane, Icecapade and Nexto for their (scripting) suggestions and various other forms of help
 

mcmonkey

Administrator
Staff member
GoMinecraft said:
Capture what a player was killed with in PvP, if possible

Absolutely possible, yes. You can even do the item hover thingy with the advanced formatty tags. (Though to do this, you have to block the message and announce your own, as the event itself doesn't support fancy-formatted messages).
 

GoMinecraft

Member
Nov 23, 2019
8
0
0
Phoenix, AZ
gominecraft.com
There is now a config.yml in plugins/RandomDeathMessages

Contains:

Code:
# Set your language.
# This maps to RandomDeathMessages/language/[language]/
language: en_us

# Generally best to leave this off.
enable_debug_messages: false
 

GoMinecraft

Member
Nov 23, 2019
8
0
0
Phoenix, AZ
gominecraft.com
Okay, lots of changes thanks to mcmonkey's criticism/review of this absolutely unmitigated disaster.

+ Fixed potential exploit
+ debug log is now: announce to_console
+ reload command ( /rdm reload )
+ version command (/rdm or /rdm version)
+ Now catches when killed by a pillager.