Spaces:
Paused
Paused
Switch to Paper 1.21.11 build 132 (bundler jar, sha256 5ffef4...); BUILD v11
Browse files- README.md +13 -9
- control.py +1 -1
- server.jar +2 -2
README.md
CHANGED
|
@@ -10,9 +10,10 @@ pinned: false
|
|
| 10 |
|
| 11 |
# Minecraft Server (Java Edition 1.21.11)
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
in the same
|
|
|
|
| 16 |
|
| 17 |
## How the networking works
|
| 18 |
|
|
@@ -95,13 +96,16 @@ Server tuning lives in `server.properties` aboard the container.
|
|
| 95 |
|
| 96 |
## Caveats worth knowing
|
| 97 |
|
| 98 |
-
- **
|
| 99 |
-
storage and are reset on restart
|
| 100 |
-
|
|
|
|
| 101 |
- **Offline mode is on** (`online-mode=false`), so any username can join and
|
| 102 |
nothing is verified with Mojang. Turn it on if you want real authentication.
|
| 103 |
-
- **Server jar is 1.21.11 (Java 21 bytecode).**
|
| 104 |
-
|
| 105 |
-
|
|
|
|
|
|
|
| 106 |
- The server auto-restarts on crash (3s backoff) and restarts if the container
|
| 107 |
is recreated, so a failed boot loops in the logs - read the newest trace.
|
|
|
|
| 10 |
|
| 11 |
# Minecraft Server (Java Edition 1.21.11)
|
| 12 |
|
| 13 |
+
[Paper](https://papermc.io) server (1.21.11, build 132) bundled with the
|
| 14 |
+
[playit.gg](https://playit.gg) agent so it can be reached from a normal
|
| 15 |
+
Minecraft client, plus a small web control panel that runs in the same
|
| 16 |
+
container.
|
| 17 |
|
| 18 |
## How the networking works
|
| 19 |
|
|
|
|
| 96 |
|
| 97 |
## Caveats worth knowing
|
| 98 |
|
| 99 |
+
- **World persistence depends on your storage.** Fresh Spaces use ephemeral
|
| 100 |
+
storage and are reset on restart; this space mounts a Storage Bucket at `/data`
|
| 101 |
+
so the world/`server.properties` survive rebuilds and playit/client count resets
|
| 102 |
+
only with a rebuild.
|
| 103 |
- **Offline mode is on** (`online-mode=false`), so any username can join and
|
| 104 |
nothing is verified with Mojang. Turn it on if you want real authentication.
|
| 105 |
+
- **Server jar is Paper 1.21.11 (build 132, Java 21 bytecode).** The Paper
|
| 106 |
+
bundler re-downloads the Mojang 1.21.11 server jar into `versions/` on first
|
| 107 |
+
boot. It runs on the pinned `eclipse-temurin:25-jre-jammy` (Java 25) base image
|
| 108 |
+
since newer JVMs run older class files. Swap `server.jar` and reuse `MC_JAR` if
|
| 109 |
+
you change versions.
|
| 110 |
- The server auto-restarts on crash (3s backoff) and restarts if the container
|
| 111 |
is recreated, so a failed boot loops in the logs - read the newest trace.
|
control.py
CHANGED
|
@@ -15,7 +15,7 @@ from collections import deque
|
|
| 15 |
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
|
| 16 |
from urllib.parse import parse_qs, urlparse
|
| 17 |
|
| 18 |
-
BUILD = "
|
| 19 |
|
| 20 |
DATA_DIR = os.environ.get("MC_DATA", "/data")
|
| 21 |
JAR = os.environ.get("MC_JAR", "/server/server.jar")
|
|
|
|
| 15 |
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
|
| 16 |
from urllib.parse import parse_qs, urlparse
|
| 17 |
|
| 18 |
+
BUILD = "v11"
|
| 19 |
|
| 20 |
DATA_DIR = os.environ.get("MC_DATA", "/data")
|
| 21 |
JAR = os.environ.get("MC_JAR", "/server/server.jar")
|
server.jar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ffef465eeeb5f2a3c23a24419d97c51afd7dbb4923ff42df9a3f58bba1ccfba
|
| 3 |
+
size 54846016
|