
Dedicated Server Template
Minecraft Java Edition dedicated server. The official Mojang server software with automatic Java version detection, JAR management, and mod support. Runs in Docker for isolated resource management.
Deploy and manage your own Minecraft - Java Edition dedicated server with GameCP's free game server control panel. This template provides a production-ready server configuration with one-click installation, automatic updates via SteamCMD, and full environment variable management. Whether you're hosting for a small group of friends or running a large community server, GameCP makes Minecraft - Java Edition server administration simple and reliable.
+50 MiB per player
Small server, 1-10 players
Community server, 10-40 players
Large server, 40-200 players
Standard Minecraft Java server startup
Optimized JVM flags recommended by Aikar for Minecraft servers. Best for servers with 10+ players.
Generational ZGC for ultra-low pause times. Best for competitive or latency-sensitive servers. Requires Java 21+.
Server Name
Server name displayed in the server browser
(empty)Max Players
Maximum number of concurrent players
20Message of the Day
Message of the Day shown in the server browser. Defaults to the server name.
${SERVER_NAME}Game Mode
Default game mode for new players
survivalDifficulty
Server difficulty level
easyWorld Name
Name of the world/level folder
worldEnable PvP
Allow players to fight each other
trueSpawn Monsters
Allow monsters to spawn naturally
trueWhitelist
Only allow whitelisted players to join
falseAllow Flight
Allow players to fly in survival mode. Enable this if using mods or Creative mode to prevent kick for "flying".
falseSpawn Protection
Radius of blocks around spawn that only ops can break. Set to 0 to let everyone build at spawn.
16Install Version
Version to use when installing or reinstalling the server. Use 'latest' for the newest release, or specify a version like '1.21.11'. Admin only.
latestHardcore Mode
Players are banned when they die
falseForce Game Mode
Force players to the default game mode
falseAllow Nether
Allow players to travel to the Nether
trueWorld Seed
Seed for world generation. Leave empty for a random seed. Set this before the first start to control your world layout.
(empty)World Type
Type of world to generate
minecraft:normalGenerate Structures
Generate villages, dungeons, etc.
trueOnline Mode
Verify players with Mojang servers (disable for cracked servers)
trueEnforce Whitelist
Automatically remove non-whitelisted players
falseEnforce Secure Profile
Require players to have a valid profile
trueEnable RCON
Enable remote console access
falseRCON Password
Password for RCON access
(empty)Enable Query
Enable server query protocol
trueEnable Status
Show server in server list
trueEnable Command Blocks
Allow command blocks to be used
falseView Distance
How far players can see in chunks. 10 is the sweet spot for most servers. Lower to 6-8 for better performance on limited hardware.
10Simulation Distance
Maximum chunk simulation distance (3-32)
10Max Tick Time
Maximum time a single tick can take (milliseconds)
60000Network Compression
Compress packets larger than this size (bytes)
256Max Memory (Xmx)
Maximum memory allocation for the Java process (e.g., 2G, 4G, 8G)
2GInitial Memory (Xms)
Initial memory allocation for Java (e.g., 1G, 2G)
1GDownloads the Minecraft server JAR file and accepts the EULA.
Cleans up old log files before starting the server
Main Minecraft server configuration file. Uses Rules Mode to update key=value pairs in the server-generated server.properties file.
//server.propertiespropertieseclipse-temurin:21-jre-alpine
minecraft-java
GameCP Team
February 25, 2026
Information about the origin and version of this game configuration.
GameCP Team
1
gamecp