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>
21 lines
930 B
C++
21 lines
930 B
C++
#pragma once
|
|
|
|
/**
|
|
* The staff-side AI moderator helper: a Suggest button on player reports, chat messages, a player's recent chat,
|
|
* pending character and pet names, and economy flags. It sends Claude the item and the context the dashboard already
|
|
* has (the chat around it, the account's strikes and earlier moderation, the operator's rules) and shows staff a
|
|
* drafted action, a reason for the player and an explanation citing the evidence. Staff decide; nothing is applied
|
|
* automatically and nothing AI-written reaches players unless staff choose to use it.
|
|
*
|
|
* Requests run on a worker thread; results come back through PlayerActions (api.job in the browser), are stored
|
|
* with the item (so the same case isn't sent twice) and audited. Budget limits keep the cost bounded.
|
|
*/
|
|
namespace ModeratorHelper {
|
|
void RegisterRoutes();
|
|
|
|
// Main loop: store and report finished requests
|
|
void Update();
|
|
|
|
void Shutdown();
|
|
}
|