Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .schema/gametemplate.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,22 @@
"maxItems": 16,
"type": "array"
},
"installMarkers": {
"description": "InstallMarkers lists files, relative to the data mount, in which the\nimage records a finished pack install without checking that the mods\nare still there (e.g. \".ftb-installed\"). Before each start with this\nprovider's pack applied, the operator deletes them when the active\nloader's mods mount is empty, so the image installs the pack again.\nOmit for images that check the installed files themselves.",
"items": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"maxItems": 4,
"type": "array",
"x-kubernetes-validations": [
{
"message": "installMarkers entries must be relative to the data mount and must not contain '..'",
"rule": "self.all(p, !p.startsWith('/') && !p.contains('..'))"
}
]
},
"missingFilesPath": {
"description": "MissingFilesPath is the file, relative to the data mount, where the\nimage lists files that need a manual download\n(e.g. \"MODS_NEED_DOWNLOAD.txt\").",
"maxLength": 128,
Expand Down Expand Up @@ -2148,7 +2164,7 @@
"type": "object"
},
"sentinelIsolation": {
"description": "SentinelIsolation restricts a wake sentinel to its own server's advertised\nports. Templates opt in after module connectivity validation; absent or\nfalse retains the legacy namespace-wide sentinel allowances.",
"description": "SentinelIsolation restricts a wake sentinel to its own server's advertised\nports. A template that advertises any port gets this by default (a\nrunning server takes it at its next start); true applies it at once and\nrequires an advertised port. Only a template with no advertised port\nkeeps the legacy namespace-wide sentinel allowances.",
"type": "boolean"
},
"storage": {
Expand Down
6 changes: 6 additions & 0 deletions minecraft-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ Changing the pinned version is a server update, and Gameplane adopts packs
that were installed before version pinning existed. FTB packs are modpacks
only and do not appear in the Mods tab.

Since 2.13.1, an FTB pack whose mods folder is empty is installed again on the
next start (for example after removing the pack and installing the same
version, or after changing the server version). This needs a Gameplane release
after 0.5.0; older versions need `FTB_FORCE_REINSTALL=true` set once in the
server's environment.

Each provider pins its pack by version: CurseForge by file ID
(`CF_FILE_ID`), Modrinth by version ID (`MODRINTH_VERSION`) and FTB by
version ID (`FTB_MODPACK_VERSION_ID`).
Expand Down
2 changes: 1 addition & 1 deletion minecraft-java/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: gameplane.local/module/v1
name: minecraft-java
displayName: Minecraft (Java Edition)
version: 2.13.0
version: 2.13.1
game: minecraft-java
categories: [Sandbox, Survival, Building, Modded, Creative]
summary: Vanilla / Paper / Spigot / Bukkit / Purpur / Forge / NeoForge / Fabric / Quilt servers (itzg/minecraft-server) with a version+loader picker spanning 1.16.5–latest, per-loader mod volumes, in-app Modrinth browse, and Modrinth, CurseForge and FTB modpacks.
Expand Down
3 changes: 2 additions & 1 deletion minecraft-java/specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- **Game**: Minecraft: Java Edition
- **Module Slug**: `minecraft-java`
- **Version**: 2.13.0 (minimum Gameplane 0.5.0)
- **Version**: 2.13.1 (minimum Gameplane 0.5.0)
- **Role**: GameTemplate for Minecraft Java servers, backed by the community `itzg/minecraft-server` image.

---
Expand Down Expand Up @@ -47,6 +47,7 @@ The Mods tab and the Modpacks tab read the same provider list.

- `TYPE=FTBA`, `FTB_MODPACK_ID`, pinned by `FTB_MODPACK_VERSION_ID`.
- Keyless. Modpacks only.
- `installMarkers: [.ftb-installed]`: the image skips the install when this file matches the pinned pack and never checks the mods folder. Gameplane (releases after 0.5.0) deletes the file before a start when the mods folder is empty, so the pack installs again after a removal or a server version change. Older Gameplane versions ignore the field.

### Modrinth provider

Expand Down
7 changes: 6 additions & 1 deletion minecraft-java/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
displayName: Minecraft (Java Edition)
game: minecraft-java
# Kept in lockstep with module.yaml's bundle version from 2.5.0 onward.
version: 2.13.0
version: 2.13.1
categories: [Sandbox, Survival, Building, Modded, Creative]
# Brand color the dashboard tints this game's icon/accents with.
accentColor: "#5b9a3e"
Expand Down Expand Up @@ -773,6 +773,11 @@ spec:
modpacks:
refEnv: FTB_MODPACK_ID
versionEnv: FTB_MODPACK_VERSION_ID
# The image skips the install when this file matches the pinned
# pack, without checking the mods folder. Gameplane deletes it
# when the mods folder is empty, so the pack installs again
# after a removal or a server version change.
installMarkers: [.ftb-installed]
env:
- { name: TYPE, value: FTBA }
- provider: hangar
Expand Down
Loading