logo
icon

MCJE Server

Minecraft Java Edition Server with automatic version management and easy configuration

PlatformZeabur
Deployed3
PublisherLovelyGuYiMeng
Deployed3 times
PublisherLovelyGuYiMeng
Created2026-01-16
Services
service icon

Java Edition (itzg/minecraft-server)

This image supports automatic mapping: any key in server.properties can be used as an environment variable by converting it to UPPERCASE and replacing hyphens - with underscores _.

1. Core Container Options

These variables control how the server starts, version downloads, and memory allocation.

VariableValues / ExamplesDescription
EULATRUERequired. Accept End User License Agreement.
TYPEVANILLA, PAPER, FORGE, CURSEFORGE etc.Server type. See below for full list.
VERSIONLATEST, SNAPSHOT, 1.20.1Game version.
INIT_MEMORY1G, 512MJVM initial heap memory (Xms).
MEMORY2G, 4096MJVM maximum heap memory (Xmx).
JVM_OPTS-XX:+UseG1GCCustom Java startup parameters.
UID / GID1000Specify user ID/group ID.
TZAsia/ShanghaiContainer timezone.

Supported Server Types Detail:

TypeCategoryDescription
VANILLAOfficialStandard Minecraft server provided by Mojang.
PAPERPlugin ServerHigh-performance fork of Spigot, recommended for most servers.
PURPURPlugin ServerFork of Paper with extensive configuration options for gameplay features.
FOLIAPlugin ServerExperimental Paper fork with regionized multithreading for high player counts.
FORGEMod ServerThe classic, heavy-duty mod loader for deep modifications.
NEOFORGEMod ServerModern fork of Forge (1.20.2+) with improved performance.
FABRICMod ServerLightweight, modular mod loader known for fast updates.
QUILTMod ServerCommunity-driven open-source fork of Fabric.
MOHISTHybridAllows running Forge mods and Bukkit/Spigot plugins simultaneously.
WATERFALLProxy(Legacy) BungeeCord fork for connecting multiple servers.
VELOCITYProxyModern, high-performance proxy server (recommended over Waterfall).
CURSEFORGEModpackDownloads a specific modpack from CurseForge (requires API Key).
AUTO_CURSEFORGEModpackAutomatically finds and downloads a CurseForge modpack.
MODRINTHModpackDownloads a modpack from the Modrinth platform.

2. Mods & Plugins Management

VariableExampleDescription
PLUGINShttp://.../p1.jar,\nhttp://.../p2.jarComma or newline separated URLs for automatic plugin download.
MODShttp://.../m1.jarComma or newline separated URLs for automatic mod download.
REMOVE_OLD_MODSTRUE, FALSERemove old mods on startup (recommended for sync).
REMOVE_OLD_MODS_DEPTH1Directory depth for old mod removal.
EXCLUDE_MODSoptifineExclude mods from list (regex match).
MODPACKhttp://.../pack.zipGeneric modpack download link.

3. Modpack Platforms (CurseForge / Modrinth)

VariableDescription
CF_API_KEYRequired. CurseForge Core API Key (must apply separately).
CF_SLUGPack name from CF URL (e.g., rlcraft).
CF_FILE_IDSpecific file ID (leave empty for latest).
MODRINTH_SLUGModrinth platform modpack ID.
MODRINTH_VERSION_IDModrinth specific version ID.

4. server.properties Mapping (Common Complete Set)

These variables directly modify server.properties. If not listed, use the "UPPERCASE+underscore" rule.

Environment Variableserver.propertiesValuesDescription
MOTDmotdStringServer title message.
LEVEL_NAMElevel-nameStringWorld folder name.
LEVEL_SEEDlevel-seedRandom stringMap seed.
DIFFICULTYdifficultypeaceful, easy, normal, hardDifficulty level.
GAMEMODEgamemodesurvival, creative, adventure, spectatorDefault game mode.
PVPpvptrue, falseAllow player vs player combat.
MAX_PLAYERSmax-players20Maximum player count.
ONLINE_MODEonline-modetrue, falseOnline authentication (false = offline mode).
VIEW_DISTANCEview-distance10View distance (chunks).
SIMULATION_DISTANCEsimulation-distance10Simulation distance (1.18+).
ALLOW_FLIGHTallow-flighttrue, falseAllow flight (anti-cheat).
ALLOW_NETHERallow-nethertrue, falseEnable Nether dimension.
WHITE_LISTwhite-listtrue, falseEnable whitelist.
ENFORCE_WHITELISTenforce-whitelisttrue, falseForce online players to be whitelisted.
GENERATE_STRUCTURESgenerate-structurestrue, falseGenerate villages/dungeons.
HARDCOREhardcoretrue, falseHardcore mode (ban on death).
SNOOPER_ENABLEDsnooper-enabledtrue, falseData collection.
ENABLE_COMMAND_BLOCKenable-command-blocktrue, falseEnable command blocks.
SPAWN_PROTECTIONspawn-protection16Spawn point protection radius.
FORCE_GAMEMODEforce-gamemodetrue, falseForce reset mode on player rejoin.

5. Running Server Commands via Console (RCON)

RCON is enabled by default in this image with a randomly generated password for security. You can execute Minecraft commands directly through the built-in RCON client without exposing external ports.

How to use:

  1. Open the Zeabur service console page
  2. Click the Command button in the console toolbar
  3. Type rcon-cli and press Enter to start an interactive RCON session
  4. Now you can execute any Minecraft server command, such as:
    • list — Show online players
    • whitelist add <player> — Add player to whitelist
    • time set day — Set time to daytime
    • op <player> — Grant operator privileges

Note: To exit RCON, type quit or press Ctrl+C. Do not expose RCON port 25575 externally unless you have set a secure RCON_PASSWORD.

6. Start Container Without Starting Server (For File Management)

If you need to use Zeabur's file manager to modify configurations or upload files without launching the Minecraft server, you can keep the container running idle.

How to configure:

  1. Go to the service's Settings in Zeabur
  2. Find the Startup Command field
  3. Enter sleep infinity (or sleep 365d if your environment requires a specific duration)
  4. Save and redeploy/restart the service
  5. The container will now stay online without starting the game server — you can safely access /data via the file manager

Important: After finishing file operations, remember to clear or restore the default startup command so the server can launch normally on next restart.