Skip to content

Configuration

Nick edited this page May 27, 2025 · 4 revisions

Important

On the first load, a configuration file will be created in csgo/addons/counterstrikesharp/configs/plugins/GameModeManager/GameModeManager.json.

Click to see Default Values
// This configuration was automatically generated by CounterStrikeSharp for plugin 'GameModeManager', at 2025/03/30 02:49:18
{
  "Version": 10,
  "RTV": {
    "Enabled": true,
    "Style": "wasd",
    "PerMap": false,
    "HudMenu": false,
    "MinRounds": 1,
    "MinPlayers": 1,
    "VoteDuration": 60,
    "OptionsToShow": 6,
    "VotePercentage": 51,
    "OptionsInCoolDown": 3,
    "EndOfMapVote": true,
    "IncludeModes": true,
    "IncludeExtend": false,
    "ExtendTime": 15,
    "ExtendRounds": 5,
    "ModePercentage": 40,
    "EnabledInWarmup": false,
    "HideHudAfterVote": false,
    "NominationEnabled": true,
    "MaxNominationWinners": 1,
    "ChangeImmediately": false,
    "TriggerRoundsBeforeEnd": 2,
    "TriggerSecondsBeforeEnd": 120
  },
  "Maps": {
    "Mode": 0,
    "Delay": 5,
    "Style": "wasd",
    "Default": "de_dust2"
  },
  "Votes": {
    "Enabled": false,
    "Maps": false,
    "Style": "wasd",
    "GameModes": false,
    "GameSettings": false
  },
  "Settings": {
    "Enabled": true,
    "Style": "wasd",
    "Folder": "settings"
  },
  "Warmup": {
    "Enabled": true,
    "Time": 60,
    "PerMap": false,
    "Default": {
      "Name": "Deathmatch",
      "Config": "warmup/dm.cfg"
    },
    "List": [
      {
        "Name": "Deathmatch",
        "Config": "warmup/dm.cfg"
      },
      {
        "Name": "Knives Only",
        "Config": "warmup/knives_only.cfg"
      },
      {
        "Name": "Scoutz Only",
        "Config": "warmup/scoutz_only.cfg"
      }
    ]
  },
  "Commands": {
    "Map": true,
    "Maps": true,
    "Mode": true,
    "Modes": true,
    "TimeLeft": true,
    "TimeLimit": true,
    "Style": "wasd"
  },
  "Rotation": {
    "Enabled": true,
    "Cycle": 0,
    "MapGroups": [
      "mg_active",
      "mg_comp"
    ],
    "WhenServerEmpty": false,
    "CustomTimeLimit": 600,
    "ModeRotation": false,
    "ModeInterval": 4,
    "ModeSchedules": false,
    "Schedule": [
      {
        "Time": "10:00",
        "Mode": "Casual"
      },
      {
        "Time": "15:00",
        "Mode": "Practice"
      },
      {
        "Time": "17:00",
        "Mode": "Competitive"
      }
    ]
  },
  "GameModes": {
    "Style": "wasd",
    "Default": {
      "Name": "Casual",
      "Config": "casual.cfg",
      "DefaultMap": null,
      "MapGroups": [
        "mg_active",
        "mg_comp"
      ]
    },
    "MapGroupFile": "gamemodes_server.txt",
    "List": [
      {
        "Name": "45",
        "Config": "45.cfg",
        "DefaultMap": "3276886893",
        "MapGroups": [
          "mg_45"
        ]
      },
      {
        "Name": "1v1",
        "Config": "1v1.cfg",
        "DefaultMap": "3070253400",
        "MapGroups": [
          "mg_1v1"
        ]
      },
      {
        "Name": "Armsrace",
        "Config": "ar.cfg",
        "DefaultMap": "ar_pool_day",
        "MapGroups": [
          "mg_gg"
        ]
      },
      {
        "Name": "Awp",
        "Config": "awp.cfg",
        "DefaultMap": "3142070597",
        "MapGroups": [
          "mg_awp"
        ]
      },
      {
        "Name": "Aim",
        "Config": "aim.cfg",
        "DefaultMap": "3084291314",
        "MapGroups": [
          "mg_aim"
        ]
      },
      {
        "Name": "Battle",
        "Config": "battle.cfg",
        "DefaultMap": "3070253400",
        "MapGroups": [
          "mg_battle"
        ]
      },
      {
        "Name": "Battle Royale",
        "Config": "br.cfg",
        "DefaultMap": "3070253400",
        "MapGroups": [
          "mg_battleroyale"
        ]
      },
      {
        "Name": "Bhop",
        "Config": "bhop.cfg",
        "DefaultMap": "3088973190",
        "MapGroups": [
          "mg_bhop"
        ]
      },
      {
        "Name": "Casual",
        "Config": "casual.cfg",
        "DefaultMap": "de_dust2",
        "MapGroups": [
          "mg_active",
          "mg_comp"
        ]
      },
      {
        "Name": "Casual 1.6",
        "Config": "Casual-1.6.cfg",
        "DefaultMap": "3212419403",
        "MapGroups": [
          "mg_Casual-1.6"
        ]
      },
      {
        "Name": "Competitive",
        "Config": "comp.cfg",
        "DefaultMap": "de_dust2",
        "MapGroups": [
          "mg_active",
          "mg_comp"
        ]
      },
      {
        "Name": "Course",
        "Config": "course.cfg",
        "DefaultMap": "3070455802",
        "MapGroups": [
          "mg_course"
        ]
      },
      {
        "Name": "Deathmatch",
        "Config": "dm.cfg",
        "DefaultMap": "de_mirage",
        "MapGroups": [
          "mg_dm"
        ]
      },
      {
        "Name": "Deathmatch (Valve)",
        "Config": "dm-valve.cfg",
        "DefaultMap": "de_mirage",
        "MapGroups": [
          "mg_dm"
        ]
      },
      {
        "Name": "Deathrun",
        "Config": "deathrun.cfg",
        "DefaultMap": "3164611860",
        "MapGroups": [
          "mg_deathrun"
        ]
      },
      {
        "Name": "Executes",
        "Config": "executes.cfg",
        "DefaultMap": "de_mirage",
        "MapGroups": [
          "mg_comp"
        ]
      },
      {
        "Name": "GG",
        "Config": "gg.cfg",
        "DefaultMap": "ar_pool_day",
        "MapGroups": [
          "mg_gg"
        ]
      },
      {
        "Name": "HE Only",
        "Config": "he.cfg",
        "DefaultMap": "3089842427",
        "MapGroups": [
          "mg_he"
        ]
      },
      {
        "Name": "Hide N Seek",
        "Config": "hns.cfg",
        "DefaultMap": "3097563690",
        "MapGroups": [
          "mg_hns"
        ]
      },
      {
        "Name": "KreedZ",
        "Config": "kz.cfg",
        "DefaultMap": "3086304337",
        "MapGroups": [
          "mg_kz"
        ]
      },
      {
        "Name": "Minigames",
        "Config": "minigames.cfg",
        "DefaultMap": "3082120895",
        "MapGroups": [
          "mg_minigames"
        ]
      },
      {
        "Name": "Practice",
        "Config": "prac.cfg",
        "DefaultMap": "de_dust2",
        "MapGroups": [
          "mg_comp"
        ]
      },
      {
        "Name": "Prefire",
        "Config": "prefire.cfg",
        "DefaultMap": "de_inferno",
        "MapGroups": [
          "mg_comp"
        ]
      },
      {
        "Name": "Retakes",
        "Config": "retake.cfg",
        "DefaultMap": "de_dust2",
        "MapGroups": [
          "mg_comp"
        ]
      },
      {
        "Name": "ScoutzKnivez",
        "Config": "scoutzknivez.cfg",
        "DefaultMap": "3073929825",
        "MapGroups": [
          "mg_scoutzknivez"
        ]
      },
      {
        "Name": "Surf",
        "Config": "surf.cfg",
        "DefaultMap": "3082548297",
        "MapGroups": [
          "mg_surf"
        ]
      },
      {
        "Name": "Soccer",
        "Config": "soccer.cfg",
        "DefaultMap": "3070198374",
        "MapGroups": [
          "mg_soccer"
        ]
      },
      {
        "Name": "Tournament",
        "Config": "tournament.cfg",
        "DefaultMap": "de_dust2",
        "MapGroups": [
          "mg_active"
        ]
      },
      {
        "Name": "Wingman",
        "Config": "wingman.cfg",
        "DefaultMap": "de_memento",
        "MapGroups": [
          "mg_active",
          "mg_comp"
        ]
      }
    ]
  }
}

RTV Settings

Setting Description
Enabled Enables RTV
Style Changes vote menu type (i.e. "chat", "center", "console", or "wasd")
PerMap Clears custom RTV settings on map change
HideHud Hides the HUD (vote results)
HudMenu Enables the HUD Menu (use with chat style menu)
MinRounds Minimum number of rounds required to RTV
MinPlayers Minimum number of players required to RTV
VoteDuration Vote duration in seconds
OptionsToShow Number of options to show in RTV list
VotePercentage Percentage of votes required for selecting the winner
OptionsInCoolDown Number of options in cool down
EndOfMapVote Enables end map vote
IncludeModes Includes modes in RTV list
IncludeExtend Includes extend map in RTV list
ExtendTime Time to extend map in minutes
ExtendRounds Rounds to extend map
ModePercentage Percent of modes in RTV list
EnabledInWarmup Allows RTV in warmup
HideHudAfterVote Hides hud after vote (optional setting for HudMenu)
NominationEnabled Enables nominating maps and/or modes
MaxNominationWinners Max nomination winners per option type
ChangeImmediately Enables change map/mode immediately
TriggerKillsBeforeEnd Kills needed to trigger end of map vote (armsrace only)
TriggerRoundsBeforeEnd Rounds remaining to trigger end of map vote
TriggerSecondsBeforeEnd Seconds remaining to trigger end of map vote

Map Settings

Setting Description
Mode Changes the map mode. (0 = maps from current game mode, 1 = maps from all game modes.)
Delay Map change change delay in seconds.
Default Default map group on server start (i.e. mg_active).
Style Changes map menu type (i.e. "chat", "center", "console", or "wasd").

Vote Settings

Setting Description
Enabled Enables voting.
Maps Enables map votes.
Style Changes vote menu type (i.e. "chat", "center", "console", or "wasd").
GameModes Enables game mode votes.
GameSettings Enables game setting votes.

Game Settings

Setting Description
Enabled Enables custom game settings.
Folder Default settings folder within /csgo/cfg/.
Style Changes game setting menu type (i.e. "chat", "center", "console", or "wasd").

Command Settings

Setting Description
Map Enables or disables the !map admin command.
Maps Enables or disables the !maps admin command.
Mode Enables or disables the !mode admin command.
Modes Enables or disables the !modes admin command.
TimeLeft Enables or disables the !timeleft command.
TimeLimit Enables or disables the !timelimit admin command.
Style Changes command menu type (i.e. "chat", "center", "console", or "wasd").

Warmup Settings

Setting Description
Time Default warmup time
PerMap Enables ot disables per map warmup (i.e. map configs)
Default Default warmup mode.
List A customizable list of warmup modes for your server.

Rotation Settings

Setting Description
Enabled Enables rotations. (Cannot be enabled when RTV is enabled)
Cycle Changes the rotation cycle. (0 = maps from current mode, 1 = maps from all modes, 2, maps from specific map groups)
MapGroups Mapgroups to use for rotation cycle 2.
WhenServerEmpty Enables rotation on server empty.
CustomTimeLimit Custom time limit for rotations on server empty.
ModeRotation Enables game mode rotation. (Cannot be enabled when ModeSchedule is enabled)
ModeInterval Changes game mode every x map rotations. (If ModeRotation is enabled)
ModeSchedule Enables mode schedules. (Cannot be enabled when ModeRotations is enabled)
Schedule Schedule for mode rotations (24-hr format in UTC time)

Game Mode Settings

Setting Description
Default Default mode on server start (i.e. deathmatch).
Style Changes setting menu type (i.e. "chat", "center", "console", or "wasd").
MapGroupFile Map groups file name in /csgo/. The file must be in VDF Format.
List A customizable list of game modes for your server with friendly names for menus.

Caution

  • All configuration files must be within /csgo/cfg/.
  • Your mode config files must use css_gamemode to cycle the game mode for the plugin.
Clone this wiki locally