Home›Java›Mods›killStats REBORN + PAPI SUPPORT for 1.19!
ModsJava

killStats REBORN + PAPI SUPPORT for 1.19!

!! this is simply an update of an old plugin here: !! killStats on Bukkit has not been updated since 2014 (CB-1.7.4) so i think its time for an update, as…

⬇ Download on Spigot
!! this is simply an update of an old plugin here: !!
https://dev.bukkit.org/projects/killstats-v1-0
killStats on Bukkit has not been updated since 2014 (CB-1.7.4)
so i think its time for an update, as this is the only working PAPI cloud addon.

USING WITH PAPI

Step 1. Install killStats by me in your plugins folder.
Step 2. Download KillStats PAPI Addon from https://api.extendedclip.com/expansions/killstats/ and then put in in your PAPI/Expansions Folder.
Restart, and you are done!
upload_2022-7-30_17-20-41.png
PAPI Placeholders:
%killstats_kills%
%killstats_killrank%
%killstats_deaths%
%killstats_deathrank%
%killstats_streak%
%killstats_streakrank%
%killstats_kdr%
%killstats_kdrrank%

Please report any errors you find so I can get them fixed.

Thanks

Description
Features:

All player commands are issued by "/killstats" or the alias "/ks". A list of those commands and the descriptions of each command is below.

/ks ? - View a help page with a list of commands.
/ks - View your personal statistics.
/ks [playername] - View another players statistics(player must be online).
/ks startover - Reset your statistics.
/ks scoreboard - Enable/disable the scoreboard.
/ks rank - View your personal rankings.
/ks topkills [page] - View the top kills leaderboard.
/ks topdeaths [page] - View the top deaths leaderboard.
/ks topratio [page] - View the top ratio leaderboard.
/ks topstreak [page] - View the top streak leaderboard.



All admin commands are issued by "/killstatsadmin" or the alias "/ksa". A list of those commands and the descriptions of each command is below.


/ksa ? - View a help page with a list of commands.
/ksa reload - Reload the config and all data files. Also refreshes the leaderboards and signs.
/ksa enable - Enable the plugin. Only works if the plugin is disabled of course.
/ksa disable - Disable the plugin. Only works if the plugin is enabled of couse.
/ksa head [playername] - Get the head of a specified player.
/ksa reset [playername] - Reset a players statistics.

How to use rewards.yml
____
In order to give rewards to players for their killstreak, "Rewards_Enabled" must be true inside the config.

You are able to give a player items, and issue commands within the rewards system. I am going to show you an example of how to do both.

You can give rewards for individual killstreaks or give a reward for every kill a person gets. Maybe you want to reward your players with money everytime they kill another player. That is possible within the killStats rewards system.

() = Required
[] = Optional

Format: (ItemID)[ :DataValue] (Amount) [Enchantment:Level] [name:The_Name] [lore:The_Lore;Lore2]

To input a space into item name or lore items, use an underscore("_").
To input a new line into lore items, use a semi-colon(";").

To issue a command within the rewards file just simply do "command;*command goes here* as one of the rewards.

Below is an example of a valid rewards.yml file with all of the options above.

Code (YAML):
Rewards:
  all
:
  - command;/eco give %killer.name% 50
 
  5
:
  - 373:16273 2
   - 264 10
   - command;/xp give %killer.name% 825

  10
:
  - 264 25
   - 276 1 sharpness:2 fireaspect:1 name:Killer_Sword

  15
:
  - 264 25
   - 276 1 sharpness:4 fireaspect:2 name: %killer.name%'s_boss_sword lore:Lore_1;Lore_2;Lore_3
   - 264 25
   - 276 1 sharpness:2 fireaspect:1 name:Killer_Sword

  15
:
  - 264 25
   - 276 1 sharpness:4 fireaspect:2 name: %killer.name%'s_boss_sword lore:Lore_1;Lore_2;Lore_3
Leaderboard Signs

Below is how you create a leaderboard sign.

Create a sign where you want the leaderboard sign to be.

The first line will be "[ksrank]"

The second line will be the category you are wanting to show "kills/deaths/streak/ratio"

The third line will be the rank you want to show "1/2/3 etc"

Below is a list of all the admin permissions. By default none of these are enabled.

killstats_admin.reload - Reload the killstats configuration.
killstats_admin.enable_disable - Enable/Disable the plugin.
killstats_admin.player_head - Allow the player to get head of other players.
killstats_admin.reset_players - Allow the player to reset any players on the server.
killstats.admin.createsign - Allow the player to create a leaderboard sign.

Below is a list of all the player permisisons. By default all of these are enabled.

killstats.player.startover - Allows the player to reset their own stats

Replacement Variables in configs

These variables can be placed in any message within messages.yml and be replaced with the appropriate data where applicable.


These variables are only applicable within the "TS_X" messages.

Example "TS_Chat_Format"

This variable is used in the '/ks rank' command and on signs.

Replaced with the players rank, or the rank you choose on signs.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

killStats REBORN + PAPI SUPPORT for 1.19! is a free Minecraft Java mod. Compatible with Minecraft 1.19. Downloaded 2,140 times (via Spigot). Download it and open it directly in the game.

Explore more