Commit Graph

130 Commits

Author SHA1 Message Date
timvisee
aca09dff7b Cleanup 2021-11-15 20:36:15 +01:00
timvisee
de516cf62c Resolve clippy warnings 2021-11-15 20:33:48 +01:00
timvisee
1da8c60323 Add lobby compiler feature flag 2021-11-15 20:30:22 +01:00
timvisee
d213612225 Remove lobby debug code 2021-11-15 20:22:34 +01:00
timvisee
ffc4f00430 Increase buffer size for reading Minecraft packets 2021-11-15 20:19:50 +01:00
timvisee
90e64297c0 Add support for packet compression 2021-11-15 20:18:52 +01:00
timvisee
ae6e877f17 Add lobby method to configuration 2021-11-15 18:17:02 +01:00
timvisee
4907780f7c Patch lobby logic for rebase on latest master 2021-11-15 18:04:34 +01:00
timvisee
40be4bae89 Reset player position when we play lobby ready sound effect 2021-11-15 18:04:34 +01:00
timvisee
d390f866cd Implement timeouts for various lobby client relaying stages 2021-11-15 18:04:34 +01:00
timvisee
374a9fab75 Improve waiting for server for lobby client
Broadcast to server state changes instead of polling the server state
constantly.
2021-11-15 18:04:33 +01:00
timvisee
f7d89a28aa Play sound effect in lobby when server is ready 2021-11-15 18:04:33 +01:00
timvisee
8b88cb16c5 Improve lobby handling, resolve various TODOs 2021-11-15 18:04:32 +01:00
timvisee
2cc64b29e0 Drop obsolete lobby packet, add lobby server warmup, some fixes 2021-11-15 18:04:32 +01:00
timvisee
802fd2990a Resolved all compiler warnings, clean-up proto, remove obsolete code 2021-11-15 18:04:32 +01:00
timvisee
3e7f5719cd Forward excess server packets in lobby to client before proxying 2021-11-15 18:04:31 +01:00
timvisee
32317a4c2f Remove obsolete file 2021-11-15 18:04:31 +01:00
timvisee
c9290827be Send client protocol & username to server from lobby, send server brand 2021-11-15 18:04:31 +01:00
timvisee
518fca90eb Improve lobby handling, implement teleport and proxy to real server 2021-11-15 18:04:30 +01:00
timvisee
e01fd212f7 Start experimenting with lobby, implement loading into lobby with text 2021-11-15 18:04:29 +01:00
timvisee
db99289ea7 Add join forward method to proxy to other address while server starts 2021-11-15 18:03:03 +01:00
timvisee
32cd9ffc73 Improve join occupy method descriptions in config 2021-11-15 17:27:38 +01:00
timvisee
d125140bee Update README for new join method feature 2021-11-15 16:54:45 +01:00
timvisee
e11eca1d5a Implement join method configuration and handling 2021-11-15 16:52:18 +01:00
timvisee
17ec663e15 Show warning if config version is outdated or invalid 2021-11-15 16:32:13 +01:00
timvisee
6b38dce5ab Restructure configuration file 2021-11-15 16:21:51 +01:00
timvisee
234a30aecb Add lockout mode, enable to prevent all players from connecting 2021-11-15 15:46:13 +01:00
timvisee
7a99781a05 Check and test no-rcon builds on GitLab CI 2021-11-15 15:25:54 +01:00
timvisee
5a5fa785b7 Bump version to 0.1.3 v0.1.3 2021-11-15 15:18:53 +01:00
timvisee
78e9abec59 Fix binary release on GitLab CI 2021-11-15 15:18:19 +01:00
timvisee
dde9fdeab4 Bump version to 0.1.2 v0.1.2 2021-11-15 14:53:05 +01:00
timvisee
901fb62f25 Use future tokio supported sync types throughout server handling logic 2021-11-15 14:41:01 +01:00
timvisee
dabeabeff4 Increase server monitoring timeouts to 20 seconds
Should improve polling reliability for overloaded servers.
2021-11-15 13:59:51 +01:00
timvisee
96d7fc9dec Grab exclusive lock for RCON invocations to server 2021-11-15 13:57:41 +01:00
timvisee
5ffc6ee911 Add RCON cooldown, do not require active PID to stop server
This hopefully improves server stopping reliability.
2021-11-15 13:42:58 +01:00
timvisee
b71d0d1013 Add delay between RCON commands, hopefully improve reliablity
The Minecraft RCON implementation is very broken/brittle. With this we
hope to improve reliablity.
2021-11-15 13:21:12 +01:00
Tim Visée
261acafab0 Merge branch 'ci-arm' into 'master'
Add ARMv7 and aarch64 builds to CI

See merge request timvisee/lazymc!2
2021-11-15 10:07:30 +00:00
timvisee
a04a5f93e9 Add ARMv7 and aarch64 builds to release job 2021-11-15 00:40:52 +01:00
timvisee
10c57f87ea Add GitLab CI builds for ARMv7 and aarch64 2021-11-15 00:20:23 +01:00
timvisee
88fc5892a3 Simplify waiting for server logic even further 2021-11-14 16:37:09 +01:00
timvisee
38d90681c7 Improve waiting for server when holding client
Instead of constantly polling the server state until it is ready, this
now subscribes to server state changes and uses a proper timeout.
2021-11-14 16:21:54 +01:00
timvisee
2af20945cc Bump version to 0.1.1 v0.1.1 2021-11-14 12:54:34 +01:00
timvisee
ad638b5b3e Update dependencies 2021-11-14 12:54:09 +01:00
timvisee
69c2d580d5 Only disable prevent-proxy-connections if server is on non-loopback IP 2021-11-14 12:18:56 +01:00
timvisee
c6cd08c993 Add setup testing recommendation to README, note repository watch button 2021-11-14 12:14:10 +01:00
timvisee
69812f5b55 Make server sleeping errors a bit more descriptive 2021-11-14 12:09:26 +01:00
timvisee
f172587fd5 Add server quit cooldown period 2021-11-14 12:00:03 +01:00
timvisee
e6021502d9 Add TODO file, minor fixes 2021-11-12 13:12:17 +01:00
timvisee
157905f140 Update minecraft-protocol crate repository 2021-11-12 12:30:19 +01:00
timvisee
72d132ae8b Rewrite enable-status and prevent-proxy-connections in server.properties 2021-11-12 12:24:41 +01:00