From 563a1b0d12abdac6344d9e15f61ab862b225c082 Mon Sep 17 00:00:00 2001 From: Loki Date: Fri, 6 Mar 2026 13:34:54 -0600 Subject: [PATCH] Update README.md Add details about current server functionality --- README.md | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0fdd6839..c25b7edd 100644 --- a/README.md +++ b/README.md @@ -34,30 +34,42 @@ Basic LAN multiplayer is available on the Windows build - Other players on the same LAN can discover the session from the in-game Join Game menu - Game connections use TCP port `25565` by default - LAN discovery uses UDP port `25566` +- Add servers to your server list with `servers.txt` (temp solution) +- Rename yourself without losing data by keeping your `uid.dat` -This feature is based on [LCEMP](https://github.com/LCEMP/LCEMP) +Parts of this feature are based on code from [LCEMP](https://github.com/LCEMP/LCEMP) (thanks!) + +### servers.txt + +To add a server to your game, create the `servers.txt` file in the same directory as you have `Minecraft.Client.exe`. Inside, follow this format: +``` +serverip.example.com +25565 +The name of your server in UI! +``` + +For example, here's a valid servers.txt +``` +1.1.1.1 +25565 +Cloudflare's Very Own LCE Server +127.0.0.1 +25565 +Localhost Test Crap +``` ### Launch Arguments | Argument | Description | |--------------------|-----------------------------------------------------------------------------------------------------| | `-name ` | Sets your in-game username. | -| `-server` | Launches a headless server instead of the client. | -| `-ip
` | Client mode: manually connect to an IP. Server mode: override the bind IP from `server.properties`. | -| `-port ` | Client mode: override the join port. Server mode: override the listen port from `server.properties`.| +| `-fullscreen` | Launches the game in Fullscreen mode | Example: ``` -Minecraft.Client.exe -name Steve -ip 192.168.0.25 -port 25565 +Minecraft.Client.exe -name Steve -fullscreen ``` -Headless server example: -``` -Minecraft.Client.exe -server -ip 0.0.0.0 -port 25565 -``` - -The headless server also reads and writes `server.properties` in the working directory. If `-ip` / `-port` are omitted in `-server` mode, it falls back to `server-ip` / `server-port` from that file. Dedicated-server host options such as `trust-players`, `pvp`, `fire-spreads`, `tnt`, `difficulty`, `gamemode`, `spawn-animals`, and `spawn-npcs` are persisted there as well. - ## Controls (Keyboard & Mouse) - **Movement**: `W` `A` `S` `D`