server.properties Settings
Requirements
- A purchased Minecraft server
- Access to the FTP server
Configuration file
The configuration file is located in the server's root directory
Changes Only in the Admin Panel
We recommend making changes in the server settings! Changes made via FTP may not be reflected in the admin panel.
# =========================================================
# Minecraft Java Edition 26.3 - server.properties
# =========================================================
# -------------------------
# WORLD
# -------------------------
# World folder name
level-name=world
# World seed. Empty = random seed.
level-seed=
# World generation type
level-type=minecraft:normal
# Generate structures such as villages and temples
generate-structures=true
# -------------------------
# GAMEPLAY
# -------------------------
# Default game mode:
# 0 = Survival
# 1 = Creative
# 2 = Adventure
# 3 = Spectator
gamemode=0
# Difficulty:
# 0 = Peaceful
# 1 = Easy
# 2 = Normal
# 3 = Hard
difficulty=0
# Force the default game mode when players join
force-gamemode=false
# Hardcore mode
hardcore=false
# PvP:
# true = players can attack other players
# false = PvP is disabled
pvp=false
# Enable command blocks
enable-command-block=false
# Allow flight-related client modifications
allow-flight=false
# -------------------------
# PLAYERS
# -------------------------
# Maximum number of simultaneous players
max-players=20
# Whitelist:
# true = only whitelisted players can join
# false = whitelist is disabled
white-list=false
# Player authentication through Mojang/Microsoft
# true = authenticated accounts only
# false = offline/cracked mode
online-mode=true
# -------------------------
# NETWORK
# -------------------------
# Server port
server-port=25015
# IP address the server should bind to
# Recommended to leave empty
server-ip=
# Server Query
# Allows external tools to retrieve server information
enable-query=false
# -------------------------
# PERFORMANCE
# -------------------------
# View distance in chunks
# 6-8 = good balance
# 10+ = higher performance requirements
view-distance=8
# Simulation distance in chunks
# Affects mobs, redstone, farms, etc.
simulation-distance=8
# -------------------------
# RESOURCE PACK
# -------------------------
# URL to the resource pack (.zip)
# Empty = no resource pack
resource-pack=
# -------------------------
# SERVER DISPLAY
# -------------------------
# Server text displayed in the Multiplayer menu
motd=Hicoria.com
# -------------------------
# RCON
# -------------------------
# Remote server administration
# false = disabled
# true = enabled
enable-rcon=false
# =========================================================
# NOTES
# =========================================================
# Do not use the following options from older versions:
#
# announce-player-achievements - do not use from 1.12
# max-build-height - do not use from 1.17
# snooper-enabled - do not use from 1.18
# spawn-animals - do not use from 1.21.2
# spawn-npcs - do not use from 1.21.2
# allow-nether - do not use from 1.21.9
# spawn-monsters - do not use from 1.21.9
# enable-command-block - do not use from 1.21.9
# pvp - do not use from 1.21.9
# server-name - legacy / do not use in modern versions
#
# These options have been removed or are obsolete.
Different versions
Individual items may vary across different versions of the Minecraft server.
Labels
- true = true, enable
- false = false, disable