Added Auto obs and teams feature to server.
Still in BETA test so will be many bugs - use with caution. IF you found a bug - please write. We need to fix all bugs.
How to use this:
1) its working ONLY in LOBBY.
2) its working ONLY for HOST.
host need to write
-team player_nickname team_id
where team_id can be from 0 to 9 or obs
0 is default (nothing changes)
1-8 will auto ally+viz other players of same team on game start
9 or OBS will become observer. They are spawned without any units and get auto viz from all players.
host additionally can write commands:
-check
-teams
to check mod version and teams of players
if you want you can write command like
-team slot_id team_id
where slot_id is player slot in lobby (its considered from PUD map colors)
P.S. examples of commands:
-team mistral OBS
-team MisTRal 1
-team 2 1
-team Droid 2
-team Droid obs