跳至主要內容
全部系列Minecraft
如何設定 GeyserMC (Spigot/Fabric/Sponge/Proxy)
如何設定 GeyserMC (Spigot/Fabric/Sponge/Proxy)
Calvin C. avatar
作者:Calvin C.
一週前已更新

概述

Minecraft 有一個超讚的功能,就是能夠加入不同玩家一起玩伺服器。跟朋友玩時尤其有趣,但有時候會碰上問題,因為有些玩家用的是 Java 版本,有些玩家用的是 Bedrock 版本。預設情況下,伺服器並不支援兩個版本之間的互通,這就意味著無法在同一個伺服器中相遇。

不過,還好有個 Minecraft 插件叫 GeyserMC,可以幫忙解決這個問題。它可以調整 Java 伺服器的設定,這樣任何用 Bedrock 版的玩家都能像其他伺服器一樣加入並一同遊玩。更棒的是,這些玩家也能使用已經裝好的插件,這樣每個人都能有相同的遊戲體驗。

我們將指導您使用 ServGo 設定 GeyserMC。

進入設定

  1. Wave Panel 中打開目標伺服器

  2. 點擊「Files

  3. 瀏覽 /plugins/Geyser-Spigot/ 目錄。

  4. 找到 config.yml 檔案,然後點擊檔案以開啟編輯器。

更改 IP 和 Port 設定

  1. 找到設定檔案中的 Bedrock 部分:

    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
    port: 19132
    # Some hosting services change your Java port everytime you start the server and require the same port to be used for Bedrock.
    # This option makes the Bedrock port the same as the Java port every time you start the server.
    # This option is for the plugin version only.
    clone-remote-port: false
  2. 將端口更改為與您的伺服器相同。

  3. 接下來,找到檔案中的 Remote 部分,包含以下選項:

    remote:
    # The IP address of the remote (Java Edition) server
    # If it is "auto", for standalone version the remote address will be set to 127.0.0.1,
    # for plugin versions, it is recommended to keep this as "auto" so Geyser will automatically configure address, port, and auth-type.
    # Leave as "auto" if floodgate is installed.
    address: auto
    # The port of the remote (Java Edition) server
    # For plugin versions, if address has been set to "auto", the port will also follow the server's listening port.
    port: 25565
    # Authentication type. Can be offline, online, or floodgate (see https://github.com/GeyserMC/Geyser/wiki/Floodgate).
    # For plugin versions, it's recommended to keep the `address` field to "auto" so Floodgate support is automatically configured.
    # If Floodgate is installed and `address:` is set to "auto", then "auth-type: floodgate" will automatically be used.
    auth-type: floodgate
  4. 保持 address 設定為 auto,然後將端口更改為您伺服器的 5 位數端口。

  5. 最後,將認證類型(auth-type)更改為 floodgate。

  6. 完成後,按下保存內容,然後重新啟動伺服器。

常見問題

無法綁定錯誤:

有時候,如果 IP 和端口設定錯誤或已被佔用,就會出現此錯誤。返回 config.yml 檔案,確保 IP 和端口與您伺服器的設定相符。如果您正在使用 Bedrock 設定的特殊端口,請確保綁定了正確的號碼,或考慮使用您伺服器的預設 5 位數端口。調整完畢後,保存檔案並重新啟動以重試。

連接到伺服器時收到錯誤:

在某些情況下,Bedrock 玩家嘗試加入時可能會收到錯誤。最常見的錯誤涉及必要的配置設置。如果錯誤訊息表示您需要一個 Java 檔案,請將 "auth-type" 設置為 Floodgate。

如果錯誤提到安全檔案,請確認強制安全檔案設置已禁用。完成其中任何一個修復後,重新啟動伺服器並再次嘗試連接。

有用的連結

是否回答了您的問題?