Playtime from PlaytimeHistory's database (SAW_PT_DSN)
A public Playtime tab and player-drawer playtime, and staff-only figures (who's on, staff activity, disconnect reasons, countries, names, sessions) for @css/generic on the staff panel and on the public site when signed in. Hidden unless SAW_PT_DSN is set and its tables are there.
This commit is contained in:
parent
daa7ec2dbc
commit
6d0fc6e463
18 changed files with 2238 additions and 12 deletions
|
|
@ -13,6 +13,12 @@ SAW_SA_CONFIG=/data/CS2-SimpleAdmin.json
|
|||
# If the host in SimpleAdmin's config isn't reachable from the panel (e.g. a container name):
|
||||
# SAW_DB_HOST=127.0.0.1:3306
|
||||
|
||||
# PlaytimeHistory's database, its own and not SimpleAdmin's. Unset: no playtime anywhere. A user
|
||||
# with only SELECT on it is enough.
|
||||
# SAW_PT_DSN=pt_web:password@tcp(db-host:3306)/playtime_history
|
||||
# Only one server's playtime (pt_servers.id), if several share that database. 0 or unset: all.
|
||||
# SAW_PT_SERVER_ID=0
|
||||
|
||||
# RCON. By default the address and password come from SimpleAdmin's sa_servers table.
|
||||
# SAW_RCON_ADDR=127.0.0.1:27015
|
||||
# SAW_RCON_PASSWORD=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue