Toggle theme
Kacper's Wiki
Narzędzia użytkownika
Toggle theme
Zaloguj
Narzędzia witryny
Szukaj
Narzędzia
Pokaż stronę
Poprzednie wersje
Odnośniki
Ostatnie zmiany
Menadżer multimediów
Indeks
Zaloguj
>
Ostatnie zmiany
Menadżer multimediów
Indeks
Ślad:
tutoriale:minecraft_server
Ta strona jest tylko do odczytu. Możesz wyświetlić źródła tej strony ale nie możesz ich zmienić.
====== Minecraft: Konfiguracja Domowego Serwera Minecraft ====== Pakiet wykorzystany do konfiguracji: https://cubecoders.com/AMP ===== Włączenie graczy non-premium ===== Zmiana w pliku server.properties <code> root@minecraft-server:/home/amp/.ampdata/instances/MinecraftWithFriends2001/Minecraft# cat server.properties | grep online-mode online-mode=false root@minecraft-server:/home/amp/.ampdata/instances/MinecraftWithFriends2001/Minecraft# </code> AMP będzie usilnie próbował nadpisywać to ustawienie jednym rozwiązaniem jakie u mnie działa to zabranie uprawnień do pliku <code> root@minecraft-server:/home/amp/.ampdata/instances/MinecraftWithFriends2001/Minecraft# ls -l server.properties -r-xr--r-- 1 amp amp 1590 Oct 11 2024 server.properties root@minecraft-server:/home/amp/.ampdata/instances/MinecraftWithFriends2001/Minecraft# </code> ===== Udostępnienie serwera dla graczy Bedrock ===== <WRAP left round tip 30%> Aby granie z graczami bedrock działało poprawnie to serwer musi zawsze być w najnowszej wersji </WRAP> Port do przekierowania na routerze: ''19132'' ==== Najpierw instalacja geysermc ==== źródło: https://geysermc.org/ pobieranie flodgate i geyser: https://geysermc.org/download/ - Download the plugin from the download page. - Place the Geyser-Spigot.jar in the plugins folder, and restart the server. - Open your Geyser config, located in /plugins/Geyser-Spigot/config.yml, and find the following: <code> bedrock: # The IP address that will listen for connections. # Generally, you should only uncomment and change this if you want to limit what IPs can connect to your server. #address: 0.0.0.0 # The port that will listen for connections. This is the port that Bedrock players will use to connect to your server. port: 19132 </code> The vital part is the port. This is the port that Bedrock players will use to connect to your server! If you enable clone-remote-port, the port will be overridden and the Java port is used. Since you are self-hosting, you can choose the port freely - the default port is 19132. Important: Other services/plugins that rely on ports with UDP, such as Voice Chats or Query, cannot share the port with Geyser. - Connecting to your server Connecting locally in the same network On the same device as the server, you can connect using localhost, or 127.0.0.1 as the address. Do note: When hosting and playing on the same Windows device, you will need the loopback fix. Other devices in the same local network can use your local IPv4 to connect - it starts with 10. or 192.168.. Connecting from a different network You will need to expose the port Geyser runs on to the Internet if you want players from outside your network to join. To achieve that, you have two options: Port forwarding: Open the Geyser port (e.g. 19132) on the UDP protocol in your router/modem, and in the Windows/Linux firewall. Our port forwarding guide explains how to do this in detail. After doing this, players can connect with your public IPv4 + port to your server. playit.gg: Instead of opening a port (which might not be an option/if you do not want to expose your home ip), you can use the playit.gg service to create a tunnel for you to route the traffic through. See our playit.gg guide. Ngrok will not work since it is TCP-only. Verify whether connections from other networks are possible by running geyser connectiontest <ip> <port> in the console. ==== Potem instalacja floodgate ==== - Download Floodgate-Spigot from the download page. - Place the Floodgate-Spigot.jar in the plugins folder, and restart the server. - Change auth-type in Geyser's config to floodgate. - Restart the server. ''Miłej gry razem z graczami bedrock''
tutoriale/minecraft_server.txt
· ostatnio zmienione: 2025/05/16 18:51 przez
administrator
Narzędzia strony
Pokaż stronę
Poprzednie wersje
Odnośniki
Do góry