diff --git a/server/README.md b/server/README.md index 596622e..e5fc572 100644 --- a/server/README.md +++ b/server/README.md @@ -48,6 +48,10 @@ Stop the server cleanly with the console command `stop` (Ctrl-c also works). - `server.properties` sets `online-mode=true` (Mojang authentication). Set it to `false` in `~/reaper-sky-server/server.properties` to allow unauthenticated clients, then restart. +- `server-ip` is left **empty** on purpose: the server binds all interfaces + (`0.0.0.0`) and is reached through the edge router's port-forward. Do **not** + put the public hostname/IP here — it isn't assigned to a local interface and + the server will crash with `Cannot assign requested address`. - `difficulty=hard`, `spawn-protection=0`, `view-distance=10` are set for the airship-focused, land-claim-friendly experience. - The 19 client-only mods (Iris/shaders, Sodium, Minimap, Jade, JEI, etc.) are diff --git a/server/deploy.sh b/server/deploy.sh index 7fb2cb3..20ce4a0 100755 --- a/server/deploy.sh +++ b/server/deploy.sh @@ -25,7 +25,7 @@ INSTALLER_URL="https://maven.neoforged.net/releases/net/neoforged/neoforge/${NEO # --- config (override via env if you want) ------------------------------------ SERVER_DIR="${DIR:-$HOME/reaper-sky-server}" MEMORY="${MEMORY:-8G}" -SERVER_IP="${SERVER_IP:-reaperofveriod.nl}" +SERVER_IP="${SERVER_IP:-}" # empty = bind all interfaces; reach server via edge port-forward DEFAULT_MOTD="Reaper's Sky" MOTD="${MOTD:-$DEFAULT_MOTD}" MAX_PLAYERS="${MAX_PLAYERS:-10}"