Running the Server
Esta página aún no está disponible en tu idioma.
This guide covers running Steel and understanding its behavior.
Starting the Server
Section titled “Starting the Server”# From the SteelMC directorycargo run --release
# Or run a pre-built binary./steelOn startup, Steel will:
- Load or create
config/steel_config.json5 - Validate the configuration
- Initialize the dual async runtimes
- Start listening on the configured port (default: 25565)
Connecting
Section titled “Connecting”Use Minecraft Java Edition 1.21.11 to connect:
- Open Minecraft and go to Multiplayer
- Add a server with address
localhost(or your server’s IP) - Connect and play
Graceful Shutdown
Section titled “Graceful Shutdown”Press Ctrl+C to stop the server. Steel will:
- Stop accepting new connections
- Save all modified chunks to disk
- Exit cleanly
You’ll see output like:
Saved 42 chunksWorld Data
Section titled “World Data”Steel stores world data in the current directory:
config/- Configuration filesworld/- World save data (chunks in NBT format)
Server Status
Section titled “Server Status”The tab list displays real-time performance metrics:
- TPS - Ticks per second (target: 20)
- MSPT - Milliseconds per tick (lower is better)
Tick Rate Modes
Section titled “Tick Rate Modes”Steel supports different tick rate modes for debugging:
- Normal - Standard 20 TPS
- Frozen - Paused (no ticks)
- Sprint - Maximum speed
Troubleshooting
Section titled “Troubleshooting”Port Already in Use
Section titled “Port Already in Use”If you see a bind error, another process is using port 25565. Either:
- Stop the other process
- Change
server_portin your config
Client Can’t Connect
Section titled “Client Can’t Connect”Ensure:
- The client is running Minecraft 1.21.11
online_modematches your setup (set tofalsefor offline/cracked clients)- Firewall allows connections on the configured port
Configuration Errors
Section titled “Configuration Errors”If Steel exits immediately, check the error message. Common issues:
simulation_distancegreater thanview_distancecompression.thresholdless than 256enforce_secure_chatenabled withoutonline_modeandencryption