Spaces:
Running
Running
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -316,7 +316,7 @@ level-name=world
|
|
| 316 |
level-type=FLAT
|
| 317 |
level-seed=8678942899319966093
|
| 318 |
generate-structures=true
|
| 319 |
-
motd=
|
| 320 |
pvp=true
|
| 321 |
allow-flight=false
|
| 322 |
white-list=false
|
|
@@ -615,17 +615,12 @@ patch_eagler_port
|
|
| 615 |
# === NEW: MOTD AND ICON PATCH ===
|
| 616 |
LISTENERS_NOW=$(find_listeners_yml)
|
| 617 |
if [ -n "$LISTENERS_NOW" ]; then
|
| 618 |
-
# Title: &
|
| 619 |
-
# Subtitle: &r&
|
| 620 |
-
sed -i 's/An EaglercraftX server/\&
|
| 621 |
-
sed -i 's/
|
| 622 |
fi
|
| 623 |
|
| 624 |
-
# Copy the server icon from your HuggingFace bucket to BungeeCord
|
| 625 |
-
if [ -f "$BACKEND_DIR/server-icon.png" ]; then
|
| 626 |
-
cp -f /opt/server/bungee/server-icon.png "$BUNGEE_DIR/server-icon.png"
|
| 627 |
-
fi
|
| 628 |
-
# ================================
|
| 629 |
|
| 630 |
EAGLER_DIR=$(dirname "$(find_listeners_yml)" 2>/dev/null)
|
| 631 |
|
|
|
|
| 316 |
level-type=FLAT
|
| 317 |
level-seed=8678942899319966093
|
| 318 |
generate-structures=true
|
| 319 |
+
motd=Vanilla Survival Eaglercraft
|
| 320 |
pvp=true
|
| 321 |
allow-flight=false
|
| 322 |
white-list=false
|
|
|
|
| 615 |
# === NEW: MOTD AND ICON PATCH ===
|
| 616 |
LISTENERS_NOW=$(find_listeners_yml)
|
| 617 |
if [ -n "$LISTENERS_NOW" ]; then
|
| 618 |
+
# Title: &e&l★ &a&lSURVIVAL &e&l★
|
| 619 |
+
# Subtitle: &r&7Survive, craft, explore, and thrive!
|
| 620 |
+
sed -i 's/An EaglercraftX server/\&e\&l★ \&a\&lSurvival Server \&e\&l★/g' "$LISTENERS_NOW"
|
| 621 |
+
sed -i 's/smodusermc-server.hf.space/\&r\&7Survive, craft and explore!/g' "$LISTENERS_NOW"
|
| 622 |
fi
|
| 623 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 624 |
|
| 625 |
EAGLER_DIR=$(dirname "$(find_listeners_yml)" 2>/dev/null)
|
| 626 |
|