UPDATE v1.12.3
Kill streaks, bug fixes and more!
Changelogs:
- Added: Added killstreaks to the plugin. You can now create permission based kill streaks. If a player reaches a killstreak you can run commands, send title messages, broadcasts and more. Please look for more information into the config changes section.
- Removed: Bug where a NSM error was thrown when the plugin tried to apply AI to an entity in older mc versions.
- Added: Item in the /dc menu that shows that there is an update available.
- Added: Option to enable / disable to count pvp deaths only.
- Changed: Moved the run-commands punishment to the top.
Config changes:
Please add following lines into the config.yml:
Code (YAML):
Kill-Streaks
:
# Give your players gifts for reaching a killstreak
permissions
:
# The permission the player needs to have to reach this streak
# You can create as many kill-streaks as you want
# Dont use dots. '-' will be replaced with a dot
# So 'permission-one' is actually 'permission.one'
permission-one
:
# Amount of kills you need to have in a row
streak
: 5
# Actions that will be executed on reaching the streak
# [BROADCAST] <args> : Sends a broadcast
# [MSG] <args> : Sends a message to the player
# [TITLE] <args> : Sends a upper title message
# [SUBTITLE] <args> : Sends a subtitle
# [CMD] <args> : Executes a command as the console
cmds
:
-
"[BROADCAST] %player% has reached a killstreak of %streak%!"
-
"[TITLE] &6Killstreak!"
-
"[SUBTITLE] &e%streak% Kills!"
-
"[MSG] You got a diamond for reaching this streak!"
-
"[CMD] give %player% minecraft:diamond 1"