mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +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>
19 lines
881 B
SQL
19 lines
881 B
SQL
/* Strikes against accounts, given when staff reject a name, pet name or property or remove a leaderboard score and
|
|
decide it deserves one (or by hand). source: MANUAL, NAME, PET_NAME, PROPERTY, LEADERBOARD. A revoked strike
|
|
(revoked_at > 0) stays on record but no longer counts. */
|
|
CREATE TABLE IF NOT EXISTS account_strikes (
|
|
id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
account_id INT UNSIGNED NOT NULL,
|
|
character_id BIGINT NOT NULL DEFAULT 0,
|
|
source VARCHAR(16) NOT NULL,
|
|
subject VARCHAR(128) NOT NULL DEFAULT '',
|
|
reason TEXT NOT NULL,
|
|
given_by_id INT UNSIGNED NOT NULL DEFAULT 0,
|
|
given_by VARCHAR(64) NOT NULL DEFAULT '',
|
|
created_at BIGINT NOT NULL,
|
|
revoked_at BIGINT NOT NULL DEFAULT 0,
|
|
revoked_by VARCHAR(64) NOT NULL DEFAULT '',
|
|
revoke_reason TEXT NOT NULL,
|
|
INDEX account_strikes_account (account_id)
|
|
);
|