Game server api (#23129)
* Stuff * Fix RoundStatus Action * Rename stuff * Also needs to run on the main thread * minor stuff * Move to not be an EntitySystem * Part 1 of making this less shit * Make some more stuff run on main thread * Actor check, logging and remove token from log. * Better log * Change ActionKick to use Guid instead of username * Fix build * Bandaid fix for test fails
This commit is contained in:
@@ -29,6 +29,12 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<string> RulesHeader =
|
||||
CVarDef.Create("server.rules_header", "ui-rules-header", CVar.REPLICATED | CVar.SERVER);
|
||||
|
||||
/// <summary>
|
||||
/// The token used to authenticate with the admin API. Leave empty to disable the admin API. This is a secret! Do not share!
|
||||
/// </summary>
|
||||
public static readonly CVarDef<string> AdminApiToken =
|
||||
CVarDef.Create("server.admin_api_token", string.Empty, CVar.SERVERONLY | CVar.CONFIDENTIAL);
|
||||
|
||||
/*
|
||||
* Ambience
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user