Add minimal connection example for 26.3 and AuthMe Plugin

This commit is contained in:
Tanner
2026-11-03 19:20:06 +00:00
parent 73f31be274
commit d43533bcfe
4 changed files with 151 additions and 1 deletions
+19
View File
@@ -44,6 +44,25 @@ Or, if you have your own alt account for the bot:
$ EMAIL=you@domain.com PASSWORD=supersecret SERVER=minecraft.example.com ./run_linux.sh
```
### Current offline servers (Minecraft 26.3)
The legacy automation in `main.py` uses 1.16-era world/chunk packet handling.
For an offline-mode server running Minecraft 26.3, use the minimal current-
protocol connection mode instead. It joins as `mosfet1` by default, answers
AuthMe registration/login prompts using `GAME_PASSWORD`, and stays connected;
world automation is not enabled in this mode.
The locally updated pyCraft checkout is expected at `../pyCraft`:
```
$ ./run_connect.sh
```
You can override `SERVER`, `PORT`, `PLAYER_NAME`, or `GAME_PASSWORD` through
environment variables. The current AuthMe default is `mosfetbot`. pyCraft is
being extended locally for protocol 777; no Microsoft authentication is used
in this mode.
## Usage
[How to Cache Items](docs/cache_items.md)