I made some changes to this script and added in changing the round time limit for Obliteration maps, currently defaulting to 20 minutes at 100% round time limit. I'd like to double the timel imit and came up with this change. Not sure if I did this right?
// Round End - Server Ticket Changer
// settings for insane limits: limit_evaluation: OnRoundOver , limit_first_check: Code
if (server.NextGamemode == "Chainlink0") { // chainlink
plugin.ServerCommand("vars.gameModeCounter", "200");
plugin.ServerCommand("vars.roundTimeLimit", "140");
plugin.ConsoleWrite("Set 200% ticket count for next round (" + server.NextGamemode + ")");
}
else if (server.NextGamemode == "ConquestSmall0") { // cq small
plugin.ServerCommand("vars.gameModeCounter", "200");
plugin.ServerCommand("vars.roundTimeLimit", "150");
plugin.ConsoleWrite("Set 200% ticket count for next round (" + server.NextGamemode + ")");
}
else if (server.NextGamemode == "obliteration") { // obliteration
plugin.ServerCommand("vars.gameModeCounter", "100");
plugin.ServerCommand("vars.roundTimeLimit", "200");
plugin.ConsoleWrite("Set 200% round time limit for next round (" + server.NextGamemode + ")");
}
else { // all other modes
plugin.ServerCommand("vars.gameModeCounter", "100");
plugin.ServerCommand("vars.roundTimeLimit", "100");
plugin.ConsoleWrite("Set 100% ticket count for next round (" + server.NextGamemode + ")");
}