statkeeper

last built 2 months ago
Build #216
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Community Plugin
This plugin does not compile with the latest version of RocketMod.
Contact the author and kindly ask him to update this plugin or consider fixing it on GitHub.

The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

StatKeeper

DESCRIPTION:

Allows you to track, view, and reward player PvP and PvE stats.

Current Versions: v2.0.2.0 (MySQL), v1.3.2.0 (Xml)

 

PvP Stats: Total Kills, Total Deaths, KD Ratio, Gun Kills, Melee Kills, Punch Kills, Road Kills, Gun Deaths, Melee Deaths, Punch Deaths, Road Deaths, Suicide Deaths

PvE Stats: Total Deaths, Zombie Deaths, Vehicle Deaths, Food Deaths, Water Deaths, Infection Deaths, Bleeding Deaths

 

If admin view is enabled, only players with the stats.admin permission will be able to view other player stats.  Players without the permission will only be able to view their own stats.

COMMANDS:

/stats

/stats <mode/stat node> <player>

 

The /stats command without any parameters can be used to quickly view just the critical stats for your character, such as kills, deaths, and kd.

 

Example: /stats (will display your PvP stats: kills, deaths, and kd)

 

Modes include “pvp” and “pve“.  When entered without a player name, it will display all stats for that mode for your character.  When entered with a player name, it will display all stats for that mode for the player name entered.

 

Example: /stats pvp (will display all pvp stats for your character)

Example: /stats pvp CryReaper (will display all pvp stats for CryReaper)

 

If you don’t want to view all stats, there are three PvP stats available to view individually.  These are total kills “tk“, total deaths “td“, and kd ratio “kd“.  When entered without a player name, it will display that stat for your character.  When entered with a player name, it will display that stat for the player name entered.

 

Example: /stats tk (will display total kills for your character)

Example: /stats tk CryReaper (will display total kills for CryReaper)

 

The reward system rewards players for achieving certain kill milestones which can be set in the configuration file.  How much experience is awarded, what item id is awarded, and the amount of items awarded can all be set as well.  To not use one of the configurable options, set it to “0”.  You can also set the milestone to “0” and leave values in the other options and they will still not be used.

PERMISSIONS:

<Command>stats</Command>

<Command>stats.admin</Command> *only need if admin view is enabled

CONFIGURABLE OPTIONS:

– Database address: string

– Database username: string

– Database password: string

– Database name: string

– Database port: integer

– Enable or disable admin view: true/false
– Set kill milestone: integer
– Set experience reward: integer
– Set item id reward: integer
– Set item id reward amount: integer

POTENTIAL CHANGES:

– Kits given as rewards

– Add rankings/leaderboard command

– More reward milestones

– Add reward for kills and kill streaks

– Prevent farming of kills to get rewards

Suggestions?

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

Commands and permissions


Git changelog


f964731a6ba5fe1 2019-05-11 13:58:16

Fixed.

    1d96ad5a6727220 2016-08-24 19:37:18

    fixed

      83f8735464de362 2016-08-24 18:54:20

      ..

        a9bcb55dd1d3c32 2016-08-24 18:51:24

        test

          1df686acaa8f3ce 2016-08-23 20:52:17

          123

            4368b47d835d8f8 2016-08-23 20:50:04

            ,

              478596c7a81e48d 2016-08-23 20:48:00

              ..

                cf135c9b2649889 2016-06-15 16:52:08

                ..

                  981e34e2165f277 2016-06-15 15:27:13

                  ..

                    6543c6ec0a3bc91 2016-06-15 15:21:02

                    ..

                      39ed1a8fb84bba7 2015-09-22 14:17:09

                      Updated files

                        dd8026959d719f5 2015-09-11 01:01:38

                        Updated files.

                          a41428ab84d62c8 2015-09-11 00:01:46

                          Added source and project files