45 lines
1.7 KiB
Markdown
45 lines
1.7 KiB
Markdown
# Horizon on neuro
|
|
|
|
Horizon Nightly 2026-11-01 serves Minecraft Java Edition 26.3 on TCP 25569.
|
|
It runs without Java on neuro, uses `/var/lib/horizon`, and starts only when
|
|
`/var/lib/horizon/resources/registries.json` exists. The whitelist is enabled;
|
|
add an account with:
|
|
|
|
```sh
|
|
sudo -u horizon horizon-server --dir /var/lib/horizon whitelist add PLAYER
|
|
```
|
|
|
|
## Prepare resources
|
|
|
|
Horizon cannot redistribute Minecraft resources. On a computer with Minecraft
|
|
26.3 installed and played once, Java 25, its `server.jar`, and this pinned
|
|
Horizon package, prepare them locally:
|
|
|
|
```sh
|
|
horizon-prepare --prepare \
|
|
--server-jar /path/to/26.3/server.jar \
|
|
--minecraft-dir /path/to/.minecraft \
|
|
--output ./horizon-resources
|
|
```
|
|
|
|
The packaged command seeds its pinned exporter support files into
|
|
`$XDG_CACHE_HOME/horizon/prepare-root-nightly-2026-11-01` (or `~/.cache` when
|
|
`XDG_CACHE_HOME` is unset). Bundled support files contain no Mojang data.
|
|
Preparation imports your local game files into this writable root. Pass
|
|
`--root PATH` to seed and use another writable location.
|
|
|
|
Copy the complete `horizon-resources` folder to neuro without changing its
|
|
contents, then grant the service read access and explicitly restart it:
|
|
|
|
```sh
|
|
sudo install -d -o horizon -g horizon -m 0750 /var/lib/horizon/resources
|
|
sudo rsync -a --chown=horizon:horizon ./horizon-resources/ /var/lib/horizon/resources/
|
|
sudo systemctl restart horizon
|
|
```
|
|
|
|
If `registries.json` is absent, systemd leaves the unit skipped instead of
|
|
crash-looping. `server.toml` and Horizon's `eula.txt` are copied to writable
|
|
state on every start;
|
|
declarative defaults remain authoritative while worlds, backups, whitelist,
|
|
operators, bans, and other generated files persist under `/var/lib/horizon`.
|