Some Minecraft servers (especially modded) use an insane amount of resources when nobody is playing. lazymc helps by stopping your server when idle, until a player connects again.
Lazymc acts as a proxy server between clients, and the server. It handles all incoming status connection until the server starts and then transparently relays/proxies those connections. All without them noticing.
- Very lightweight, low-profile, and efficient (3KB RAM). – Supports Minecraft Java Edition 1.7+, supports modded servers (e.g. Forge, FTB. - Configure client occupation methods. - Supports Minecraft Java Edition 1.7.2+, supports modded (e.g.
- Linux, macOS, Windows - Minecraft Java edition 1.6+ – On Windows: RCON
Note: You need to have access the system to run lazymc. You won't be allowed to set up this if you're using a Minecraft-based shared hosting provider with an individual dashboard.
Use
These instructions are only for Linux & macOS. For Windows, please see this link.
Download the most recent release page to get the correct binary for your system.
You can rename the binary to fit your Minecraft server directory. rock it like a hurricane Open a terminal, go to the directory, and make sure you can invoke it:
After lazymc is installed, navigate to your server directory. Then set up the configuration and start it up:
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).
You should now be able to use the information you've read. Connect with your Minecraft client to wake your server up!
Notification: Please compile from source if a binary is not available for your system. There are currently limited options for installation. More information will be available in the future.
Compile from source
You must meet all requirements.
To compile from source you need Rust, install it through rustup: https://rustup.rs/
After Rust is installed compile and install lazymc directly from the git repository.
Or, you can clone it and build it yourself.
Third-party implementations & usage
A list of third-party implementations, projects using lazymc, that you might find useful:
- Docker: crbanman/papermc-lazymc (PaperMC with lazymc in Docker)
License
This project is available under the GNU GPL-3.0 licence. Check out the LICENSE file for more information.
Log in to comment