feat: stats graphs, playtime, ip search against ban evasion, 150-char chat

- stats graphs for the admin and moderator panels (lib/stats.js, public/stats-view.html)
- playtime, private unless shown on the card's bio tab; set on the account page
- search accounts by ip address, only against ban evasion; mods see no addresses and each search is logged
- privacy policy for the above (terms version 2026-10-17)
- the per-second save looks only at accounts in play, with a slow sweep of the rest
- items in several dens at once; chat filter hides slurs and threats by default
- sexual usernames refused; moderators may enter full rooms; guide login allowed
- 150-character chat box (client build 55)
- fixes: gifts, trades, dens, pets in dens, den recycling, special animals' colours,
  jammer walls, settings switches; the buddy list sent at login
- the item giver, the rules screen and the art studio rework
This commit is contained in:
Burrowdev committed 2026-10-17 02:00:57 +03:00
1 parent 8400d2f928
commit 04f468af2c
56 files changed
+25667 -3894

No files matched your search

+3
View File
@@ -18,6 +18,7 @@ const reports = require("./lib/reports.js");
const roomInfo = require("./lib/roominfo.js");
const support = require("./lib/support.js");
const sfs = require("./lib/sfs.js");
const stats = require("./lib/stats.js");
const world = require("./lib/world.js");
// files this server makes are its own to read: accounts, logs, the cache.
@@ -43,6 +44,7 @@ const main = async () => {
modlog.load();
masterpieces.load();
retention.load();
stats.load(() => world.players().length);
panel.load();
await http.start();
await sfs.start(world);
@@ -51,6 +53,7 @@ const main = async () => {
// stopped on purpose: what is waiting to be written is written first.
const stop = code => {
stats.flush();
try {
accounts.flush();
}