Run a server and join it
On this page you start a server on your own machine, join it with a vanilla client and see what you can do there. You need the tools from Install the tools first.
Start the server
Section titled “Start the server”cargo run --releasecargo run --release -- "<path to a world folder>"The first command generates a world in memory. The second opens a Java Edition save, or creates one if the folder exists but has no saved world settings. An existing save must have the same data version as the game snapshot (26.4-snapshot-7). Saves of other versions do not load, and there are no datafixers.1
Join with a vanilla client
Section titled “Join with a vanilla client”Use a vanilla client of the same snapshot, 26.4-snapshot-7. The server announces itself in the LAN worlds list, and you can also join by the address localhost:25565. The server runs in offline mode.
What you can do
Section titled “What you can do”- Write in chat.
- Run commands from the server console, which reads standard input:
/gamemode,/tp,/summon pig,/time,/fill. To run them from the client you need operator rights. Joining from the same machine does not give them, so after you join, typeop <your name>in the console, or list the player inops.jsonin the working directory of the server and restart it, because the server reads the file only at start.2 Who becomes an operator explains the rules. - Place and break blocks. The default game mode is creative. You can also dig in survival mode, but a tool is no faster than an empty hand yet. A broken block drops items that you can pick up.
- Fly around the generated world and spawn mobs with
/summon: pigs, cows, sheep, chickens and zombified piglins. - Hit living entities. Basic attacks include attack strength, baseline reach checks and server knockback; Status lists the remaining combat limits.3
The server reads its settings from environment variables, for example MCRS_PORT, MCRS_WORLD_SEED, MCRS_WORLD_PRESET (normal or flat) and MCRS_DEFAULT_GAMEMODE. The full list is in server_settings.rs.
Blocks you change are saved
Section titled “Blocks you change are saved”The server writes changed chunks back to the region files of the world folder every 6000 ticks, so a block you break survives a restart. A clean shutdown, the first Ctrl+C, saves the world and the players before the server exits.4 Without a world folder nothing reaches the disk.
The expected console output and a first-run checklist are not written yet. For those details, read the README.
Footnotes
Section titled “Footnotes”-
Not planned#388 The decision that saves are read at exactly the targeted data version, with no datafixers. ↩
-
Works#933 The server binary gives operator rights only to the players that
ops.jsonor theopcommand names. ↩ -
Works#624 The server disconnects and saves every player before a shutdown exits. ↩
Sources and verification
Verified: 26.4-snapshot-7, 1cf84286c, 2026-11-30
- README.md
- crates/mcrs_minecraft_server_settings/src/server_settings.rs
- crates/mcrs_minecraft_engine_server/src/server_network_plugin.rs
- crates/mcrs_minecraft_engine_server/src/loopback_ops.rs
- crates/mcrs_minecraft_engine_block/src/dig_rate.rs
- src/main.rs
- crates/mcrs_minecraft_engine_server/src/world_options.rs
- issue #82
- PR #933
- PR #735
- PR #749
- PR #768
- PR #770
- crates/mcrs_minecraft_server/tests/it/player_attack.rs
- PR #1106
Related open issues:
- #82 WIP Online mode: encryption and session authentication
- #740 WIP Weather on the server: rain and thunder cycles, lightning strikes and their packets
- #904 WIP Entity cap per dimension with a refused-spawn message
- #905 WIP Baseline server sounds: block break and place, steps, item pickup
- #912 WIP Operator commands: kick, list, say, msg, stop, save-all, give and title
- #916 WIP Chat rate limit and mute
- #917 WIP Cancellable break and place message, and spawn protection with a radius
- #918 WIP Run the server: config file, release build, restart on crash, world backup
- #968 WIP Stop a dedicated server on a held world folder before it binds