

PhotonRedirector
This mod allow you to create custom Photon serversDetails
Photon Redirector
Author: Kirigiri
Version: 1.0.0
Description:
A BepInEx plugin that overrides the Photon connection setup to redirect the Photon App IDs (AppIdRealtime
and AppIdVoice
) to custom values loaded from a configuration file (PhotonRedirector.txt
). Useful for testing or using custom Photon servers.
Features
- Fully overrides
NetworkConnector.ConnectToPhoton()
to inject custom Photon App IDs. - Reads
AppIdRealtime
andAppIdVoice
fromBepInEx/config/PhotonRedirector.txt
. - Automatically creates a default config file if missing.
- Logs connection info and custom App IDs on connect.
- Can fix issues with ping that appear on the original game.
Installation
-
Download the latest PhotonRedirector.dll from the Thunderstore page.
-
Place the DLL into your game's
BepInEx/plugins/
folder. -
Launch the game once to generate the default config file at:
BepInEx/config/PhotonRedirector.txt
-
Edit
PhotonRedirector.txt
to set your desired Photon App IDs:AppIdRealtime=your-realtime-app-id
AppIdVoice=your-voice-app-id -
Restart the game.
Configuration
PhotonRedirector.txt format (located in BepInEx/config/
):
AppIdRealtime=1111
AppIdVoice=1111
Replace the values with your Photon Cloud App IDs or custom server IDs.
How to Create a Photon Server
Photon is a multiplayer backend service by Exit Games. To create your own Photon server and get App IDs:
- Create an account on the Photon Engine Dashboard.
- Create a new application:
- Choose the Photon product (Realtime & Voice).
- Give it a name and select the region.
- Copy your App IDs:
- After creation, your AppIdRealtime and AppIdVoice will be shown in the dashboard.
- Use these App IDs in
PhotonRedirector.txt
to connect your game to this Photon server.
Support
If you encounter any issues or have questions, please open an issue on the GitHub repository or message me on Thunderstore.