Skip to content

Commit d974c1e

Browse files
SgtMateitzg
andauthored
Removed catserver and updated magma download (#3751)
Co-authored-by: Geoff Bourne <itzgeoff@gmail.com>
1 parent c7eb265 commit d974c1e

File tree

4 files changed

+7
-56
lines changed

4 files changed

+7
-56
lines changed

docs/types-and-platforms/server-types/hybrids.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,6 @@ By default the latest build will be used; however, a specific build number can b
7777

7878
-e VERSION=1.16.5 -e MOHIST_BUILD=374
7979

80-
### Catserver
81-
82-
A [Catserver](http://catserver.moe/) type server can be used with
83-
84-
-e TYPE=CATSERVER
85-
86-
> **NOTE** Catserver only provides a single release stream, so `VERSION` is ignored
87-
8880
### Arclight
8981

9082
A [Arclight](https://arclight.izzel.io/) type server can be used with

scripts/start-configuration

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,6 @@ case "${TYPE^^}" in
282282
exec "$(dirname "$0")/start-deployMohist" "$@"
283283
;;
284284

285-
CATSERVER)
286-
exec "$(dirname "$0")/start-deployCatserver" "$@"
287-
;;
288-
289285
PURPUR)
290286
exec "$(dirname "$0")/start-deployPurpur" "$@"
291287
;;
@@ -325,7 +321,7 @@ case "${TYPE^^}" in
325321
*)
326322
logError "Invalid TYPE: '$TYPE'"
327323
logError "Must be: VANILLA, FORGE, BUKKIT, SPIGOT, PAPER, FOLIA, PURPUR, FABRIC, QUILT,"
328-
logError " SPONGEVANILLA, CUSTOM, MAGMA, MOHIST, CATSERVER, AIRPLANE, PUFFERFISH,"
324+
logError " SPONGEVANILLA, CUSTOM, MAGMA, MOHIST, GTNH, AIRPLANE, PUFFERFISH,"
329325
logError " CANYON, LIMBO, NANOLIMBO, CRUCIBLE, LEAF, YOUER, BANNER"
330326
exit 1
331327
;;

scripts/start-deployCatserver

Lines changed: 0 additions & 33 deletions
This file was deleted.

scripts/start-deployMagma

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,14 @@ isDebugging && set -x
88

99
resolveVersion
1010

11-
if ! downloadUrl=$(get --json-path '$.link' "https://api.magmafoundation.org/api/v2/${VERSION}/latest/${MAGMA_VERSION}"); then
12-
logError "Failed to locate latest Magma download for ${VERSION}. Is that version supported?"
13-
exit 1
14-
fi
15-
16-
if [[ $downloadUrl == null ]]; then
17-
logError "Magma does not seem to be available for $VERSION"
18-
exit 1
11+
# Neo Magma currently supports just 1.21.x
12+
if [[ ! $VERSION = 1.21.* ]]; then
13+
logError "Magma does not support $VERSION (expected 1.21.x)"
14+
exit 1
1915
fi
2016

21-
if ! SERVER=$(get --output-filename --skip-up-to-date --output /data "$downloadUrl"); then
22-
logError "Failed to download Magma server jar from $downloadUrl"
17+
if ! SERVER=$(get --output-filename --skip-up-to-date --output /data "https://magmafoundation.org/api/versions/${MAGMA_VERSION}/download"); then
18+
logError "Failed to download Magma server jar for $MAGMA_VERSION"
2319
exit 1
2420
fi
2521

0 commit comments

Comments
 (0)