Home/Minecraft Hosting/server.properties Generator

Free tool

Minecraft server.properties Generator

Set the common settings, watch the file change as you go, and copy it into your server. Defaults and allowed values follow Minecraft Java 26.3, the latest release.

A server to put it on

  • Standard 4GB AMD EPYC 7443€3.60
  • Premium 4GB Ryzen 9 9950X€6.99
  • Premium 8GB Ryzen 9 9950X€13.99
See all plans

Monthly prices for Europe, VAT included. The plan picker shows every region.

Your server's Minecraft version

26.3 is the latest Java release. Since 1.21.9, PvP, command blocks, the Nether and monster spawning are game rules, so they come out as commands, not as lines in the file.

Defaults, nothing changed yetSee the file
Server list

The text under your server's name in the multiplayer list. & and § colour codes work. For two lines in colour, use the MOTD generator.Default: A Minecraft Server.

The most players that can be online at the same time. Default: 20.

Shows the server as online in the server list. Off hides it there, but players can still join with the address. Default: true.

Leaves the names of online players out of the server list. Default: false.

Players and access

Only players on the whitelist can join. 26.3 turns it on for new servers: add players with /whitelist add <name>, or turn it off for a public server. Default: true.

Kicks online players who are not on the whitelist when the whitelist reloads. Default: false.

Checks every player's account with Mojang. Keep it on, unless a proxy such as Velocity checks accounts in front of this server. Default: true.

Only lets in players with a Mojang-signed chat key. Off leaves chat unsigned, and players see a warning when they join. Default: true.

Kicks players who have been idle for this many minutes. 0 never kicks anyone. Default: 0.

The permission level /op gives. Each level includes the ones below it. Default: 4.

Writes player IP addresses into the console and the log files. Off keeps them out. Default: true.

Gameplay

The game mode new players start in. Default: survival.

Puts every player back in that game mode each time they join. Default: false.

How much damage mobs do and how hunger and poison work. Default: easy.

Hardcore for a world the server creates: locked to hard difficulty, and players cannot respawn. Default: false.

Lets players fly in Survival with mods. With it off, players who stay in the air for about 5 seconds are kicked; some modpacks need it on. Default: false.

Only ops can build within this many blocks of the world spawn: 16 covers a 33 by 33 square, 0 turns it off. It only works once the server has an op. Default: 16.

World

Used when the server creates a new world. An existing world keeps its seed and type.

The world folder. Set it to the name of a world folder you uploaded to load that world. Default: world.

The seed for a new world. Leave it blank for a random one. Default: blank.

The world preset for a new world. Modpacks can add their own presets; pick Other to type one. Default: minecraft:normal.

Villages, temples and other structures in newly generated chunks. Default: true.

How far from the centre of the world the world border can reach, in blocks. Default: 29999984.

Performance

How many chunks around each player the server sends, as a radius. Lower it if the server lags. Default: 10.

How far from players, in chunks, the server keeps updating mobs and other entities. Lower it if the server lags. Default: 10.

How far away players see entities, as a percentage of the normal range. Higher values cost more. Default: 100.

The server saves and stops updating the world this many seconds after the last player leaves. 0 keeps it running. Default: 60.

Resource pack

A download link to a resource pack that players get when they join. Default: blank.

The pack's SHA-1 hash in lowercase hex, so the game can check the download. Default: blank.

Disconnects players who decline the resource pack. Default: false.

Game rules

Game rules, not in the file

Since 1.21.9 these four are game rules: they live in the world, not in server.properties. Change one here and you get the console command for it.

Whether players can hurt each other. Game rule, default true. Up to 1.21.8 this was pvp (default true).

Whether command blocks run their commands. Game rule, default true. Up to 1.21.8 this was enable-command-block (default false).

Whether players can enter the Nether through portals. Game rule, default true. Up to 1.21.8 this was allow-nether (default true).

Whether monsters spawn naturally. Game rule, default true. Up to 1.21.8 this was spawn-monsters (default true).

server.properties, defaults

#Minecraft server properties
#Java Edition 1.21.9 to 26.3, made with space-node.net/minecraft/server-properties-generator
allow-flight=false
difficulty=easy
enable-status=true
enforce-secure-profile=true
enforce-whitelist=false
entity-broadcast-range-percentage=100
force-gamemode=false
gamemode=survival
generate-structures=true
hardcore=false
hide-online-players=false
level-name=world
level-seed=
level-type=minecraft\:normal
log-ips=true
max-players=20
max-world-size=29999984
motd=A Minecraft Server
online-mode=true
op-permission-level=4
pause-when-empty-seconds=60
player-idle-timeout=0
require-resource-pack=false
resource-pack=
resource-pack-sha1=
simulation-distance=10
spawn-protection=16
view-distance=10
white-list=true

PvP, command blocks, the Nether and monster spawning are on their defaults (true), so there is no game rule to run.

Replace the file, or paste the lines over the matching ones. The server adds any line you leave out with its default value, and reads the file when it starts, so restart it after saving.

Need a server for it? 4GB for €3.60 a month

Where server.properties lives on a hosted server

The file sits in the server's main folder, next to the server jar, eula.txt and the world folder. On our Minecraft servers you open it in the Pterodactyl panel's file manager or over SFTP, paste in what you made here, save, and restart the server from the panel. There is no port forwarding to do.

Leave server-ip, server-port and query.port out of your changes. Pterodactyl's own Minecraft eggs write those three from your server's allocation before every start (the Paper egg, how eggs edit files), which is why the generator leaves them out.

max-players, view-distance and simulation-distance drive how much memory a server needs. The RAM calculator works out a size from your players, mods and view distance.

Build by RAM, not guesswork

Pick the plan you actually need

Choose a region, choose Standard or Premium, then pick RAM. The summary stays visible so price, players, storage, and hardware are easy to compare.

Choose the region

Pick the region closest to most of your players.

Choose the hardware line

Select RAM memory

RecommendedBuy MC Diamond
Popular

Order summary

LocationNetherlands Flag, low latency nodeNetherlands
StockAvailable
TierPremium
MC Diamond Minecraft Server Hosting Plan Icon

Selected plan

MC Diamond

Modpacks start here

  • Ryzen 9 9950XShared CPU, 600 to 800% (fair use)
  • 20-30 Players (no hard cap)
  • 8GB DDR5 RAM
  • 80GB NVMe
  • Pterodactyl panel included
  • DDoS Protection Included, Cloudflare Magic Transit

Player counts are a recommendation based on RAM, not a hard limit. You can connect more players than listed.

3 server port allocations included. Up to 5 available on request.

Monthly price
€13.99/mo
Create server

Instant setup in your selected region.

CPU matters

Minecraft cares about single-thread speed. In the Netherlands, Germany, Poland and Canada, Premium runs Ryzen 9 9950X. Standard runs the AMD EPYC 7443 in the Netherlands, Germany and Poland and Ryzen 9 3900X-class in Canada. California and Virginia run the 7950X3D on Standard and the 9950X on Premium, Singapore and Australia the 5950X, and India the 3900X-class. The CPU is shared on every plan.

Protection choices

DDoS protection is included on every plan in every region. Premium in Europe and Canada and every USA plan run behind Cloudflare Magic Transit; Standard, Singapore, Australia and India use standard protection. There is no paid add-on.

Panel included

Console, files, backups, schedules, startup flags, and sub-users are ready.

9 regions

Netherlands, Germany, Poland, Canada, USA (California), USA (Virginia), Singapore, India (Mumbai), and Australia. EU, NA, Asia, South Asia, and Oceania covered.

Need something bigger?

Running Velocity, a big modpack, or a server network? Tell us what you are building and we will size it properly.

Request custom plan

Every setting in the generator, with its 26.3 default

Defaults as a 26.3 server writes them for a new file, from the Minecraft Wiki's server.properties article, which matches the 26.3 server itself. 26.3 came out on 15 September 2026 and is the latest release in Mojang's version list, checked 25 October 2026.

server.properties settings with their default on 26.3, the allowed values and what they do
SettingDefaultAllowedWhat it does
Server list
motdA Minecraft ServerText with colour codesThe text under your server's name in the multiplayer list. & and § colour codes work.
max-players200 to 2147483647The most players that can be online at the same time.
enable-statustruetrue or falseShows the server as online in the server list. Off hides it there, but players can still join with the address.
hide-online-playersfalsetrue or falseLeaves the names of online players out of the server list. Since 1.18.
Players and access
white-listtruefalse up to 26.2true or falseOnly players on the whitelist can join. 26.3 turns it on for new servers: add players with /whitelist add <name>, or turn it off for a public server.
enforce-whitelistfalsetrue or falseKicks online players who are not on the whitelist when the whitelist reloads.
online-modetruetrue or falseChecks every player's account with Mojang. Keep it on, unless a proxy such as Velocity checks accounts in front of this server.
enforce-secure-profiletruetrue or falseOnly lets in players with a Mojang-signed chat key. Off leaves chat unsigned, and players see a warning when they join. Since 1.19.
player-idle-timeout00 or more minutesKicks players who have been idle for this many minutes. 0 never kicks anyone.
op-permission-level40 to 4The permission level /op gives. Each level includes the ones below it.
log-ipstruetrue or falseWrites player IP addresses into the console and the log files. Off keeps them out. Since 1.20.2.
Gameplay
gamemodesurvivalsurvival, creative, adventure, spectatorThe game mode new players start in.
force-gamemodefalsetrue or falsePuts every player back in that game mode each time they join.
difficultyeasypeaceful, easy, normal, hardHow much damage mobs do and how hunger and poison work.
hardcorefalsetrue or falseHardcore for a world the server creates: locked to hard difficulty, and players cannot respawn.
allow-flightfalsetrue or falseLets players fly in Survival with mods. With it off, players who stay in the air for about 5 seconds are kicked; some modpacks need it on.
spawn-protection160 or more blocksOnly ops can build within this many blocks of the world spawn: 16 covers a 33 by 33 square, 0 turns it off. It only works once the server has an op.
World
level-nameworldA folder nameThe world folder. Set it to the name of a world folder you uploaded to load that world.
level-seed(blank)Any number or text, or blankThe seed for a new world. Leave it blank for a random one.
level-typeminecraft:normalnormal, flat, large_biomes, amplified, single_biome_surface, or a modpack presetThe world preset for a new world. Modpacks can add their own presets; pick Other to type one.
generate-structurestruetrue or falseVillages, temples and other structures in newly generated chunks.
max-world-size299999841 to 29999984How far from the centre of the world the world border can reach, in blocks.
Performance
view-distance103 to 32How many chunks around each player the server sends, as a radius. Lower it if the server lags.
simulation-distance103 to 32How far from players, in chunks, the server keeps updating mobs and other entities. Lower it if the server lags. Since 1.18.
entity-broadcast-range-percentage10010 to 1000How far away players see entities, as a percentage of the normal range. Higher values cost more.
pause-when-empty-seconds600 or more seconds (0 turns the pause off)The server saves and stops updating the world this many seconds after the last player leaves. 0 keeps it running. Since 1.21.2.
Resource pack
resource-pack(blank)A URL, or blankA download link to a resource pack that players get when they join.
resource-pack-sha1(blank)40 hex characters, or blankThe pack's SHA-1 hash in lowercase hex, so the game can check the download.
require-resource-packfalsetrue or falseDisconnects players who decline the resource pack.

The four settings that became game rules

Minecraft 1.21.9 took four settings out of server.properties and made them game rules, which you change with /gamerule while the server runs (25w35a). 1.21.11 renamed game rules to lower case with underscores, which is how 26.3 spells them (Game rule). All four default to true.

Old server.properties settings and the game rules that replaced them
Up to 1.21.8Game rule on 1.21.11 and 26.3On 1.21.9 and 1.21.10To switch it off
pvp=trueWhether players can hurt each other.pvppvpgamerule pvp false
enable-command-block=falseWhether command blocks run their commands.command_blocks_workcommandBlocksEnabledgamerule command_blocks_work false
allow-nether=trueWhether players can enter the Nether through portals.allow_entering_nether_using_portalsallowEnteringNetherUsingPortalsgamerule allow_entering_nether_using_portals false
spawn-monsters=trueWhether monsters spawn naturally.spawn_monstersspawnMonstersgamerule spawn_monsters false

Command blocks are the one to watch after an update: enable-command-block was false by default, while the game rule command_blocks_work is true. Type the commands in the server console as shown, or in chat with a / in front as an op.

Example: a public survival server on 26.3

A server for about 30 friends who should be able to join without a whitelist. These are the only lines that change; the server keeps the defaults for the rest, and PvP goes off with one game rule.

Changed lines in server.properties

difficulty=normal
max-players=30
motd=\u00A76Pinewood SMP \u00A77| \u00A7aSurvival for everyone
simulation-distance=6
spawn-protection=0
view-distance=8
white-list=false

Run in the server console

gamerule pvp false
  • white-list=false: anyone can join; 26.3 would otherwise only let in players on the whitelist.
  • max-players=30 and difficulty=normal for a group of friends who want some challenge.
  • view-distance=8 and simulation-distance=6 load fewer chunks than the default of 10 when many players spread out.
  • spawn-protection=0 so everyone can build at spawn, and a coloured motd, where \u00A7 is the § sign.
  • gamerule pvp false in the console, because PvP is a game rule since 1.21.9.

server.properties FAQ

Minecraft servers from €2.70 a month

NVMe storage and DDoS protection on every plan. Install a CurseForge or Modrinth pack from the panel, or upload your own server files over SFTP.

See Minecraft plans