mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-15 09:04:10 +00:00
The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch: accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes they need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
641 B
SQL
13 lines
641 B
SQL
/* The network addresses accounts log in to the game from, written by the auth server at each successful login while
|
|
log_login_addresses is on, so staff can see accounts that share a connection. One row per account and address;
|
|
rows not seen for log_login_address_days are deleted by the log pruning task. */
|
|
CREATE TABLE IF NOT EXISTS account_login_addresses (
|
|
account_id INT UNSIGNED NOT NULL,
|
|
address VARCHAR(64) NOT NULL,
|
|
first_seen BIGINT NOT NULL,
|
|
last_seen BIGINT NOT NULL,
|
|
logins INT UNSIGNED NOT NULL DEFAULT 1,
|
|
PRIMARY KEY (account_id, address),
|
|
INDEX account_login_addresses_address (address)
|
|
);
|