From ed0d84fffcb3cf5a85d37afcde10c95aa0285b87 Mon Sep 17 00:00:00 2001 From: redmine4404 Date: Sun, 28 Jul 2024 17:55:14 +0200 Subject: [PATCH] add minecraft server to the docs --- docs/docs/containers.md | 1 + scripts/setup-environment.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/docs/containers.md b/docs/docs/containers.md index 7e94b6d..0fe4a05 100644 --- a/docs/docs/containers.md +++ b/docs/docs/containers.md @@ -41,3 +41,4 @@ to authenticate with the servers. | Wii U Chat ([authentication](https://github.com/PretendoNetwork/wiiu-chat-authentication) and [secure](https://github.com/PretendoNetwork/wiiu-chat-secure)) | Server for the Wii U Chat app. | | [BOSS](https://github.com/PretendoNetwork/BOSS) | Server for BOSS (SpotPass) content. | | [Super Mario Maker](https://github.com/PretendoNetwork/super-mario-maker) | Server for Super Mario Maker online features. | +| [Minecraft: WiiU edition](https://github.com/PretendoNetwork/minecraft-wiiu) | Server for Minecraft: WiiU Edition online features. ⚠️ By default Minigame's public matchmaking is disable by default. You can enable it by modifying the env variable `PN_MINECRAFT_ALLOW_PUBLIC_MATCHMAKING ` to 1 in the `environment/minecraft-wiiu.local.env` environment file. diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index 7c46523..08a4b95 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh @@ -149,6 +149,9 @@ echo "PN_SMM_SECURE_SERVER_HOST=$server_ip" >>./super-mario-maker.local.env echo "PN_SPLATOON_SECURE_SERVER_HOST=$server_ip" >>./splatoon.local.env echo "PN_MINECRAFT_SECURE_SERVER_HOST=$server_ip" >>./minecraft-wiiu.local.env +echo "PN_MINECRAFT_ALLOW_PUBLIC_MATCHMAKING=0" >>./minecraft-wiiu.local.env +echo "# 0 = disable, 1 = enable" >>./minecraft-wiiu.local.env + # Get the Wii U IP address if [[ -n "$wiiu_ip" ]]; then if_verbose print_info "Using Wii U IP address $wiiu_ip."