259 Commits

Author SHA1 Message Date
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
timvisee
c0b3677cb0
Move screenshots 2021-11-08 15:24:35 +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
d4c0b4c146
Switch to server status polling rather than pinging 2021-11-08 12:44:43 +01:00
timvisee
824c728e09
Fix protocol var-int reading for numbers bigger than 1 byte 2021-11-08 12:09:50 +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
6494210494
Add GitHub sponsors configuration 2021-11-07 21:16:42 +01:00
timvisee
934c0ee6d0
Add simple SIGINT handling 2021-11-07 21:14:53 +01:00
timvisee
9995f9fa4a
Add prototype notice 2021-11-07 20:44:29 +01:00
timvisee
3b8a0bb1ae
Add basic server starting logic 2021-11-07 20:43:45 +01:00
timvisee
4443f87896
Update README 2021-11-07 20:31:03 +01:00
timvisee
c41058e1bb
Add screenshots 2021-11-07 20:21:15 +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
622310c685
Set up Cargo.toml 2021-11-07 18:15:18 +01:00
timvisee
5761b32518
Add GNU GPL-3.0 license 2021-11-07 18:12:39 +01:00