SmoOnlineServer/Server
Robin C. Ladiges 674572093e
only start listening for clients once everything is initialized
Otherwise clients might connect to the server before everything is ready for them.
E.g. when restarting the server, the clients will immediately try to reconnect.

Clients might connect before the `PacketHandler` is initialized, which results in some packets not being processed by the server correctly.

Same goes for the commands: Discord might send in commands before all commands were added to the `CommandHandler`.

Without the `ClientJoined` action, clients might even be allowed to connect if they are on the banlist.
(Though without this initialization they or regular clients might be broken in some ways?)

(cherry picked from commit 92e540aaa6)
2022-09-06 22:50:01 +02:00
..
Client.cs Removed fire-and-forget warnings, null-forgave some metadata. 2022-07-29 12:55:01 -06:00
CommandHandler.cs Added quotable arguments, potential fix for ban * not banning anyone. 2022-07-27 12:14:56 -06:00
DiscordBot.cs You can run commands in the command channel or log channel 2022-08-22 18:58:42 -06:00
FlipOptions.cs Add scenario merging and run reformatting on solution 2022-03-01 15:08:53 -06:00
Program.cs only start listening for clients once everything is initialized 2022-09-06 22:50:01 +02:00
Server.cs Merge pull request #19 from TheUbMunster/restart-command 2022-07-29 13:19:04 -06:00
Server.csproj Add a simple discord bot to manage the server 2022-06-12 18:48:24 -06:00
Settings.cs Differentiated command channel and log channel 2022-08-22 18:58:42 -06:00
Time.cs Add tag commands and improve command handling 2022-03-14 23:59:23 -06:00