Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 3.08 KB

commands.md

File metadata and controls

59 lines (43 loc) · 3.08 KB

Command list

Click on a command to view more information about it. The shorthand can be used instead of the command name, E.g. /pvpstats !w to wipe stats.

Commands about getting stats

Get your or other player's stats

Command Shorthand Definition
/pvpstats show !sh show your own stats
/pvpstats show [player] /stats !sh [player] show the player's stats
/pvpstats top [amount] /stats !t [amount] show the top [amount] killers
/pvpstats top [type] [amount] /stats !t [type] [amount] show the top [amount] of a category
/pvpstats topplus [type] [days] {amount} /stats !tp [type] [days] {amount} show the top [amount] of a the top [type] players in the last [amount] days
/pvpstats topworld [type] [world] [days] {amount} /stats !tw [type] {amount} show the top [amount] of a the top [type] players in the last [amount] days in world [world]

Valid categories are: kills, deaths, streak, elo, ratio

Note that the "topplus" command and the "topworld" command are made for database access and only use kills, deaths and ratio! YML will not work or be very slow!


Commands about setting stats

Manually set a certain value of a player's statistic

Command Shorthand Definition
/pvpstats set /stats !st [player] [type] [amount] set a player's [type] statistic

Valid types are: kills, deaths, streak, currentstreak, elo


Database management commands

Heavy maintenance

Command Shorthand Definition
/pvpstats cleanup /stats !clean clean up
/pvpstats debug [on/off] /stats !d [on/off] activate or deactivate debugging
/pvpstats debugkill {killer} {victim} /stats !dk {killer} {victim} manually add a kill for debugging
/pvpstats migrate [from/to] [yml/sqlite/mysql] migrate from / to other database method
/pvpstats purge [standard/specific/both] [days] /stats !p [standard/specific/both] [days] remove entries older than [days], defaults to 30
/pvpstats reload /stats !r reload config and language files
/pvpstats wipe {player} /stats !w {player} wipe a player's or all statistics

Config management commands

use with caution

Command Shorthand Definition
/pvpstats config get [node] /stats !c get ignoreworlds get the value of a config node
/pvpstats config set [node] [value] /stats !c set OPMessages false set the value of a config node
/pvpstats config add [node] [value] /stats !c add ignoreworlds Spawn add an entry to a config list
/pvpstats config remove [node] [value] /stats !c remove ignoreworlds pvparena remove an entry from a config list