GitHub - Timvisee/lazymc: Put Your Minecraft Server To Rest When Idle


Some Minecraft servers (especially modded) use an insane amount of resources when nobody is playing. lazymc allows you to stop your server from being inactive until a player connects.



As a proxy between clients/servers, lazymc acts as a proxy. It handles all incoming status connections up to the server being started, and then transparently relays/proxies any rest. They don't even notice.



- Very efficient, lightweight & low-profile (~3KB RAM) - Supports Minecraft Java Edition 1.7.2+, supports modded (e.g. Forge, FTB. - Configure client occupation methods. - Supports Minecraft Java Edition 1.7.2+, supports modded (e.g.



- Linux or macOS Windows - Minecraft Edition 1.6+ – Windows: RCON (automatically Managed)



Note: You need to have access the system to run lazymc. If you're using a Minecraft shared hosting provider with a custom dashboard, you likely won't be able to set this up.



Usage



Note: these instructions are for Linux & macOS, for Windows look here.



Download the appropriate binary for your system from the latest release page.



Place the binary in your Minecraft server directory, rename it if you like. Open a terminal. Navigate to the directory.



When lazymc is set-up, change into your server directory if you haven't already. Next, configure the configuration and then start it.



See the extras section for additional recommendations and things to do (e.g. how to fix incorrect client IPs and IP banning on your server).



Once you've gone through all the details, everything should be ready to go. Serverstat.net Connect to your Minecraft client to get your server up and running!



Note: If the binary you need isn't available, please compile directly from source. There are currently limited options for installation. More options will be added in the future.



Compile from source



You must meet all requirements.



To compile from source, you will need Rust. Install it through rustup: http://rustup.rs/



Once Rust has been installed, compile and then install lazymc directly from this git repository:



Or, you can clone it and build it yourself.



Third-party use & implementations



This is a list of third party implementations, projects using lazymc that you might find helpful:



- Docker: crbanman/papermc-lazymc (PaperMC with lazymc in Docker)



License



This project is released under the GNU GPL-3.0 license. You can find more information in the LICENSE document.


Created: 16/08/2022 00:12:29
Page views: 47
CREATE NEW PAGE