BanEnforcer
BanEnforcer — Host-only SteamID64 ban list with Steam lobby gate + Photon cleanup. Glass UI, built-in Pong, and a tiny easter egg.
| Last updated | 2 weeks ago |
| Total downloads | 19077 |
| Total rating | 2 |
| Categories | Mods Server-side |
| Dependency string | Omniscye-BanEnforcer-1.9.5 |
| Dependants | 3 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
BanEnforcer — Steam-Only Ban Tool (Host)
BanEnforcer lets the host keep troublemakers out—fast. It stores bans as Steam64s and stops banned players at the Steam lobby gate (before they ever reach Photon). If someone slips through, BanEnforcer immediately cleans up RPCs/objects and closes the connection.
It also comes with a slick glassmorphism UI, a built-in Arcade (Pong) tab, and a tiny easter egg 👀.
Message to my awesome friends and the players who use my mods.
- I was banned from the REPO modding server when I was taking a temp leave from the server due to drama. I was not even in the server when the ban happened. As such, if you need support for my mods or just want to hang out join my new personal server on Discord: https://discord.gg/QXDj8hrdRc
Features
-
Steam-Only bans
Bans are stored assteam:<Steam64>and enforced for Steam players. -
Host-side lobby gate
Blocks banned SteamIDs at the Steam lobby level when you’re the lobby owner. -
Photon cleanup fallback
If a banned player appears in-room, their RPCs/objects are removed and their connection is closed. -
Modern UI
Semi-transparent glass look, 3D shading, shadows, and a tidy 3-panel layout (Players / Banned / Steam Lobby). -
Persistent
Saves toBepInEx/config/RepoBanList.json. -
Fast controls
- F6 — open/close BanEnforcer
- F7 — debug dump to console
-
Arcade (Pong)
A quick break built into the Arcade tab. Left paddle = W/S. Right paddle has adaptive AI. Runs on unscaled time so it’s playable even when the game is paused. -
A little easter egg
There’s a small audiovisual mode tucked away. We won’t spoil how to trigger it. If you find it, switching tabs exits it.
How it works (short version)
- You ban a Steam64 (from in-room Players, from the Steam Lobby list, or by manual entry).
- BanEnforcer adds
steam:<Steam64>to your local list and saves it. - As lobby owner, it tries to kick that SteamID at the Steam lobby level.
- If a banned user is already in, BanEnforcer removes RPCs/objects and closes the connection via Photon.
⚠️ Host-only enforcement. Non-hosts can open the UI in “viewer” mode but only the host’s instance enforces bans.
UI & Controls
- Open UI: press F6 (also adds a BAN LIST button to Escape/Lobby menus)
- Debug dump: press F7
- Tabs:
- Bans — players in room, your banned list, current Steam lobby members, and a manual Steam64 field
- Arcade (Pong) — quick game; Left = W/S, Right = AI
Save file:
BepInEx/config/RepoBanList.json
Using BanEnforcer
-
Ban a current player:
UI → Players in Room → BAN (Steam) -
Ban from Steam Lobby list:
UI → Steam Lobby Members → BAN (Steam) -
Manual Steam64 ban:
UI → Manual Steam64 → Ban by Steam64 -
Remove a ban:
UI → Banned (Steam) → Remove -
Clear all bans:
Top bar → Clear All Bans
If a player shows “Unknown” for Steam64, give it a moment or use the Steam Lobby panel/manual entry. The F7 debug dump prints everything it knows.
Compatibility & Notes
- Steam-only: bans apply to Steam64 IDs.
- Host required: only the host can enforce kicks/gates.
- Lobby ownership: Steam lobby kicks work when you own the lobby (BanEnforcer falls back to Photon cleanup otherwise).
Support
Created by Omniscye