depends on
Statistics DB provides other plugins some players' statistics.
Commands
statistics.migrate- Migrate the old data from Connection DBstatistics.output- Output your player informationstatistics.output <player name>- Output information for specified player
Configuration
Default Configuration
{
"Debug": true,
"Inactive Entry Lifetime": 259200,
"Collect Joins": true,
"Collect Leaves": true,
"Collect Kills": true,
"Collect Deaths": true,
"Collect Suicides": true,
"Collect Shots": true,
"Collect Headshots": true,
"Collect Experiments": true,
"Collect Recoveries": true,
"Collect Voice Bytes": true,
"Collect Wounded Times": true,
"Collect Crafted Items": true,
"Collect Repaired Items": true,
"Collect Lift Usages": true,
"Collect Wheel Spins": true,
"Collect Hammer Hits": true,
"Collect Explosives Thrown": true,
"Collect Weapon Reloads": true,
"Collect Rockets Launched": true,
"Collect Collectible Pickups": true,
"Collect Plant Pickups": true,
"Collect Gathered": true
}
For Developers
API returns null if player's data was not found.
JObject API_GetAllData()
JObject API_GetAllPlayerData(ulong id)
bool API_ContainsPlayer(ulong id)
uint? API_GetJoins(ulong id)
uint? API_GetLeaves(ulong id)
uint? API_GetKills(ulong id)
uint? API_GetDeaths(ulong id)
uint? API_GetSuicides(ulong id) // WARNING! Suicides are NOT counted as deaths.
uint? API_GetShots(ulong id)
uint? API_GetHeadshots(ulong id)
uint? API_GetExperiments(ulong id)
uint? API_GetRecoveries(ulong id)
uint? API_GetVoiceBytes(ulong id)
uint? API_GetWoundedTimes(ulong id)
uint? API_GetCraftedItems(ulong id)
uint? API_GetRepairedItems(ulong id)
uint? API_GetLiftUsages(ulong id)
uint? API_GetWheelSpins(ulong id)
uint? API_GetHammerHits(ulong id)
uint? API_GetExplosivesThrown(ulong id)
uint? API_GetWeaponReloads(ulong id)
uint? API_GetRocketsLaunched(ulong id)
uint? API_GetSecondsPlayed(ulong id)
Dictionary<string, uint> API_GetCollectiblePickups(ulong id)
Dictionary<string, uint> API_GetPlantPickups(ulong id)
Dictionary<string, uint> API_GetGathered(ulong id)
List<string> API_GetNames(ulong id)
List<string> API_GetIPs(ulong id)
List<uint> API_GetTimeStamps(ulong id)
uint? API_GetCollectiblePickups(ulong id, string shortname)
uint? API_GetPlantPickups(ulong id, string shortname)
uint? API_GetGathered(ulong id, string shortname)
Support
Feel free to check out ko-fi.com/misticos! If something I've made saved you time, fixed your server, or kept things running smooth, a coffee goes a long way. Not expected, but always appreciated.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

