mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-19 23:23:12 +09:00
Player statistics move out of exp_legacy into their own plugin, with the totals kept on the controller instead of the PlayerData datastore, which was never synced anywhere. The lua module tracks the same statistics with the same rules. Gains are kept per player as unsent in storage and sent over IPC every 5 minutes for every player with changes, and for one player when they leave. Sent values move into the totals the controller gave when the player joined, so get() is the total on every server either way. Nothing is resent. The instance plugin sends everything left when the server stops and drops anything unsent when it starts. A leftover can only come from a save made before it was sent, such as the autosave loaded after a crash, so dropping it loses a few minutes at worst but never counts twice. The controller adds the deltas to a record per player name in database/exp_statistics/players.json. Instances fetch a player's totals on join and hand them to lua over rcon. The web UI gets a sortable table of every player at /exp_statistics, behind exp_statistics.view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
68 lines
2.8 KiB
INI
68 lines
2.8 KiB
INI
[exp-statistics]
|
|
MapsPlayed=Maps Played
|
|
MapsPlayed-tooltip=The number of unique maps you have played on
|
|
JoinCount=Join Count
|
|
JoinCount-tooltip=The number of times you have joined our servers
|
|
Playtime=Playtime
|
|
Playtime-tooltip=The amount of time you have spent on our servers
|
|
AfkTime=AFK Time
|
|
AfkTime-tooltip=The amount of time you have been AFK on our servers
|
|
ChatMessages=Messages
|
|
ChatMessages-tooltip=The number of messages you have sent in chat
|
|
CommandsUsed=Commands
|
|
CommandsUsed-tooltip=The number of commands you have used
|
|
RocketsLaunched=Rockets Launched
|
|
RocketsLaunched-tooltip=The number of rockets launched while you were online
|
|
ResearchCompleted=Research Completed
|
|
ResearchCompleted-tooltip=The number of research projects completed while you were online
|
|
MachinesBuilt=Machines Built
|
|
MachinesBuilt-tooltip=The number of machines you have built
|
|
MachinesRemoved=Machines Removed
|
|
MachinesRemoved-tooltip=The number of machines you have removed
|
|
TilesBuilt=Tiles Placed
|
|
TilesBuilt-tooltip=The number of tiles you have placed
|
|
TilesRemoved=Tiles Removed
|
|
TilesRemoved-tooltip=The number of tiles you have removed
|
|
TreesDestroyed=Trees Destroyed
|
|
TreesDestroyed-tooltip=The number of trees you have destroyed
|
|
OreMined=Ore Mined
|
|
OreMined-tooltip=The amount of ore you have mined
|
|
ItemsCrafted=Items Crafted
|
|
ItemsCrafted-tooltip=The number of items you have crafted
|
|
ItemsPickedUp=Items Picked Up
|
|
ItemsPickedUp-tooltip=The number of items you have picked up
|
|
Kills=Kills
|
|
Kills-tooltip=The number of biters and biter bases you have squished
|
|
Deaths=Deaths
|
|
Deaths-tooltip=The number of times you have died
|
|
DamageDealt=Damage Dealt
|
|
DamageDealt-tooltip=The amount of damage you have dealt to other forces
|
|
DistanceTravelled=Distance Travelled
|
|
DistanceTravelled-tooltip=The total distance in tiles that you have travelled
|
|
CapsulesUsed=Capsules Used
|
|
CapsulesUsed-tooltip=The number of capsules you have used
|
|
EntityRepaired=Machines Repaired
|
|
EntityRepaired-tooltip=The number of machines which you have repaired
|
|
DeconstructionPlannerUsed=Decon Planner Used
|
|
DeconstructionPlannerUsed-tooltip=The number of times you have used the deconstruction planner
|
|
MapTagsMade=Map Tags Created
|
|
MapTagsMade-tooltip=The number of map tags you have created
|
|
DamageDeathRatio=Damage Death Ratio
|
|
DamageDeathRatio-tooltip=Damage over Death
|
|
KillDeathRatio=Kill Death Ratio
|
|
KillDeathRatio-tooltip=Kill over Death
|
|
SessionTime=Session Time
|
|
SessionTime-tooltip=Session Time
|
|
BuildRatio=Build Ratio
|
|
BuildRatio-tooltip=Build over Remove
|
|
RocketPerHour=Rocket Per Hour
|
|
RocketPerHour-tooltip=Rocket Launched Over Play Time in Hour
|
|
TreeKillPerMinute=Tree Kill Per Minute
|
|
TreeKillPerMinute-tooltip=Tree Destroyed Per Minute
|
|
NetPlayTime=Net Play Time
|
|
NetPlayTime-tooltip=Net Play Time
|
|
AFKTimeRatio=AFK Time Ratio
|
|
AFKTimeRatio-tooltip=AFK Time over Play Time
|
|
Locale=Locale
|
|
Locale-tooltip=The language of player interface
|