Display the administrator's title in ahelp and ahelp relay (#30075)
* Adding the admin prefix to the ahelp * Updating the admin prefix * The second update of the admin prefix * Configuration correction
This commit is contained in:
@@ -902,6 +902,15 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<bool> AdminBypassMaxPlayers =
|
||||
CVarDef.Create("admin.bypass_max_players", true, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Determine if custom rank names are used.
|
||||
/// If it is false, it'd use the actual rank name regardless of the individual's title.
|
||||
/// </summary>
|
||||
/// <seealso cref="AhelpAdminPrefix"/>
|
||||
/// <seealso cref="AhelpAdminPrefixWebhook"/>
|
||||
public static readonly CVarDef<bool> AdminUseCustomNamesAdminRank =
|
||||
CVarDef.Create("admin.use_custom_names_admin_rank", true, CVar.SERVERONLY);
|
||||
|
||||
/*
|
||||
* AHELP
|
||||
*/
|
||||
@@ -921,6 +930,24 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<int> AhelpRateLimitCount =
|
||||
CVarDef.Create("ahelp.rate_limit_count", 10, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Should the administrator's position be displayed in ahelp.
|
||||
/// If it is is false, only the admin's ckey will be displayed in the ahelp.
|
||||
/// </summary>
|
||||
/// <seealso cref="AdminUseCustomNamesAdminRank"/>
|
||||
/// <seealso cref="AhelpAdminPrefixWebhook"/>
|
||||
public static readonly CVarDef<bool> AhelpAdminPrefix =
|
||||
CVarDef.Create("ahelp.admin_prefix", true, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Should the administrator's position be displayed in the webhook.
|
||||
/// If it is is false, only the admin's ckey will be displayed in webhook.
|
||||
/// </summary>
|
||||
/// <seealso cref="AdminUseCustomNamesAdminRank"/>
|
||||
/// <seealso cref="AhelpAdminPrefix"/>
|
||||
public static readonly CVarDef<bool> AhelpAdminPrefixWebhook =
|
||||
CVarDef.Create("ahelp.admin_prefix_webhook", true, CVar.SERVERONLY);
|
||||
|
||||
/*
|
||||
* Explosions
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user