8000 GitHub - CyberFlameGO/lazymc: 💤 Put your Minecraft server to rest when idle.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CyberFlameGO/lazymc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

lazymc

lazymc puts your Minecraft server to rest when idle, and wakes it up when players connect.

Some Minecraft servers (especially modded) use an insane amount of resources when nobody is playing. lazymc helps by by stopping your server when idle, until a player connects again.

lazymc functions as proxy between clients and the server. It handles all incoming status connections until the server is started and then transparently proxies the rest.

Note: this is a prototype and may be incomplete.

demo.mp4
Click to see screenshots

Sleeping server Join sleeping server Starting server Started server

Requirements

  • Linux, macOS, Windows
  • Minecraft Java Edition 1.6 or above
  • On Windows: RCON (automatically managed by default)

Using a modded Minecraft server and client (such as Forge) should work fine.

Usage

Make sure you meet all requirements.

Note: Installation options are limited at this moment. Read-to-go binaries will be published later. For now we compile and install from source.

To compile and install you need Rust, install it through rustup: https://rustup.rs/

When Rust is installed, compile and install lazymc from this git repository:

# Compile and install lazymc from source
cargo install -f --git https://github.com/timvisee/lazymc

# Ensure lazymc works
lazymc --help

When lazymc is available, change into your server directory. Then set up the configuration and start it up:

# Change into your server directory
cd server

# Generate lazymc configuration
lazymc config generate

# Edit configuration
# Set the correct server address, directory and start command
nano lazymc.toml

# Start lazymc
lazymc start

Everything should now be running. Connect with your Minecraft client to wake your server up!

License

This project is released under the GNU GPL-3.0 license. Check out the LICENSE file for more information.

About

💤 Put your Minecraft server to rest when idle.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.4%
  • Shell 0.6%
0