I made a new version which only handles the team ratio when someone joins/switches teams.
It's basically the same thing as the one you linked for SourceMod.
Cvars:
- tjr_enabled <0|1>
- 0=Disable team ratio
- 1=Enforce team ratio
- Default: 1
- tjr_ratio <ratio>
- 1=no ratio (should set plugin to disabled instead)
- This value is the number of terrorist for each ct.
- For example, setting this to 3 would mean 1CT:3T
- Default: 3
It is untested with a bunch of players but it was tested by myself to make sure it should work correctly.