BanFromLobby
Lobby ban management. Block unwanted players from joining with a simple UI. Banned players get disconnected when they try to connect.BanFromLobby
Lobby ban management for Mycopunk. Block unwanted players from joining your lobby with a simple in-game UI. Banned players get disconnected immediately and can't re-join.
Key Features
Block on Join
Banned players are disconnected at connection — they never reach your lobby. Uses NetworkManager.DisconnectClient with a clear rejection message.
In-Game UI
Press F7 (configurable) to open the ban management window. See every connected player, ban them with one click, or unban from the banned list below.
Persistent Ban List
Your ban list saves to BepInEx/config/coruscnium.banfromlobby.cfg and survives restarts. Format: PlayerName|SteamID per line.
F10 Compatible
Edit the ban list directly via ModSettingsMenu's F10 GUI. Changes hot-reload automatically via FileSystemWatcher.
Installation
Thunderstore
- Install BepInExPack_Mycopunk.
- Install SparrohUILib by Sparroh.
- Install ModSettingsMenu by Sparroh (optional, for F10 editing).
- Install this mod through your mod manager.
- Launch the game.
Manual
- Install BepInExPack_Mycopunk, SparrohUILib, and ModSettingsMenu as above.
- Extract
BanFromLobbyMod.dllintoBepInEx/plugins/in your Mycopunk directory. - Launch the game.
Usage
- Press F7 (configurable) to open the Ban From Lobby window.
- Click [BAN] next to any connected player.
- They'll be disconnected immediately and blocked from re-joining.
To unban, scroll down to the BANNED PLAYERS section and click [UNBAN].
Configuration
Press F10 in-game to open ModSettingsMenu, find BanFromLobby, and edit any setting. Changes apply instantly.
| Setting | Type | Default | Description |
|---|---|---|---|
Bans |
string | (empty) | One ban per line: PlayerName|SteamID |
ToggleKey |
string | F7 |
Key to open/close the ban window |
Requirements
- Mycopunk, obviously
- BepInExPack_Mycopunk
- SparrohUILib by Sparroh
- ModSettingsMenu by Sparroh (optional, for F10 editing)
Changelog
See CHANGELOG.md.
Credits
Icon: Gavel icon by Yevgen Romanenko from stock.adobe.com.
