Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
m-ober opened this issue Nov 15, 2023 · 4 comments
Open

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

m-ober opened this issue Nov 15, 2023 · 4 comments

Comments

@m-ober
Copy link

m-ober commented Nov 15, 2023

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)

@m-ober m-ober changed the title Assign players to teams by Steam ID Assign (force) players to teams by Steam ID Nov 15, 2023
@JensForstmann
Copy link
Owner

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
Copy link
Owner

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
Copy link
Author

m-ober commented Nov 15, 2023

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants