ModsJava
KillCommands
Minecraft Java mod. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotWARNING!! Updating from v0.1 to v1.0 and above is problematic (see Configuration)! Do not just replace the old jar! Make a backup before updating!
Description:
This plugin has a kill and a death counter based on permissions and executes console or player (killer or dead player) commands if a player reaches a specific amount of kills or deaths or on every kill or death.
Features:
Configuration:
Path: plugins/KillCommands/config.yml
Commands and Permissions:
There are no commands and you have to define the permissions by yourself in the config.yml (see Configuration).
Istallation:
Changelog:
v0.1
Extract the whole project from KillCommands.zip.
And now enjoy! Do what ever you want with this plugin.
Description:
This plugin has a kill and a death counter based on permissions and executes console or player (killer or dead player) commands if a player reaches a specific amount of kills or deaths or on every kill or death.
Features:
- Minecraft 1.15.2 (not tested for other versions)
- Multiple separate per player kill and death counters (stored in separate player files) (see Configuration)
- UUID support
- Configurable commands with settings when and how to execute them (see Configuration)
- Command arguments (<killer>, <dead>, <kills>, <deaths>) (see Configuration)
- Configurable command sender (console, killer, dead) (see Configuration)
- Configurable permissions (see Configuration)
Configuration:
Path: plugins/KillCommands/config.yml
Spoiler: config.yml for v0.1
WARNING!! You have to make some changes in your config.yml if you update from v0.1 to v1.0 or newer versions. Even the player stats are incompatible between v0.1 to v1.0 or newer versions. If you need help at updating please PM me.
Code (YAML):
# example config
#
# commands:
# always:
# - 'console: say <name> has <kills> kills'
# - 'killer: say I have <kills> kills'
# 10:
# - 'console: say <name> has now 10 kills'# You can also use <kills> instead of 10.
# - 'killer: say I have now 10 kills'
#
# commands:
# always:
# - 'console: say <name> has <kills> kills'
# - 'killer: say I have <kills> kills'
# 10:
# - 'console: say <name> has now 10 kills'# You can also use <kills> instead of 10.
# - 'killer: say I have now 10 kills'
Spoiler: config.yml for v1.0
v1.1 added the killer-recognition option to the configuration.
Code (YAML):
# This is an example configuration.
#
# permissions: # Specify all permissions here. Each permission has its own kill and death counter.
# - killcommands.category1 # Therefore you can use a plugin which allows permissions per world or region.
# - killcommands.category2
# commands:
# - kill: true # If true, the command will be executed on kill.
# death: false # If true, the command will be executed on death.
# permission: killcommands.category1 # Specifies which kill or death counter should be used to lookup data. The command will only be executed if the killer or the dead player has this permission.
# kills: always # The command is only executed if this number equals the number of kills of the killer or the dead player.
# deaths: always # The command is only executed if this number equals the number of deaths of the killer or the dead player.
# killer: true # On death: If true, there must be a killer to execute the command, if false, there must not be a killer, otherwise, or if this line does not exist, the command is executed anyway.
# command: 'say <killer> has killed <dead>. Kills: <kills>, deaths: <deaths>' # The command to be executed.
# executor: console # The command executor. Valid options are console, killer and dead.
# - kill: false
# death: true
# permission: killcommands.category1
# kills: always
# deaths: 1
# command: 'me I was killed for the first time. Kills: <kills>, deaths: 1'
# executor: dead
permissions :
- killcommands.category1
- killcommands.category2
commands:
- kill : true
death : false
permission : killcommands.category1
kills : always
deaths : always
killer : true
command : 'say <killer> has killed <dead>. Kills : <kills>, deaths : <deaths>'
executor : console
- kill : false
death : true
permission : killcommands.category1
kills : always
deaths : 1
command : 'me I was killed for the first time. Kills : <kills>, deaths : 1'
executor : dead
#
# permissions: # Specify all permissions here. Each permission has its own kill and death counter.
# - killcommands.category1 # Therefore you can use a plugin which allows permissions per world or region.
# - killcommands.category2
# commands:
# - kill: true # If true, the command will be executed on kill.
# death: false # If true, the command will be executed on death.
# permission: killcommands.category1 # Specifies which kill or death counter should be used to lookup data. The command will only be executed if the killer or the dead player has this permission.
# kills: always # The command is only executed if this number equals the number of kills of the killer or the dead player.
# deaths: always # The command is only executed if this number equals the number of deaths of the killer or the dead player.
# killer: true # On death: If true, there must be a killer to execute the command, if false, there must not be a killer, otherwise, or if this line does not exist, the command is executed anyway.
# command: 'say <killer> has killed <dead>. Kills: <kills>, deaths: <deaths>' # The command to be executed.
# executor: console # The command executor. Valid options are console, killer and dead.
# - kill: false
# death: true
# permission: killcommands.category1
# kills: always
# deaths: 1
# command: 'me I was killed for the first time. Kills: <kills>, deaths: 1'
# executor: dead
permissions :
- killcommands.category1
- killcommands.category2
commands:
- kill : true
death : false
permission : killcommands.category1
kills : always
deaths : always
killer : true
command : 'say <killer> has killed <dead>. Kills : <kills>, deaths : <deaths>'
executor : console
- kill : false
death : true
permission : killcommands.category1
kills : always
deaths : 1
command : 'me I was killed for the first time. Kills : <kills>, deaths : 1'
executor : dead
Spoiler: config.yml for v1.1 and v1.2
Code (YAML):
# This is an example configuration.
#
# killer-recognition: minecraft # The algorithm used to recognize the killer. Valid options are minecraft and last-damager.
# permissions: # Specify all permissions here. Each permission has its own kill and death counter.
# - killcommands.category1 # Therefore you can use a plugin which allows permissions per world or region.
# - killcommands.category2
# commands:
# - kill: true # If true, the command will be executed on kill.
# death: false # If true, the command will be executed on death.
# permission: killcommands.category1 # Specifies which kill or death counter should be used to lookup data. The command will only be executed if the killer or the dead player has this permission.
# kills: always # The command is only executed if this number equals the number of kills of the killer or the dead player.
# deaths: always # The command is only executed if this number equals the number of deaths of the killer or the dead player.
# killer: true # On death: If true, there must be a killer to execute the command, if false, there must not be a killer, otherwise, or if this line does not exist, the command is executed anyway.
# command: 'say <killer> has killed <dead>. Kills: <kills>, deaths: <deaths>' # The command to be executed.
# executor: console # The command executor. Valid options are console, killer and dead.
# - kill: false
# death: true
# permission: killcommands.category1
# kills: always
# deaths: 1
# command: 'me I was killed for the first time. Kills: <kills>, deaths: 1'
# executor: dead
killer-recognition : minecraft
permissions :
- killcommands.category1
- killcommands.category2
commands:
- kill : true
death : false
permission : killcommands.category1
kills : always
deaths : always
killer : true
command : 'say <killer> has killed <dead>. Kills : <kills>, deaths : <deaths>'
executor : console
- kill : false
death : true
permission : killcommands.category1
kills : always
deaths : 1
command : 'me I was killed for the first time. Kills : <kills>, deaths : 1'
executor : dead
#
# killer-recognition: minecraft # The algorithm used to recognize the killer. Valid options are minecraft and last-damager.
# permissions: # Specify all permissions here. Each permission has its own kill and death counter.
# - killcommands.category1 # Therefore you can use a plugin which allows permissions per world or region.
# - killcommands.category2
# commands:
# - kill: true # If true, the command will be executed on kill.
# death: false # If true, the command will be executed on death.
# permission: killcommands.category1 # Specifies which kill or death counter should be used to lookup data. The command will only be executed if the killer or the dead player has this permission.
# kills: always # The command is only executed if this number equals the number of kills of the killer or the dead player.
# deaths: always # The command is only executed if this number equals the number of deaths of the killer or the dead player.
# killer: true # On death: If true, there must be a killer to execute the command, if false, there must not be a killer, otherwise, or if this line does not exist, the command is executed anyway.
# command: 'say <killer> has killed <dead>. Kills: <kills>, deaths: <deaths>' # The command to be executed.
# executor: console # The command executor. Valid options are console, killer and dead.
# - kill: false
# death: true
# permission: killcommands.category1
# kills: always
# deaths: 1
# command: 'me I was killed for the first time. Kills: <kills>, deaths: 1'
# executor: dead
killer-recognition : minecraft
permissions :
- killcommands.category1
- killcommands.category2
commands:
- kill : true
death : false
permission : killcommands.category1
kills : always
deaths : always
killer : true
command : 'say <killer> has killed <dead>. Kills : <kills>, deaths : <deaths>'
executor : console
- kill : false
death : true
permission : killcommands.category1
kills : always
deaths : 1
command : 'me I was killed for the first time. Kills : <kills>, deaths : 1'
executor : dead
Commands and Permissions:
There are no commands and you have to define the permissions by yourself in the config.yml (see Configuration).
Istallation:
- Download KillCommands.zip
- Extract KillCommands.jar
- Put KillCommands.jar in your plugins folder
- Restart or reload your server
Changelog:
v0.1
- Initial version (Minecraft 1.8)
- Updated to Minecraft 1.14.4
- Code cleanup
- Configuration improvement and changes
- Added death counter
- Added commands on death
- Added permission specific kill and death counters
- Added permission support to specific commands
- Added many options for the commands in the configuration
- Added many tags for the commands in the configuration
- Added an alternative killer-recognition algorithm
- Added the killer-recognition option to the configuration
- Updated to Minecraft 1.15.2
- Code cleanup
- Added api-version to plugin.yml
Extract the whole project from KillCommands.zip.
And now enjoy! Do what ever you want with this plugin.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
KillCommands is a free Minecraft Java mod. Downloaded 5,326 times (via Spigot). Download it and open it directly in the game.