SmoOnlineServer/Server
Robin C. Ladiges 92e540aaa6
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.

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

Without the `ClientJoined` action, clients might even be allowed connect if they are on the banlist.
2022-09-05 04:11:07 +02:00
..
JsonApi JSON API 2022-09-04 00:29:36 +02:00
Client.cs fix: on reconnect do not disconnect the new client 2022-09-04 00:18:18 +02: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-05 04:11:07 +02:00
Server.cs JSON API 2022-09-04 00:29:36 +02:00
Server.csproj Add a simple discord bot to manage the server 2022-06-12 18:48:24 -06:00
Settings.cs JSON API 2022-09-04 00:29:36 +02:00
Time.cs Add tag commands and improve command handling 2022-03-14 23:59:23 -06:00