Major Incident: We are currently experiencing service disruptions. Our team is working to resolve this issue.

server.properties Generator

Generate Minecraft server.properties configuration files with optimized presets for different server types

Configuration

Basic Settings

The port your server listens on (default: 25565)

Maximum number of concurrent players

Displayed in the server list

Optional server name (Minecraft 1.20+)

World Settings

Name of the world folder

Seed for world generation (leave empty for random)

World generation type

Maximum world radius in blocks

Gameplay Settings

Server difficulty level

Default player gamemode

Force players to join in the default gamemode

Players are banned on death, difficulty locked to hard

Enable player vs player combat

World Generation

Villages, temples, and other structures

Allow players to travel to the Nether

Passive mob spawning

Hostile mob spawning

Villager spawning

Performance Settings

How far players can see in chunks (2-32)

How far entities and redstone are active (2-32)

Compress packets larger than this (bytes). -1 to disable

Watchdog timeout in milliseconds. -1 to disable

Controls entity visibility distance (10-1000)

Security & Network

Authenticate players through Mojang servers

Block players using proxies/VPNs

Require signed chat messages (1.19+)

Hide player list in server status

Player Settings

Allow flight in survival mode

Kick idle players after N minutes (0 to disable)

Radius around spawn where non-ops can't build

Server Features

Allow command blocks to function

Enable server list status/ping

Allow player transfers from other servers (1.20.5+)

RCON (Remote Console)

Enable remote console access

Preview
#Minecraft server properties
#Generated by ChunkPod Tools - 2026-02-07T14:25:07.138Z

# Basic Settings
server-port=25565
max-players=20
motd=A Minecraft Server

# World Settings
level-name=world
level-type=minecraft:normal
max-world-size=29999984

# Gameplay Settings
difficulty=easy
gamemode=survival
force-gamemode=false
hardcore=false
pvp=true

# World Generation
generate-structures=true
allow-nether=true
spawn-animals=true
spawn-monsters=true
spawn-npcs=true

# Performance Settings
view-distance=10
simulation-distance=10
network-compression-threshold=256
max-tick-time=60000
entity-broadcast-range-percentage=100
max-chained-neighbor-updates=1000000

# Security & Network
online-mode=true
prevent-proxy-connections=false
enforce-secure-profile=true
hide-online-players=false
log-ips=true

# Player Settings
allow-flight=false
player-idle-timeout=0
spawn-protection=16

# Server Features
enable-command-block=false
enable-status=true
accepts-transfers=false

# Permissions
op-permission-level=4
function-permission-level=2

# Console & Broadcasting
broadcast-console-to-ops=true
broadcast-rcon-to-ops=true

# RCON
enable-rcon=false

# Query
enable-query=false

# Advanced Settings
use-native-transport=true
sync-chunk-writes=true
region-file-compression=deflate
rate-limit=0
pause-when-empty-seconds=-1
โš™๏ธWhat is server.properties?

The server.properties file is the primary configuration file for Minecraft Java Edition servers. It contains essential settings that control how your server behaves, including gameplay rules, performance parameters, network settings, and world generation options. This file is automatically created when you first run a Minecraft server and is located in the server's root directory.

Understanding and properly configuring your server.properties file is crucial for running a successful Minecraft server. Whether you're hosting a small server for friends or managing a large community, these settings determine everything from player limits to world generation rules.

๐Ÿ”งKey Configuration Options

Basic Server Settings

  • server-port: The port your server listens on (default: 25565). Only change this if you're running multiple servers or have port conflicts.
  • max-players: Maximum number of concurrent players. Set this based on your server's RAM and CPU resources. A general rule is 1GB RAM per 5-10 players for vanilla servers.
  • motd: Message of the Day displayed in the server list. Supports Minecraft color codes (ยง) for formatting.
  • online-mode Important: When true, authenticates players through Mojang's servers. Set to false only for offline/LAN servers.

World Generation

  • level-type: World type (default, flat, large biomes, amplified, single biome). Use "minecraft:flat" for superflat worlds.
  • level-seed: Seed for world generation. Leave empty for random seed, or specify a seed for reproducible worlds.
  • generate-structures: Controls whether villages, temples, and other structures spawn. Disable for custom maps.
  • max-world-size: Maximum world radius in blocks. Default is 29,999,984 (about 30 million blocks from spawn).

Performance Settings

  • view-distance Critical: How far players can see (in chunks). Range: 2-32. Lower values improve performance but reduce visibility. Recommended: 6-8 for large servers, 10-12 for small servers.
  • simulation-distance: How far entities and redstone are active (in chunks). Should be equal to or lower than view-distance. Recommended: 4-6 for large servers.
  • network-compression-threshold: Packets larger than this (in bytes) are compressed. Lower values reduce bandwidth but increase CPU usage. Set to -1 to disable compression. Recommended: 256 for most servers, 128 for large networks.
  • entity-broadcast-range-percentage: Controls how far entities are visible. Lower values improve performance. Recommended: 80-100 for large servers.

Gameplay Settings

  • difficulty: peaceful, easy, normal, hard. Affects mob damage, hunger depletion, and more.
  • gamemode: survival, creative, adventure, spectator. Default mode for new players.
  • hardcore: When true, players are banned on death and difficulty is locked to hard.
  • pvp: Enable/disable player vs player combat.
  • spawn-protection: Radius around spawn where non-operators cannot build. Set to 0 to disable.

Security Settings

  • enforce-secure-profile 1.19+: Requires players to have signed chat messages. Recommended: true.
  • prevent-proxy-connections: Blocks players using proxies or VPNs. May cause issues with legitimate proxy setups.
  • hide-online-players: Hides player list in server status queries. Useful for privacy.
๐Ÿš€Optimization Tips
โš ๏ธCommon Mistakes

1. Setting view-distance Too High

2. Disabling online-mode Without Understanding

3. Ignoring simulation-distance

Many admins focus on view-distance but ignore simulation-distance, which is equally important for performance. Simulation distance controls where crops grow, redstone activates, and mobs spawn. Set it lower than view-distance for better performance.

4. Setting max-players Too High

Your max-players setting should match your server's capabilities. Vanilla servers typically need 1-2GB RAM per 5-10 players, depending on view distance and plugins. Setting max-players to 100 on a 4GB server will result in severe lag and crashes.

5. Enabling Command Blocks on Public Servers

๐Ÿ”„Server Software Differences

Vanilla vs Paper/Spigot

Paper and Spigot servers have additional configuration files (paper.yml, spigot.yml) that provide more granular control over performance and gameplay. However, server.properties remains the primary configuration file and its settings apply regardless of server software.

Forge/Fabric Modded Servers

โ“Frequently Asked Questions

๐Ÿ”—Related Tools

Once you've configured your server.properties file, you may want to explore our other Minecraft server tools:

  • JVM Arguments Generator - Optimize your server's Java flags for better performance
  • RAM Calculator - Calculate required RAM based on player count and mods
  • View Distance Calculator - Find optimal view distance for your server
  • Whitelist Generator - Create whitelist.json files with automatic UUID lookup