redos7-ServerRepicker icon

ServerRepicker

Remembers game and voice servers where players seem to time out and tries a different server the next time you host. You can edit the list in Settings.

By redos7
Last updated 2 hours ago
Total downloads 15
Total rating 0 
Categories Mods Client-side Server-side AI Generated
Dependency string redos7-ServerRepicker-1.2.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
REPOModding-MenuLib-2.6.3 icon
REPOModding-MenuLib

A library for creating UI!

Preferred version: 2.6.3

README

ServerRepicker

If someone times out in your R.E.P.O. lobby, ServerRepicker can remember the game or voice server you were on. The next time you host, it asks Photon for a different server if that IP comes up again. Only the host needs the mod. Friends can join with an unmodded game and use their usual Steam invites.

Installation

Install ServerRepicker in your R.E.P.O. mod manager, or import the release ZIP as a local mod. For a manual install, put ServerRepicker.dll in your BepInEx 5 profile’s BepInEx/plugins folder. You’ll also need MenuLib 2.6.3 for the settings menu. Restart the game after installing or updating.

Managing your server list

Open Settings → Server Repicker from the main menu, lobby, or pause menu.

  • While hosting, look under This lobby to see your game (PUN) and voice servers. Click Avoid next to either IP to skip it in future lobbies.
  • To add an IP yourself, type an IPv4 or IPv6 address and press Enter or click Add address.
  • Click Remove next to a saved IP to allow that server again.

The list is saved in BepInEx/config/ServerRepicker/avoid-ips.txt, one IP per line. You can also edit it there.

The menu and warnings follow the game’s language. In Russian, open Настройки → Выбор сервера. All other languages use the English text.

When a server gets skipped

Photon tells the mod when your own connection times out. For guests, it looks for signs of a dropped connection, like a player who stops sending game traffic just before they leave, or someone who reconnects to voice chat while still in the game.

When you create a public or private lobby, the mod can ask Photon for another game server up to five times. If Photon keeps offering IPs on your list, you’ll get a message to try creating the lobby again. Joining a friend or using automatic matchmaking works as usual.

Voice chat gets one retry. If the second offer is on your list too, the mod can send you back to the menu during the first 45 seconds of a lobby nobody has joined yet. Otherwise you’ll see a warning and can keep playing with your voice chat disconnected.

Building

Run dotnet build -c Release with the .NET SDK. If your installation paths differ, pass -p:GameManaged="path/to/REPO_Data/Managed" and -p:MenuLibPath="path/to/MenuLib.dll". The DLL and ZIP are written to bin/Release/netstandard2.1.