ZeroK-RTS / Chobby

Spring RTS Ingame lobby project
17 stars 38 forks source link

Block sending of UI commands in lobby #660

Open ArchShaman opened 5 years ago

ArchShaman commented 5 years ago

[3:37 AM] BOTNightwatch: /cheats [3:38 AM] BOTNightwatch: merry xmas [3:39 AM] BOTNightwatch: /nocost [3:39 AM] BOTNightwatch: /godmode [3:39 AM] BOTNightwatch: showmethemoney [3:40 AM] BOTNightwatch: /cheats cooked_lobster 1 [3:40 AM] BOTNightwatch: /godmode lobster 1

This user was spamming ui commands in the lobby for the past 18 minutes. There should be something to catch ui commands and block the message from being sent with a reminder that this is not the location to be typing in ui commands.

ArchShaman commented 5 years ago

Currently when being told to execute things like /luaui reload people do not understand the distinction between lobby and in-game. A simple red text that shows up in chat to the user stating "Use this inside the game" could lead to better discovery maybe.

Licho1 commented 5 years ago

they cannot do it in game either. Not the cheats.

Proper way to cheat is to do: !cheats !hostsay /nocost !hostsay /godmode

I guess our guides need more clarity?