Commit Graph

78 Commits

Author SHA1 Message Date
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
timvisee
e489e070b1 Add demo video to README 2021-11-08 20:12:24 +01:00
timvisee
115d100aee Add documentation for using bash script as server command 2021-11-08 19:52:35 +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
a5fbdc8d30 Make server directory option optional 2021-11-08 19:10:21 +01:00
timvisee
db0552f2e5 Rename sleep_on_start to wake_on_start 2021-11-08 18:10:36 +01:00
timvisee
9874c9dd30 Implement minimum_online_time option 2021-11-08 18:07:32 +01:00
timvisee
e115bba827 Add sleep_on_start option 2021-11-08 17:41:02 +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
fdc3c2ea3c Add configuration (2/2) 2021-11-08 15:27:48 +01:00
timvisee
0c3685c37c Add configuration 2021-11-08 15:26:36 +01:00