PhotonRedirector

版本 v1.0.1·更新於 2025-06-28

Redirects Photon PUN 2 traffic for Mono Unity games

模組介紹 作者原文

Photon Redirector

Redirects Photon PUN 2 traffic in Unity Mono games

_For support or questions, join the Discord._

🛠️ Installation

  • Download the latest release: Releases.
  • Drop the BepInEx-Photon.dll file into your BepInEx/plugins folder.
  • Run the game once to generate photon-redirect.cfg.
  • Open the config file (BepInEx/config/photon-redirect.cfg) and paste in your Photon AppID.

_All players must use the same AppID to connect and play together._

🔑 How to Get a Photon AppID

  • Go to Photon Engine
  • Log in or create an account.
  • Open the Photon Dashboard
  • Create a new app:
  • Application Type: Multiplayer Game
  • Photon SDK: Realtime
  • Click Create

_view image_

  • Copy your AppID and paste it into photon-redirect.cfg.

🔧 Build from Source

Requirements:.NET SDK

git clone

cd BepInEx-PhotonRedir/src

dotnet build -c Release -o out

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

檔案與校驗

檔案名稱
PhotonRedirector-1.0.1.zip
檔案大小
90.2 KiB