Each input affects the server’s behavior, performance, or gameplay. Below is an overview of the properties, descriptions, and recommendations for whether or not to modify them.

Basic Server Settings

PropertyDescriptionRecommended Setting
server-portThe port the server listens on (default: 25565).Keep default unless changing port.
server-ipThe IP address the server binds to. Leave empty for auto-detection.Leave empty unless hosting behind NAT.
motdMessage displayed in the server list. Supports formatting codes.Customizable to give your server personality.
online-modeVerifies player accounts through Mojang (true or false).true for public servers. Use false only for offline/LAN use.
max-playersMax concurrent players (default: 20).Adjust based on hardware and player expectations.
level-nameWorld folder name (default: world).Change if using custom world folders.
level-seedCustom world generation seed.Optional for unique maps.

World and Gameplay Settings

PropertyDescriptionRecommended Setting
gamemodeDefault gamemode for new players: survival, creative, adventure, spectator.Survival for most gameplay.
difficultyDifficulty level: peaceful, easy, normal, hard.Normal for balanced play.
pvpEnables player vs. player combat (true or false).True unless PvE only.
spawn-animalsAllow animal spawning (true or false).True unless performance issues.
spawn-monstersAllow monster spawning (true or false).True unless peaceful mode.
spawn-npcsEnables NPCs like villagers (true or false).True for most servers.
hardcoreIf enabled, players get only one life (true or false).False unless hardcore gameplay.
generate-structuresEnable village and dungeon generation (true or false).True for richer worlds.
max-world-sizeLimits the size of generated chunks (default: 29999984).Optional; limit for performance.
view-distanceSets chunk rendering distance for players (default: 10).8-12 for a balance of visuals and performance.
simulation-distanceHow far entities are updated around players (default: 10).6-10 to optimize.

Player Management and Permissions

PropertyDescriptionRecommended Setting
whitelistUse whitelist to control who can join (true or false).Optional for private servers.
enforce-whitelistPrevents non-whitelisted players from joining (true or false).False unless strict control.
op-permission-levelControl operator permissions: 1-4.2-3 for general admins.
max-build-heightLimits how high players can build (default: 256).Increase for creative builds.
spawn-protectionRadius around spawn point where non-ops cannot modify blocks.16 for protection; 0 to disable.
allow-flightAllow players to fly (true or false).True for creative; False otherwise.

Performance Settings

PropertyDescriptionRecommended Setting
network-compression-thresholdCompress packets (default: 256).256 or lower for slower networks.
max-tick-timeMax time (ms) for a tick before the server stops (default: 60000).60000 unless debugging.
max-threadsThreads for parallel processing (if supported).Leave default unless optimizing.
enable-jmx-monitoringEnables Java monitoring (true or false).False unless required for diagnostics.
use-native-transportOptimizes performance on certain OS (true or false).True for most servers.
rate-limitLimits packets per second per player (default: 0 = unlimited).Optional to prevent abuse.
enable-command-blockEnables command blocks (true or false).True for servers with custom mechanics.

Advanced and Experimental Settings

PropertyDescriptionRecommended Setting
sync-chunk-writesControls chunk save behavior (true or false).True for safety, False for speed.
allow-netherEnable access to the Nether (true or false).True for most servers.
enable-statusShow server status in the server list (true or false).True to attract players.
resource-packURL for server resource pack.Optional for custom textures.
resource-pack-promptAsk players before downloading resource packs (true or false).True for user control.
resource-pack-sha1SHA-1 hash of the resource pack to ensure integrity.Optional but recommended.

Conclusion

Most properties depend on the type of server you’re running (survival, creative, PvP, etc.) and the hardware available. It’s generally recommended to:

  1. Adjust performance settings based on your server’s hardware.
  2. Enable features that match your intended gameplay (e.g., PvP, animals, structures).
  3. Use a whitelist or rate-limiting if you expect a large number of players to prevent abuse.

If you’re running a small or performance-limited server, lowering the view-distance and simulation-distance will help, while settings like online-mode should be left enabled for security.