Put Server VC options in Server options

Made a copy of Server VC Options and put it in the Server Options menu
This commit is contained in:
VelocitOni 2025-07-24 21:52:42 -04:00
parent 62e19778a0
commit aa0667bac3

View file

@ -10,6 +10,7 @@
/// \brief Server Options
#include "../k_menu.h"
#include "../s_sound.h"
menuitem_t OPTIONS_Server[] =
{
@ -72,20 +73,27 @@ menuitem_t OPTIONS_Server[] =
NULL, {.cvar = &cv_pause}, 0, 0},
{IT_HEADER, "Chat...", NULL,
{IT_HEADER, "Text Chat...", NULL,
NULL, {NULL}, 0, 0},
{IT_STRING | IT_CVAR, "Mute Chat", "Prevent everyone but admins from sending chat messages.",
NULL, {.cvar = &cv_mute}, 0, 0},
{IT_STRING | IT_CVAR, "Mute Voice Chat", "Prevent everyone from sending voice chat.",
NULL, {.cvar = &cv_voice_servermute}, 0, 0},
{IT_STRING | IT_CVAR, "Chat Spam Protection", "Prevent too many messages from a single player.",
NULL, {.cvar = &cv_chatspamprotection}, 0, 0},
{IT_STRING | IT_CVAR, "Rounds Needed To Chat", "How many rounds players must complete before they can chat. Good vs. ban evaders.",
NULL, {.cvar = &cv_gamestochat}, 0, 0},
{IT_HEADER, "Voice Chat...", NULL,
NULL, {NULL}, 0, 0},
{IT_STRING | IT_CVAR, "No Server Voice Chat", "All voice chat will be disabled on your server.",
NULL, {.cvar = &cv_voice_servermute}, 0, 0},
{IT_STRING | IT_CVAR, "Proximity Effects", "Player voices will be adjusted relative to you.",
NULL, {.cvar = &cv_voice_proximity}, 0, 0},
{IT_SPACE | IT_DYBIGSPACE, NULL, NULL,
NULL, {NULL}, 0, 0},