Each player can access a full list of his or her stats.
- Optional Dependencies:
- Configuration File:
Server-wide Top-List per category can be advertised on a timer.
Separate Top-List per-category is available to players, by chat-command.
'Admin' commands are by permission - playerranks.allowed
By default, stats for admins are NOT publicised.
/pr tops – Displays a player's top stats for each category, in a private list.
/pr <category> – Displays server top 5 for that category to the user.*
/pr save - Saves the database.
/pr del <steamID> - Removes all stats for that player.
/pr wipe – Wipes the database.
/pr wipecategory <category> - Removes all of a user's stats for that category.*
* The word category should be replaced with a category name, as written at the bottom of this page.
Block Events – Enable/disable EventManager activity from contributing to ranks.
Use Clans – Enable/disable clan-member kills from contributing to ranks.
Use Friends – Enable/disable friend kills from contributing to ranks.
Message Colours – Three options available, for title, category, and player/stat name.
Chat Command Alias - Default is "ranks". Change it to whatever you want.
GUI Transparency - Set between 0 and 1.
Close-Button Colour - Understand the format here.
Allow Public Admin Stats - True/False. Applies only to private and timed top lists.
Timed Top List Amount- Number of results. Default is 3.
Private Top List Amount - Number of results. Default is 5.
Use Intense Options – Enable/disable gathering of information, and displays, relating to:
Use Random Top Table – Enable/disable public top broadcast rotation.*
True/False per category – Enable/disable any and all displays for a given category.
TimedTopListTimer – Frequency of Public-Top broadcasts, in minutes.
SaveTimer - default is 15 minutes.
*Zero ranks are filtered out, and if there are no ranks greater than zero, the category is skipped immediately.
Rust recently removed the option for the server to automatically bind keys for the player.
If you'd like to bind the GUI to key ( j in my example), hit F1 for console and type
if you need to remove the bind, typeCode (Text):bind j ToggleTops
Code (Text):bind j ""
Use MySQL - true/false
SQL database will be created on the first save, whether automatic or manual (/pr save)
Heli Kills are attributed to the player who hit the heli the most - not the last hitter.
If a player dies from his wounds, the person who wounded him gets the PVP kill.
Distance is recorded based on the wounding shot.
This is my first attempt at a plugin and my learning has relied massively on the big contributors around here.
Sections and ideas are recycled from many existing plugins so I want to acknowledge K1lly0u, Wulf, Fujikura. Nogrod, LaserHydra, and others.
SQL demo - Player StatsCode (Text):pvpkills
<29/05/17 - MySQL only>
Recently active number
</29/05/17 - MySQL only>