@minecraft-docker/mcctl 1.7.1 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft-docker/mcctl",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "CLI tool for managing Docker Minecraft servers with mc-router",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@clack/prompts": "^0.8.0",
|
|
53
53
|
"@minecraft-docker/mod-source-modrinth": "^1.0.0",
|
|
54
|
-
"@minecraft-docker/shared": "^1.7.
|
|
54
|
+
"@minecraft-docker/shared": "^1.7.3",
|
|
55
55
|
"commander": "^12.0.0",
|
|
56
56
|
"js-yaml": "^4.1.0",
|
|
57
57
|
"picocolors": "^1.1.0",
|
package/scripts/create-server.sh
CHANGED
|
@@ -491,7 +491,8 @@ fi
|
|
|
491
491
|
# =============================================================================
|
|
492
492
|
echo -e "${BLUE}[5/6]${NC} Registering mDNS hostname..."
|
|
493
493
|
HOST_IP=$(get_host_ip)
|
|
494
|
-
|
|
494
|
+
# Note: || true prevents set -e from exiting if avahi is not available
|
|
495
|
+
register_avahi_hostname "$SERVER_NAME.local" "$HOST_IP" || true
|
|
495
496
|
|
|
496
497
|
# =============================================================================
|
|
497
498
|
# Step 6: Start server (optional)
|
|
@@ -73,8 +73,5 @@ services:
|
|
|
73
73
|
# -----------------------------------------------------------------------------
|
|
74
74
|
networks:
|
|
75
75
|
minecraft-net:
|
|
76
|
+
external: true
|
|
76
77
|
name: ${MINECRAFT_NETWORK:-minecraft-net}
|
|
77
|
-
driver: bridge
|
|
78
|
-
ipam:
|
|
79
|
-
config:
|
|
80
|
-
- subnet: ${MINECRAFT_SUBNET:-172.28.0.0/16}
|