Files
DarkflameServer/migrations/dlu/mysql/34_server_config.sql
Aaron Kimbrell e213a7aeff feat: web dashboard and playground work
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>
2026-09-28 22:30:43 -05:00

18 lines
742 B
SQL

/* Server settings in the database, editable from the dashboard. Servers copy their ini and environment values here
(file_value, not for secrets) at startup. A web_value is used when the file and environment do not set the key,
or always when web_wins is set. */
CREATE TABLE IF NOT EXISTS server_config (
file VARCHAR(64) NOT NULL,
name VARCHAR(128) NOT NULL,
file_value TEXT NULL,
file_source VARCHAR(8) NOT NULL DEFAULT '',
web_value TEXT NULL,
web_wins TINYINT NOT NULL DEFAULT 0,
secret TINYINT NOT NULL DEFAULT 0,
description TEXT NULL,
seen_at BIGINT NOT NULL DEFAULT 0,
updated_at BIGINT NOT NULL DEFAULT 0,
updated_by VARCHAR(64) NOT NULL DEFAULT '',
PRIMARY KEY (file, name)
);