Hi Nican , thanks for this great mod, it helps keeping the noobs away for my 4 servers.
We have a problem though, I don't see anything in my logs about it. But a lot of people are complaining about how they *can* actually switch to a class that has already the limit and then they get killed and switched to another class.
For example, I limit snipers to 3 on each team, and let's say there are 3 already on the red team. A player will choose a sniper and they actually become a sniper(hard to believe I know). Then after playing that class for about 30 seconds, they get killed and switched to a different class.
I had to disable the mod for that reason actually. A lot of people complained about that.
Also I have about 60 guild members so far and I'd love an immunity for this mod, or actually it would be better if the mod recognized the immunity of the sourcemod admins, in my case, that would be a lot easier to control.
I will post my configuration for some of my servers:
Code:
"MaxClassPlayers"
{
"default"
{
//When there is 1 to 5 players in the server
"1-10"
{
//If the team is not set, it will be 1
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "0"
"sniper" "3"
"soldier" "4"
"demoman" "3"
"medic" "4"
"heavy" "0"
"pyro" "3"
"spy" "2"
"engineer" "4"
}
//When there is 6 players in the server
"11-32"
{
//If the team is not set, it will be 1
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "2"
"sniper" "3"
"soldier" "4"
"demoman" "3"
"medic" "4"
"heavy" "4"
"pyro" "3"
"spy" "2"
"engineer" "4"
}
//Anything that is not set, will be -1 (no limit)
}
"cp_dustbowl"
{
//When there is 1 to 5 players in the server
"1-12"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "1"
"blue" "0"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "0"
"sniper" "1"
"soldier" "-1"
"demoman" "-1"
"medic" "-1"
"heavy" "-1"
"pyro" "-1"
"spy" "1"
"engineer" "2"
}
//When there is 1 to 5 players in the server
"1-12"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "0"
"blue" "1"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "1"
"sniper" "0"
"soldier" "-1"
"demoman" "-1"
"medic" "-1"
"heavy" "-1"
"pyro" "-1"
"spy" "2"
"engineer" "0"
}
//When there is 6 players in the server
"13-32"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "1"
"blue" "0"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "1"
"sniper" "3"
"soldier" "3"
"demoman" "3"
"medic" "4"
"heavy" "4"
"pyro" "4"
"spy" "1"
"engineer" "5"
}
"13-32"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "0"
"blue" "1"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "4"
"sniper" "2"
"soldier" "4"
"demoman" "3"
"medic" "4"
"heavy" "4"
"pyro" "4"
"spy" "3"
"engineer" "2"
}
//Anything that is not set, will be -1 (no limit)
}
"cp_gravelpit"
{
//When there is 1 to 5 players in the server
"1-12"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "1"
"blue" "0"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "0"
"sniper" "1"
"soldier" "-1"
"demoman" "-1"
"medic" "-1"
"heavy" "-1"
"pyro" "-1"
"spy" "1"
"engineer" "2"
}
//When there is 1 to 5 players in the server
"1-12"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "0"
"blue" "1"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "1"
"sniper" "0"
"soldier" "-1"
"demoman" "-1"
"medic" "-1"
"heavy" "-1"
"pyro" "-1"
"spy" "2"
"engineer" "0"
}
//When there is 6 players in the server
"13-32"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "1"
"blue" "0"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "1"
"sniper" "3"
"soldier" "3"
"demoman" "3"
"medic" "4"
"heavy" "4"
"pyro" "4"
"spy" "1"
"engineer" "5"
}
"13-32"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "0"
"blue" "1"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "4"
"sniper" "2"
"soldier" "4"
"demoman" "3"
"medic" "4"
"heavy" "4"
"pyro" "4"
"spy" "3"
"engineer" "2"
}
//Anything that is not set, will be -1 (no limit)
}
}
that one is for my stock rotation map server and this next one is for my 24/7 Dustbowl server:
Code:
"MaxClassPlayers"
{
//Default config if the map tree is not found
"default"
{
//When there is 1 to 5 players in the server
"1-12"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "1"
"blue" "0"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "0"
"sniper" "1"
"soldier" "-1"
"demoman" "-1"
"medic" "-1"
"heavy" "-1"
"pyro" "-1"
"spy" "1"
"engineer" "2"
}
//When there is 1 to 5 players in the server
"1-12"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "0"
"blue" "1"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "1"
"sniper" "0"
"soldier" "-1"
"demoman" "-1"
"medic" "-1"
"heavy" "-1"
"pyro" "-1"
"spy" "2"
"engineer" "0"
}
//When there is 6 players in the server
"13-32"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "1"
"blue" "0"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "1"
"sniper" "3"
"soldier" "3"
"demoman" "3"
"medic" "4"
"heavy" "4"
"pyro" "4"
"spy" "1"
"engineer" "5"
}
"13-32"
{
//Team2 = red AND team3 = blue
//set to 0 if you want this to only work on one team
"red" "0"
"blue" "1"
//Put -1 for no limit, 0 for disalowed, and any other number to set the limit
"scout" "4"
"sniper" "2"
"soldier" "4"
"demoman" "3"
"medic" "4"
"heavy" "4"
"pyro" "4"
"spy" "3"
"engineer" "2"
}
//Anything that is not set, will be -1 (no limit)
}
}
Please disregard the comments in my configurations, they are still the default of the file that came with this mod and has no relation to my configurations.
Thanks again nican!
__________________