//Don't touch the first 2 lines below here.
exec "gamedata/gamesettings/mp/gamesettings_default.cfg" 
exec "gamedata/configs/common/default_xboxlive.cfg"


// Below this line you may uncomment the " // " commands and edit to your liking. 
// If you unsure the default command. you can always " // " them back for later custom gameplay

gts prematchrequirement "0"                     // (0-10) Number of players on each team or the total number of players before the pre-match countdown will start.
gts prematchrequirementtime "0"                 // (0-60) The amount of time before the match will start.
gts prematchperiod "15"                         // The amount of time before the game starts.
gts preroundperiod "5"                          // The amount of time before a round starts.
gts inactivityKick "120"                        // Kick players that's AFK
gts allowSpectating "1"                         // Allow players to spectate other players or CODcasting
gts spectateType "1"                            // 0 disabled, 1 team only, 2 freelook, 3 team only spectate splitscreen players only
gts allowInGameTeamChange "1"                   // Allow players to switch teams?
gts autoTeamBalance "1"                         // Automatically assign players to teams 
gts allowFinalKillcam "1"                       // Controls whether the final killcam is played.

gts timelimit "10"                              // Time limit of the game.
gts scorelimit "75"                             // Score limit reach to end the game.
gts teamCount "2"

//gts teamScorePerDeath "0"                     // Points per Death - The number of points your team loses for each death. Points can never be lower than zero. (0-25)
//gts teamScorePerHeadshot "0"                  // Headshot Bonus Points - Extra points awarded if the kill is a headshot in addition to the points per kill. (0-25)
gts playerNumLives "0"                          // Number of Lives - The number of times each player can die before they are no longer allowed to respawn. (0-25)
gts loadoutKillstreaksEnabled "0"               // Disable Killstreaks by setting this to 0
//gts perksEnabled "1"                          // Disable Perks by setting this to 0
gts disableVehicleSpawners "1"                  // This should disable robots from the DLC map Rupture by setting this to 1 
//gts disableweapondrop "0"                     // No weapons on the ground.
//gts disallowprone "0"                         // Don't allow players to lay down.
//gts allowHitMarkers "2"                       // Rather or not to show hitmakers?
//gts allowAnnouncer "1"                        // Annouce enemy team actions


//Hardcore Mode
//gts hardcoreMode "1"                          // Enable hardcore mode. 
//gts friendlyfiretype "1"                      // Enable or Disable Friendly Fire. 1 on, 2 reflect, 3 shared. 
//gts playerHealthRegenTime "0"                 // Time it takes you to recover damage.
//gts playerMaxHealth "30"                      // Percent of Health players will have on Respawn.
//gts onlyHeadshots "0"                         // Headshots only
//gts allowKillcam "0"                          // Allow Killcam.
//gts allowbattlechatter "0"                    // Shut the fucking player dialogues up.
//gts teamKillPointLoss "1"                     // Points per Kill - The number of points for each kill. (0-25)
//gts teamKillPunishCount "3"                   // Kick constant Team killers out of your server. 

gts gameAdvertisementRuleScorePercent "15"
gts gameAdvertisementRuleTimeLeft "2"
gts gameAdvertisementRuleRound "0"
gts gameAdvertisementRuleRoundsWon "0"

//Unsure about this. Maybe someone figure out what restricted items of each weapon is..Would be useful for other game modes..
//Please PR on Github if you have a list! 

// SNIPER ONLY

// Unknown items restrictions
gts restrictedItems            0            1
gts restrictedItems            4            1
gts restrictedItems            5            1
gts restrictedItems            6            1
gts restrictedItems            9            1
gts restrictedItems            49           1
gts restrictedItems            55           1
gts restrictedItems            60           1
gts restrictedItems            69           1
gts restrictedItems            73           1
gts restrictedItems            79           1
gts restrictedItems            93           1
gts restrictedItems            100          1
gts restrictedItems            101          1
gts restrictedItems            102          1
gts restrictedItems            104          1
gts restrictedItems            106          1
gts restrictedItems            107          1
gts restrictedItems            131          1
gts restrictedItems            132          1
gts restrictedItems            133          1
gts restrictedItems            134          1
gts restrictedItems            135          1
gts restrictedItems            136          1
gts restrictedItems            137          1
gts restrictedItems            138          1
gts restrictedItems            139          1
gts restrictedItems            140          1
gts restrictedItems            141          1
gts restrictedItems            142          1
gts restrictedItems            143          1
gts restrictedItems            144          1
gts restrictedItems            145          1
gts restrictedItems            146          1

// Submachine guns restrictions
gts restrictedItems            10           1     // kuda
gts restrictedItems            11           1     // pharo
gts restrictedItems            12           1     // vesper
gts restrictedItems            13           1     // razorback
gts restrictedItems            14           1     // vmp
gts restrictedItems            15           1     // weevil 
gts restrictedItems            16           1     // AK-74u
gts restrictedItems            17           1     // HG40
gts restrictedItems            18           1     // HLX4 
gts restrictedItems            19           1     // nail gun
gts restrictedItems            34           1     // xmc
gts restrictedItems            38           1     // ppsh
gts restrictedItems            110          1     // sten

// Assault rifles restrictions
gts restrictedItems            7            1     // Peacekeeper MK2
gts restrictedItems            20           1     // kn-44
gts restrictedItems            21           1     // icr-1
gts restrictedItems            22           1     // hvk-30
gts restrictedItems            23           1     // man-o-war
gts restrictedItems            24           1     // xr-2
gts restrictedItems            25           1     // M8A7
gts restrictedItems            26           1     // sheiva 
gts restrictedItems            27           1     // kvk99m 
gts restrictedItems            28           1     // MX Garand 
gts restrictedItems            29           1     // FFAR
gts restrictedItems            37           1     // M16
gts restrictedItems            36           1     // LV8 Basilisk
gts restrictedItems            126          1     // Galil
gts restrictedItems            129          1     // M14

// Machine guns restrictions
gts restrictedItems            30           1     // Dingo 
gts restrictedItems            31           1     // Dredge 
gts restrictedItems            32           1     // BRM
gts restrictedItems            33           1     // Gorgon 
gts restrictedItems            35           1     // R70-Ajax 
gts restrictedItems            128          1     // RPK

// Shotguns restrictions
gts restrictedItems            44           1     // Olympia
gts restrictedItems            50           1     // Haymaker
gts restrictedItems            51           1     // Argus
gts restrictedItems            52           1     // KRM-262
gts restrictedItems            53           1     // Brecci
gts restrictedItems            56           1     // Banshii


// Melee weapons restrictions
gts restrictedItems            67           1     // fury's song
gts restrictedItems            68           1     // Skull splitter
gts restrictedItems            77           1     // Baseball bat
gts restrictedItems            83           1     // Carver
gts restrictedItems            84           1     // Malice
gts restrictedItems            85           1     // Iron jim
gts restrictedItems            94           1     // Slash N' Burn
gts restrictedItems            95           1     // Brass knuckles
gts restrictedItems            96           1     // Butterfly knife
gts restrictedItems            97           1     // Wrench
gts restrictedItems            99           1     // Combat nife
gts restrictedItems            103          1     // Nightbreaker
gts restrictedItems            105          1     // Buzzcut
gts restrictedItems            108          1     // Enforcer
gts restrictedItems            109          1     // Nunchucks
gts restrictedItems            120          1     // Prizefighters
gts restrictedItems            121          1     // Katana
gts restrictedItems            122          1     // Ace of spades
gts restrictedItems            124          1     // L3FT.E
gts restrictedItems            125          1     // Bushwhacker
gts restrictedItems            147          1     // Raven's eye


// Special weapons restrictions
gts restrictedItems            54           1     // NX-Shadowclaw
gts restrictedItems            127          1     // Ballistic knife
gts restrictedItems            123          1     // D13-Sector


// Launchers restrictions
gts restrictedItems            39           1     // Max-GL
gts restrictedItems            57           1     // L4-Siege
gts restrictedItems            58           1     // XM53
gts restrictedItems            59           1     // Blackcell


// Pistols restrictions
gts restrictedItems            1            1     // MR6
gts restrictedItems            2            1     // RK5 
gts restrictedItems            3            1     // L-CAR 9
gts restrictedItems            8            1     // Marshall 16
gts restrictedItems            47           1     // Rift-E9
gts restrictedItems            48           1     // 1911


// Lethal specialists restrictions
gts restrictedItems            111          1     // Scythe
gts restrictedItems            112          1     // Tempest
gts restrictedItems            113          1     // Gravity spikes
gts restrictedItems            114          1     // Ripper
gts restrictedItems            115          1     // Annihilator
gts restrictedItems            116          1     // War machine
gts restrictedItems            117          1     // Sparrow
gts restrictedItems            118          1     // HIVE
gts restrictedItems            119          1     // Purifier


// Lethal grenades restrictions
gts restrictedItems            61           1     // frag
gts restrictedItems            62           1     // combat axe
gts restrictedItems            63           1     // semtex
gts restrictedItems            64           1     // c4
gts restrictedItems            65           1     // trip mine
gts restrictedItems            66           1     // thermite


// Tactical grenades restrictions
gts restrictedItems            70           1     // smoke screen
gts restrictedItems            71           1     // concussion
gts restrictedItems            72           1     // emp
gts restrictedItems            74           1     // flash bang
gts restrictedItems            75           1     // shock charge
gts restrictedItems            76           1     // black hat
gts restrictedItems            78           1     // trophy system


// Sniper scope restrictions
gts restrictedattachments 32 weaponindex 40 1     // Locus
gts restrictedattachments 32 weaponindex 41 1     // Drakon
gts restrictedattachments 32 weaponindex 42 1     // SVG-100
gts restrictedattachments 32 weaponindex 43 1     // P0-6
gts restrictedattachments 32 weaponindex 45 1     // Interdiction-RSA
gts restrictedattachments 22 weaponindex 46 1     // DBSR -> 22 unknown scope id
gts restrictedattachments 32 weaponindex 46 1     // DBSR no elo sight
gts restrictedattachments 33 weaponindex 46 1     // DBSR -> 33 unknown scope id
gts restrictedattachments 32 weaponindex 98 1     // XPR-50
gts restrictedattachments 32 weaponindex 130 1    // Dragoon
