ModsJava
killCounter [Owner & Kills in item lore] Now with Placeholder API support!
[1.4.7, 1.5, 1.6, 1.7, 1.8] *PM me if you can help with page decoration. Ability to disable any of plugin messages. Ability to enable kill counter only…
⬇ Download on Spigot[1.4.7, 1.5, 1.6, 1.7, 1.8] https://www.spigotmc.org/resources/...der-api-support.52192/download?version=207884
*PM me if you can help with page decoration.
*PM me if you can help with page decoration.
- Ability to disable any of plugin messages.
- Ability to enable kill counter only for specific items.
- Actions based on conditions with specified chance.
- Changing the owner by killing him.
- Customizable lore.
- Item kills.
- Item owner.
- Messages configuration.
- Permission for each feature.
- Placeholder API support!
- Support for outdated versions.
- Updating position relative to item lore.
- Whitelist for items that can get kill counter.
Code (Text):
## Position relative to item lore: 'above' or 'under'.
position: above
## Which kills should be counted?
## Possible values: ALL, PLAYER_ONLY, MOB_ONLY.
mode: "PLAYER_ONLY"
## Should the owner change when the old owner is killed by the new one?
changeOwner: true
ownerDefault: "none"
## true - PAPI placeholders will be updated on every kill.
## false - Only on first kill.
update-placeholderapi: true
## true - Lore will be updated when player equips item.
update-on-equip: false
## Plugin will ignore items with this in item lore.
disable-killcounter: "&4Cursed Item"
## Item lore, supports PlaceholderAPI placeholders.
## Player XYZ are PAPI placeholders.
item-lore:
- "&4---------------------------"
- "&4Owner: &c%itemStats_owner%"
- "&4Kills: &c%itemStats_kills%"
- "&4Last kill: &cX %player_x%&4, &cY %player_y%&4, &cZ %player_z%"
- "&4---------------------------"
## Set useWhitelist to true if you wanna give kill counter to items that match material listed in whitelist.
## Material: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
useWhitelist: true
whitelist:
- BOW
- DIAMOND_SWORD
- GOLD_SWORD
- IRON_SWORD
- STONE_SWORD
- WOOD_SWORD
## Available Placeholders:
## {0} - name of the player who holds the item.
## {1} - name of the second player.
## Available Actions: ATTACK, KILL, OWNER_CHANGE;
## Available Conditions:
## Kills Conditions: less then "KILLS < 10", more then "KILLS > 10", range(inclusive) "KILLS 1 - 10";
## Target Conditions: OWNER, NON_OWNER;
## Placeholder API conditions: (less then "<", more then ">", equals "=", not equals "!=")
## Use: /papi parse %placeholder% - if you don't know what will be returned.
## DOUBLE: "DOUBLE(%player_health%) > DOUBLE(10.0)"
## STRING: "STRING(%player_name%) = STRING(En_0t_S)"
## Left - placeholder, right - value or another placeholder.
## Only "=" and "!=" operations available for STRING.
## Use STRING for boolean and DOUBLE for integer.
## PotionEffectType: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
## Chance: 0-100;
## Permission: Set "none" to disable.
actions:
actionExample:
action: "ATTACK"
conditions:
- "KILLS 1 - 10" ## Only if item kills: > 0 and < 11.
- "OWNER" ## Only if player that holds item, owns this item.
console_cmds:
- "heal {0}"
player_cmds:
- "msg {1} I was healed and now I'm glowing!)"
potions:
- "GLOWING, 300, 0" ## PotionEffectType, duration in ticks, amplifier;
chance: 100 ## Will fire at every attack.
messages:
- "&aYep, it works!" ## You can use color codes and placeholders: {0}, {1}.
permission: "killCounter.actionExample" ## Only if player that holds item has this permission.
actionExample2:
action: "KILL"
conditions:
- "NON_OWNER" ## Only if player that holds item, didn't owns it.
console_cmds: []
player_cmds: []
potions:
- "WEAKNESS, 600, 0"
- "HUNGER, 600, 0"
chance: 100 ## Will fire at every attack.
messages:
- "&cYou got these effects because you are not owner of item in your hand."
permission: "none"
papiExample:
action: "ATTACK"
conditions:
- "STRING(%player_hasitem-mat:TOTEM-amt:1%) = STRING(yes)" ## Only if holder has 1 totem.
- "STRING(%player_item_in_hand%) = STRING(DIAMOND_SWORD)" ## Only if holder uses diamond sword.
console_cmds:
- "heal {0}"
player_cmds:
- "msg {1} I match this conditions: %player_hasitem-mat:TOTEM-amt:1%, %player_item_in_hand%"
potions: []
chance: 100
messages:
- "&cYou match this conditions: %player_hasitem-mat:TOTEM-amt:1%, %player_item_in_hand%"
permission: "none"
Template:
action: "OWNER_CHANGE" ## At owner change.
conditions: [] ## Without any conditions.
console_cmds: [] ## Without console commands.
player_cmds: [] ## Without player commands.
potions: [] ## Without potions.
chance: 0 ## With zero chance.
messages: [] ## Without messages.
permission: "none" ## Without permission.
## You can disable any of these messages by setting "none".
messages:
no-permission: "&4You don't have permission to do that!"
onlyPlayer: "&4This command can only be run by a player."
null-item: "&4Take item to main hand!"
already: "&4Nothing to change!"
success: "&aSuccessfully!"
changeOwner: "&fYou killed the previous owner (&4{1}&f). Now you(&4{0}&f) are the new owner."
position: above
## Which kills should be counted?
## Possible values: ALL, PLAYER_ONLY, MOB_ONLY.
mode: "PLAYER_ONLY"
## Should the owner change when the old owner is killed by the new one?
changeOwner: true
ownerDefault: "none"
## true - PAPI placeholders will be updated on every kill.
## false - Only on first kill.
update-placeholderapi: true
## true - Lore will be updated when player equips item.
update-on-equip: false
## Plugin will ignore items with this in item lore.
disable-killcounter: "&4Cursed Item"
## Item lore, supports PlaceholderAPI placeholders.
## Player XYZ are PAPI placeholders.
item-lore:
- "&4---------------------------"
- "&4Owner: &c%itemStats_owner%"
- "&4Kills: &c%itemStats_kills%"
- "&4Last kill: &cX %player_x%&4, &cY %player_y%&4, &cZ %player_z%"
- "&4---------------------------"
## Set useWhitelist to true if you wanna give kill counter to items that match material listed in whitelist.
## Material: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
useWhitelist: true
whitelist:
- BOW
- DIAMOND_SWORD
- GOLD_SWORD
- IRON_SWORD
- STONE_SWORD
- WOOD_SWORD
## Available Placeholders:
## {0} - name of the player who holds the item.
## {1} - name of the second player.
## Available Actions: ATTACK, KILL, OWNER_CHANGE;
## Available Conditions:
## Kills Conditions: less then "KILLS < 10", more then "KILLS > 10", range(inclusive) "KILLS 1 - 10";
## Target Conditions: OWNER, NON_OWNER;
## Placeholder API conditions: (less then "<", more then ">", equals "=", not equals "!=")
## Use: /papi parse %placeholder% - if you don't know what will be returned.
## DOUBLE: "DOUBLE(%player_health%) > DOUBLE(10.0)"
## STRING: "STRING(%player_name%) = STRING(En_0t_S)"
## Left - placeholder, right - value or another placeholder.
## Only "=" and "!=" operations available for STRING.
## Use STRING for boolean and DOUBLE for integer.
## PotionEffectType: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
## Chance: 0-100;
## Permission: Set "none" to disable.
actions:
actionExample:
action: "ATTACK"
conditions:
- "KILLS 1 - 10" ## Only if item kills: > 0 and < 11.
- "OWNER" ## Only if player that holds item, owns this item.
console_cmds:
- "heal {0}"
player_cmds:
- "msg {1} I was healed and now I'm glowing!)"
potions:
- "GLOWING, 300, 0" ## PotionEffectType, duration in ticks, amplifier;
chance: 100 ## Will fire at every attack.
messages:
- "&aYep, it works!" ## You can use color codes and placeholders: {0}, {1}.
permission: "killCounter.actionExample" ## Only if player that holds item has this permission.
actionExample2:
action: "KILL"
conditions:
- "NON_OWNER" ## Only if player that holds item, didn't owns it.
console_cmds: []
player_cmds: []
potions:
- "WEAKNESS, 600, 0"
- "HUNGER, 600, 0"
chance: 100 ## Will fire at every attack.
messages:
- "&cYou got these effects because you are not owner of item in your hand."
permission: "none"
papiExample:
action: "ATTACK"
conditions:
- "STRING(%player_hasitem-mat:TOTEM-amt:1%) = STRING(yes)" ## Only if holder has 1 totem.
- "STRING(%player_item_in_hand%) = STRING(DIAMOND_SWORD)" ## Only if holder uses diamond sword.
console_cmds:
- "heal {0}"
player_cmds:
- "msg {1} I match this conditions: %player_hasitem-mat:TOTEM-amt:1%, %player_item_in_hand%"
potions: []
chance: 100
messages:
- "&cYou match this conditions: %player_hasitem-mat:TOTEM-amt:1%, %player_item_in_hand%"
permission: "none"
Template:
action: "OWNER_CHANGE" ## At owner change.
conditions: [] ## Without any conditions.
console_cmds: [] ## Without console commands.
player_cmds: [] ## Without player commands.
potions: [] ## Without potions.
chance: 0 ## With zero chance.
messages: [] ## Without messages.
permission: "none" ## Without permission.
## You can disable any of these messages by setting "none".
messages:
no-permission: "&4You don't have permission to do that!"
onlyPlayer: "&4This command can only be run by a player."
null-item: "&4Take item to main hand!"
already: "&4Nothing to change!"
success: "&aSuccessfully!"
changeOwner: "&fYou killed the previous owner (&4{1}&f). Now you(&4{0}&f) are the new owner."
- /killcounter set [owner] [kills] - Add a kill counter to the item in the main hand. Owner and Kills are optional.
- /killcounter reload - Reloads plugin.
- killcounter.player.create - Permission to get kill counter on first kill.
- killcounter.player.count - Permission to count kills.
- killcounter.player.own - Permission to become item owner when killing old owner.
- killcounter.player.use - Permission to run killCounter actions.
- killcounter.player.* - All permissions listed above.
- killcounter.admin.* - Permission for commands.
- Better Config.
- More actions and conditions.
- More commands and messages.
- Placeholder API expansion.
I will be very grateful if you send me a few dollars
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- 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.
killCounter [Owner & Kills in item lore] Now with Placeholder API support! is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 6,269 times (via Spigot). Download it and open it directly in the game.