mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-05 10:20:23 +01:00
2.3 KiB
2.3 KiB
Stored Data & Data format
This Article is about the information stored in the Database.
Page version: 3.6.0
Stored Data & Format
Data | Format in DB | Location in DB | Description |
---|---|---|---|
UUID | varchar | plan_users | UUID of the player, used for saving & processing all the information |
Age | integer | plan_users | Age of the player, gathered from chat. -1 if not known |
Gender | varchar | plan_users | String representation of the Gender Enum |
Geolocation | varchar | plan_users | Geolocation of the player |
Last Gamemode | varchar | plan_users | Last Gamemode the user was seen in. Used for GMTime calculations. |
Last GM Swap Time | bigint | plan_users | Playtime ms the user swapped their gamemode. Used for GMTime calculations. |
Playtime | bigint | plan_users | Total playtime of the player |
Login Times | integer | plan_users | How many times the player has joined. |
Last Played | bigint | plan_users | Last time the player's data was processed, used for Playtime calculations |
Register Date | bigint | plan_users | Bukkit's Register date |
Banned | boolean | plan_users | Bukkit's Ban value |
OP | boolean | plan_users | Bukkit's OP value |
Nicknames | varchar | plan_nicknames | All the nicknames the player has used |
Last nickname | boolean | plan_nicknames | The last nickname known stated as a boolean. |
IPs | varchar | plan_ips | InetAddress the player connected from |
GM Times | bigint | plan_gamemodetimes | Time spent in each Gamemode |
Locations | integer, integer, String | plan_locations | X, Z & World name the player has visited. |
Mob kills | integer | plan_users | Mobs the player has slain |
Deaths | integer | plan_users | How many times the player has died |
Player kills & Weapon used | integer, varchar, bigint, string | plan_kills | User the player killed, the time of the kill & the name of MATERIAL of the weapon. |
SessionData (Start & End of session) | bigint, bigint | plan_sessions | Used for all sorts of activity calculation. |
Command Usage | varchar | plan_commandusages | Each base command & how many times they have been used. |
World times | bigint | plan_world_times | World Playtimes |
World names | varchar(255) | plan_worlds | All names worlds have appeared as. |
Player Online is determined by the data being in the DataCache.