Commit Graph

190 Commits

Author SHA1 Message Date
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
timvisee
7a00c2df9e List crbanman/papermc-lazymc Docker image as 3rd-party implementation 2021-11-12 11:46:21 +01:00
Tim Visée
fe3bf63401 Update demo video in README 2021-11-11 23:34:54 +01:00
timvisee
e9e58a766b Improve Windows instructions 2021-11-11 15:15:47 +01:00
timvisee
f9be5c5a0f Update README, improve usage/compile instructions, add Windows guide 2021-11-11 15:05:05 +01:00
Tim Visée
7c7595dcd3 Update demo video in README 2021-11-11 14:38:03 +01:00
timvisee
5d981f80af Bump version to 0.1.0 v0.1.0 2021-11-11 13:49:31 +01:00
timvisee
8c5f4832a4 Resolve some TODOs 2021-11-11 13:45:37 +01:00
timvisee
51ab0c610b Resolve clippy suggestions 2021-11-11 13:37:06 +01:00
timvisee
e6e2e7fab8 Update dependencies 2021-11-11 13:29:18 +01:00
Tim Visée
ca4be574d7 Merge branch 'gitlab-ci' into 'master'
Set up GitLab CI

See merge request timvisee/lazymc!1
2021-11-11 12:13:47 +00:00
timvisee
cf89f46858 Add CI badge to README 2021-11-11 13:11:31 +01:00
timvisee
f048393fd6 Add binary release jobs 2021-11-11 13:04:00 +01:00
timvisee
bc184d5c95 Add GitLab CI configuration 2021-11-11 12:36:53 +01:00
timvisee
2f3ea381b8 Tweak tokio worker pool, only start with main server 2021-11-11 12:08:10 +01:00
timvisee
2c5a76f92a Spawn new task for relayed clients that were held 2021-11-11 11:53:19 +01:00
timvisee
4d51113bd9 Add option to use Minecraft server MOTD 2021-11-11 11:37:08 +01:00
timvisee
5df8c65b44 Move server start/stop timeout settings into time section 2021-11-11 11:14:16 +01:00
timvisee
7b4a90bb34 Add option to restart after a crash 2021-11-11 00:11:17 +01:00
timvisee
69b964b603 Fix compilation error on Windows 2021-11-10 23:56:07 +01:00
timvisee
99af0c6437 Fix process force kill logic on Windows 2021-11-10 23:53:09 +01:00
timvisee
18fdf4c5f9 Add server start/stop timeout to force kill server if it gets stuck 2021-11-10 23:43:47 +01:00
timvisee
2026b6c846 Add ping as fall back method for server status monitor 2021-11-10 23:07:19 +01:00
timvisee
01b4a9ab6e Use more efficient sync types for server state 2021-11-10 22:42:49 +01:00
timvisee
fb8c40e5bb Update README 2021-11-10 21:17:47 +01:00
timvisee
cbe35e5585 Add client holding feature
Don't disconnect client when server starts, hold them for a while, and
relay when the server is ready. This makes the start-and-connect process
much more transparent.
2021-11-10 20:50:49 +01:00
timvisee
d10cf48de1 Use updated minecraft-protocol crate from upstream 2021-11-10 18:28:52 +01:00
timvisee
d3baebb536 Log what user woke up the server 2021-11-09 15:20:12 +01:00
timvisee
e7741f4ece Set config defaults, comment out defaults in base config file 2021-11-09 15:13:50 +01:00
timvisee
bbecb43639 Add option for protocol version hints, clean up configuration 2021-11-09 14:57:58 +01:00
timvisee
86c88d85f2 Clean up internal server state handling, various fixes 2021-11-09 14:31:31 +01:00
timvisee
6821cf850e Sending save-all is not required 2021-11-09 12:40:03 +01:00
timvisee
5883dcb1f4 Cleanup configuration 2021-11-09 01:15:16 +01:00
timvisee
d109b2bf32 Add RCON server management support, adds Windows support 2021-11-09 01:12:46 +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
0602162aa6 Update README, add basic usage instructions 2021-11-08 20:47:01 +01:00
timvisee
bf84d04cf6 Various fixes and improvements 2021-11-08 20:28:10 +01:00
timvisee
62422f2ef0 Server should never sleep if players are connected 2021-11-08 20:27:57 +01:00
Tim Visée
b1dd8da7c6 Fix video embedding in README 2021-11-08 20:25:25 +01:00
Tim Visée
c82fc6bc46 Update demo video URL in README 2021-11-08 20:24:33 +01:00