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>
14 lines
517 B
C
14 lines
517 B
C
#pragma once
|
|
|
|
#include "json.hpp"
|
|
|
|
/**
|
|
* The public server status (off until public_status=1): a page at /status, JSON at /api/public/status for server
|
|
* lists, and a widget at /status/widget other sites may frame. What it shows is chosen in Settings (Public pages).
|
|
* The status is worked out at most every public_status_cache_seconds, however many people ask.
|
|
*/
|
|
void RegisterPublicRoutes();
|
|
|
|
// The top bar of public pages: {name, status, showcase} (which public pages are on)
|
|
nlohmann::json PublicPageJson();
|