Commit Graph
12 Commits
Author SHA1 Message Date
Alexander Medvedev 2194f14981 Improve RCON
Remove all unwraps when handling packets. Also improve split Packets into Client & Server bound removing ugly match statement where we are reading Clientboud Packets (which is impossible).
2024-10-07 23:00:25 +01:00
Snowiiii 1ddaca1406 Allow disable encryption 2024-09-28 13:03:31 +02:00
lukas0008 fa114e7e23 Cleanup Server struct
This cleanup's goal is to make all `Server` functions only require &self. This means that `Server` can now be a `Arc<Server>` instead of `Arc<Mutex<Server>>`, which solves a lot of deadlock problems.
2024-09-08 17:44:09 +02:00
Snowiiii 3d14e1310b Command system rewrite
Note: Help commands is currently disabled
2024-09-07 20:26:19 +02:00
DaniD3v 070a50833b Moved config into its own crate 2024-08-31 19:38:47 +02:00
DaniD3v d57d9ffdcc Use proper IP Address abstraction instead of using format!() 2024-08-31 19:27:06 +02:00
Snowiiii 268fc19b7b Re-enable RCON 2024-08-25 14:07:49 +02:00
Snowiiii 8cff0b4b76 Fix: clippy and fmt 2024-08-25 13:21:24 +02:00
Snowiiii 83aad86005 Made everything thread safe
- Also improved gamemode command
- We now can use Server in commands
2024-08-25 13:20:49 +02:00
Alexander Medvedev de7b3aa2ea Fix: all clippy warns 2024-08-19 20:08:02 +01:00
Snowiiii 2909cad081 Avoid Packet cloning 2024-08-12 17:31:43 +02:00
Snowiiii 414cf3190c Added RCON support 2024-08-10 23:53:32 +02:00