Skip to content

Server Configuration

SteelMC is configured through a JSON5 configuration file located at config/steel_config.json5. This page documents all available options.

OptionTypeDefaultDescription
server_portu1625565The port the server listens on (1-65535)
seedString""World generation seed (empty = random)
max_playersu3220Maximum players allowed simultaneously
view_distanceu810Maximum view distance in chunks (1-32)
simulation_distanceu810Maximum simulation distance in chunks (1-32)
motdString"A Steel Server"Message displayed in server list
OptionTypeDefaultDescription
online_modebooltrueUse Mojang authentication for player verification
encryptionbooltrueEnable encryption for client-server communication
enforce_secure_chatboolfalseEnforce secure chat (requires online_mode and encryption)
OptionTypeDefaultDescription
use_faviconbooltrueWhether to use a custom favicon
faviconString"config/favicon.png"Path to favicon file (64x64 PNG)

Network compression reduces bandwidth usage at the cost of CPU.

OptionTypeDefaultValid RangeDescription
compression.thresholdu32256≥256Packet size threshold for compression
compression.levelu841-9Compression level (1=fast, 9=best)

Server links are displayed in the multiplayer menu.

OptionTypeDefaultDescription
server_links.enablebooltrueEnable server links feature
server_links.linksArraySee belowList of links to display

See Server Links Guide for detailed configuration.

/config/steel_config.json5
{
server_port: 25565,
seed: "my_awesome_seed",
max_players: 50,
view_distance: 12,
simulation_distance: 10,
online_mode: true,
encryption: true,
motd: "Welcome to my Steel server!",
use_favicon: true,
favicon: "config/favicon.png",
enforce_secure_chat: false,
compression: {
threshold: 256,
level: 4
},
server_links: {
enable: true,
links: [
{
label: { text: "Discord" },
url: "https://discord.gg/example"
}
]
}
}

The server validates configuration on startup:

  • view_distance must be between 1 and 64
  • simulation_distance must be between 1 and 32
  • compression.threshold must be at least 256
  • compression.level must be between 1 and 9
  • If enforce_secure_chat is true, both online_mode and encryption must be true