JensForstmann / tmt2

TMT - Tournament Match Tracker: Supervise/Manage Counter-Strike 2 matches with ease!
MIT License
24 stars 6 forks source link

Assign (force) players to teams by Steam ID #30

Open m-ober opened 10 months ago

m-ober commented 10 months ago

Allow submitting a list of Steam IDs per team and force players to C/CT and team A/B according to this list. This should help with players joining the right team according to the .team command, but still be on the wrong team according to the scoreboard (which then results in swapped/incorrect scores)

JensForstmann commented 10 months ago

I can only tell them to change the team. There is no RCON command to force them to. Maybe possible with a server plugin, but I'd like to have TMT working with vanilla CS2 servers.

JensForstmann commented 10 months ago

related: #28

If we would have the list of players and their steam ids we could simply swap the team internally if we detect that most of the players are in the wrong team.

m-ober commented 10 months ago

If we would have the list of players and their steam ids we could simply swap the team internally if we detect that most of the players are in the wrong team.

I think that just increases the confusion, because some players will be like "Huh, I switched to the right team, why do I need to switch again? Why/how did it change?".

The core of the problem seems to be that most players think typing .team a/b is everything they need to do, because they only get warnings about being in the wrong A/B team. They don't know they also need to check the scoreboard for C/CT side, they will just join the C/CT team where their mates are.

So maybe more (or better: different) warning messages if the Steam IDs do not match would be nice to have. Something like:

"Player xyzgamer is on Team A (Name of the Team), please switch to CT."

Additionally, if TMT knows (by using Steam IDs) there are players on the wrong side , starting the match should probably be prevented.

Alternatively, maybe it would also already be an improvement if TMT had periodically appearing messages that just say

"Team Name of the Team must join CT side, Name of the other Team must join T side."

or (shorter, but less explicit)

"Please check the team names on the scoreboard and that you are on the right side."

... at least until the knife round starts.

JensForstmann commented 5 months ago

For now I've implemented your suggested message:

Team Name must join CT and type .team a Other Team Name must join T and type .team b

That message appears in chat during map election phase and on every warmup.

Additionally when a player joins a side (CT/T) a check is done: When the player is in a team (A/B) and not on the correct side (CT/T) then the following messages appears:

Player Player Name is registered for Team Name but currently in CT Other Team Name