Configure your settings and copy the generated file directly into your server folder.
motd
Message displayed in the server list under the server name.
server-port
Port the server listens on. Java default is 25565.
server-ip
IP address to bind to. Leave empty to bind to all interfaces.
max-players
Maximum number of players allowed on the server at once.
level-name
Name of the world folder. Default is 'world'.
server.properties
#Minecraft server properties
#Generated by mcstate.net โ Thu, 17 Sep 2026 08:16:48 GMT
# === BASIC ===
# Message displayed in the server list under the server name.
motd=A Minecraft Server# Port the server listens on. Java default is 25565.
server-port=25565# IP address to bind to. Leave empty to bind to all interfaces.
server-ip=# Maximum number of players allowed on the server at once.
max-players=20# Name of the world folder. Default is 'world'.
level-name=world# === GAMEPLAY ===
# Gamemode for new players joining the server.
gamemode=survival# Server difficulty. Affects mob spawning and player damage.
difficulty=easy# Players are banned on death. Difficulty is locked to hard.
hardcore=false# Allow players to damage each other.
pvp=true# Allow players using mods to fly in survival mode. Disabling kicks flying players.
allow-flight=false# Allow players to travel to the Nether via portals.
allow-nether=true# Enable command blocks on the server.
enable-command-block=false# Allow animals (cows, pigs, sheep, etc.) to spawn.
spawn-animals=true# Allow hostile mobs to spawn.
spawn-monsters=true# Allow villagers to spawn and exist.
spawn-npcs=true# === WORLD ===
# Seed for world generation. Leave empty for a random seed.
level-seed=# Type of world to generate.
level-type=minecraft:normal# Radius around the spawn point that non-ops cannot build. Set to 0 to disable.
spawn-protection=16# Maximum radius of the world border in blocks.
max-world-size=29999984# === PLAYERS & ACCESS ===
# Authenticate players against Mojang servers. Disable only for offline/LAN play.
online-mode=true# Only allow players on the whitelist to join.
white-list=false# Kick players not on the whitelist when the whitelist is reloaded.
enforce-whitelist=false# Permission level granted to operators. 1=bypass spawn protection, 2=singleplayer commands, 3=manage players, 4=all commands.
op-permission-level=4# Kick players after this many minutes of inactivity. Set to 0 to disable.
player-idle-timeout=0# === PERFORMANCE ===
# Server-side render distance in chunks. Lower values improve performance.
view-distance=10# Distance from players where entities and blocks are ticked.
simulation-distance=10# Compress packets larger than this many bytes. -1 disables, 0 compresses all. 256 is a good default.
network-compression-threshold=256# Milliseconds a single tick may take before the server watchdog crashes it. -1 disables the watchdog.
max-tick-time=60000
WHAT IS SERVER.PROPERTIES?
server.properties is the main configuration file for every Minecraft Java Edition server. It lives in the root of your server folder and is read on startup. Changes take effect after restarting the server or running /reload for some settings.
WHERE TO PUT THE FILE
Place the file in the same directory as your server.jar. If a server.properties file already exists, replace it entirely with the generated one. Back up the old file first if you want to keep your previous settings.