ModsJava
mcenv
Reproduce any Minecraft server from a single config file
⬇ Download on HangarOpen in MCModsHubGet it on Google Play →# mcenv
Reproduce any Minecraft server from a single config file — mods, plugins, configs, server.properties — and share it with anyone.
## Install
```bash
Linux:
curl -fsSL https://github.com/meloncatting/mcenv/releases/latest/download/mcenv-linux -o mcenv
chmod +x mcenv && sudo mv mcenv /usr/local/bin/mcenv
macOS:
curl -fsSL https://github.com/meloncatting/mcenv/releases/latest/download/mcenv-macos -o mcenv
chmod +x mcenv && sudo mv mcenv /usr/local/bin/mcenv
Windows: Download mcenv-win.exe from Releases in https://github.com/meloncatting/mcenv/releases/latest/, rename to mcenv.exe, move to C:\Windows\System32\
Usage
# Export an existing server
mcenv init ./my-server -o ./my-config
# Reproduce it anywhere
cd my-config && mcenv install
# Share it — no jars included, everything downloads automatically
zip -r my-server.zip my-config/
Commands
┌─────────────────────────┬────────────────────────────────────────────┐
│ Command │ What it does │
├─────────────────────────┼────────────────────────────────────────────┤
│ mcenv init [server-dir] │ Scan existing server → generate config │
├─────────────────────────┼────────────────────────────────────────────┤
│ mcenv install │ Download all mods/plugins and install │
├─────────────────────────┼────────────────────────────────────────────┤
│ mcenv update │ Re-resolve versions and reinstall │
├─────────────────────────┼────────────────────────────────────────────┤
│ mcenv list │ Show pinned versions and SHA-256 hashes │
├─────────────────────────┼────────────────────────────────────────────┤
│ mcenv validate │ Check config for errors, no network needed │
├─────────────────────────┼────────────────────────────────────────────┤
│ mcenv clean │ Delete server directory, keep cache │
├─────────────────────────┼────────────────────────────────────────────┤
│ mcenv dockerize │ Generate Dockerfile + docker-compose.yml │
└─────────────────────────┴────────────────────────────────────────────┘
Supported
Loaders: Vanilla · Paper · Fabric · Forge · NeoForge · Quilt
Mod sources: Modrinth · Direct URL · Local file
```
mcenv is a free Minecraft Java mod. Compatible with Minecraft 1.21, 1.21.1, 1.21.10, 1.21.11 and newer. Downloaded 2 times (via Hangar). Download it and open it directly in the game.
Explore more