Commit Graph

31 Commits

Author SHA1 Message Date
timvisee
0e4d18e9f6 Update clap dependency 2023-01-11 12:44:00 +01:00
timvisee
956c428251 Add compile time feature compatibility check, remove from build.rs 2021-11-25 14:00:59 +01:00
timvisee
9b1f2a7011 Probe server on lazymc start to get up-to-date server details for Forge 2021-11-25 12:59:32 +01:00
timvisee
b06f26b3e8 Refactor, cleanup status logic, extract join occupy logic into modules 2021-11-16 17:05:44 +01:00
timvisee
1da8c60323 Add lobby compiler feature flag 2021-11-15 20:30:22 +01:00
timvisee
e01fd212f7 Start experimenting with lobby, implement loading into lobby with text 2021-11-15 18:04:29 +01:00
timvisee
51ab0c610b Resolve clippy suggestions 2021-11-11 13:37:06 +01:00
timvisee
2f3ea381b8 Tweak tokio worker pool, only start with main server 2021-11-11 12:08:10 +01:00
timvisee
ba2100f015 Restructure SIGTERM signalling logic for Unix 2021-11-09 01:11:22 +01:00
timvisee
438e6e208c Only set default log level if not set already 2021-11-09 01:06:41 +01:00
timvisee
a7a182fbcb Add option to automatically rewrite server.properties file
This tries to fiend the server.properties file of the Minecraft server,
and sets the correct IP and port as configured within lazymc. This is
enabled by default.
2021-11-08 19:10:50 +01:00
timvisee
a1b64a2b24 Tweak logging 2021-11-08 17:20:21 +01:00
timvisee
a8375534ed Organize, refactor project structure 2021-11-08 17:06:17 +01:00
timvisee
66faac396a Add CLI handling, add command to generate/test configuration 2021-11-08 16:49:45 +01:00
timvisee
0c3685c37c Add configuration 2021-11-08 15:26:36 +01:00
timvisee
fed541c893 Add basic server idle checking, sleep server if idle for specified time 2021-11-08 14:19:52 +01:00
timvisee
049fce78b7 Use server protocol version/player max once known for status responses 2021-11-08 13:07:49 +01:00
timvisee
6ed72b7adb Clean up 2021-11-07 23:40:32 +01:00
timvisee
1de68e7335 Add proper logging 2021-11-07 23:16:56 +01:00
timvisee
fe9f5dc936 Improve proxy error handling 2021-11-07 23:08:45 +01:00
timvisee
277f63d850 Nicely handle various disconnect errors 2021-11-07 23:00:18 +01:00
timvisee
934c0ee6d0 Add simple SIGINT handling 2021-11-07 21:14:53 +01:00
timvisee
3b8a0bb1ae Add basic server starting logic 2021-11-07 20:43:45 +01:00
timvisee
ce370b4729 Separate offline status server and proxy logic to simplify things 2021-11-07 19:55:36 +01:00
timvisee
cd3b06b634 Implement very basic server monitor 2021-11-07 19:31:39 +01:00
timvisee
d742eca632 Hijack login start packet to disconnect payer if server is sleeping 2021-11-07 18:07:24 +01:00
timvisee
645ea892cb Some fixes, resolve warnings 2021-11-07 18:02:33 +01:00
timvisee
2d62384b9e Basic handshake handling, many fixes 2021-11-07 17:20:06 +01:00
timvisee
efae87af7d Add basic client state, cleanup 2021-11-07 14:53:19 +01:00
timvisee
923e172d0d Add basic raw packet parsing, hijack ping and status message 2021-11-07 14:18:40 +01:00
timvisee
3dd734cb0f Initial commit 2021-11-05 16:01:02 +01:00