1 Short description
With this plugin, you can configure your own killmessages, which are sent to the chat when someone kill three players in a row for example.
2 Configurationoverview
JavaScript: configs/plugins/killmessages.json
{
"killmessages": {
"enabled": true,
"firstblood": true,
"firstbloodmessage": "^4<PLAYER_NAME> ^5got first blood with ^4<WEAPON>^5!",
"sequence": true,
"sequencemessages": {
"2": "### Double Kill ### ^2<PLAYER_NAME>^7",
"3": "### Multi Kill ### ^2<PLAYER_NAME>^7",
"4": "### Mega Kill ### ^2<PLAYER_NAME>^7",
"5": "### ULTRA Kill ### ^2<PLAYER_NAME>^7",
"6": "### MONSTER KILL ### ^2<PLAYER_NAME>^7",
"7": "### LUDICROUS KILL ### ^2<PLAYER_NAME>^7",
"8": "### !!! HOLY SHIT !!! ### ^2<PLAYER_NAME>^7"
},
"timelimit": 3,
"weapon": false,
"weaponmessages": {
"melee": "<PLAYER_NAME> stabbed <KILLED_NAME> to death!"
}
}
}
Alles anzeigen
3 Detailed configurationvariables
The configurationfile of the "killmessages" function is located in the configs/plugins directory and is named killmessages.json. An explanation of the variables follows:
| Variable | Allowed Values | Description |
| enabled | truefalse | You can (de)active the plugin with this variable. |
| firstblood | truefalse | You can (de)active the firstblood message with this variable. |
| firstbloodmessage | Text | This variable includes the firstblood message. |
| sequence | truefalse | You can (de)active the sequence message with this variable. |
| sequencemessages | This variable includes a list of messages. The key is the amount of kills which you need. The value is the message, which is sent when you reach the key. |
|
| timelimit | Amount | This variable defines the maximum gap between 2 kills to count as sequence. |
| weapon | truefalse | You can (de)active the weapon message with this variable. |
| weaponmessages | This variable includes a list of weapon messages. The key is the name/group of the weapon. The value is the message, which is sent when you reach the key. |
The following placeholders can be used in the firstbloodmessage, sequencemessages and the weaponmessages field:
| Placeholder | Description |
| <PLAYER_NAME> | Will be replaced with the name of the player. |
| <KILLS> | Will be replaced with the kills of the player. |
| <DEATHS> | Will be replaced with the deaths of the player. |
| <KILLED_NAME> | Will be reaplaced with the name of the killed player. |
| <WEAPON> | Will be replaced with the weapon of the player, that killed someone. |
Using color codes is possible.