BanFromLobby
Lobby ban management. Block unwanted players from joining with a simple UI. Banned players get disconnected when they try to connect.
| Date uploaded | 2 weeks ago |
| Version | 1.1.0 |
| Download link | Coruscnium-BanFromLobby-1.1.0.zip |
| Downloads | 14 |
| Dependency string | Coruscnium-BanFromLobby-1.1.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_Mycopunk
BepInEx pack for Mycopunk. Preconfigured and ready to use.
Preferred version: 5.4.2403Sparroh-SparrohUILib
Shared UI library for Sparroh Mycopunk mods. Provides themed widgets, HUD builders, windows, and resolution-aware layout.
Preferred version: 1.1.1Sparroh-ModSettingsMenu
In-game mod config editor plus click-and-drag HUD reposition mode for compatible mods.
Preferred version: 1.2.0README
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.
CHANGELOG
Changelog
1.1.2 (2026-07-19)
Fixed
- Removed nested zip from release (stale BanFromLobby-1.0.1.zip was in thunderstore_package/).
- Added lesson #11 to clinerules documenting zip build hygiene.
1.1.0 (2026-07-19)
Changed
- Ban rejection message now includes the mod name: "This player has banned you from their lobbies via the BanFromLobby mod."
- Reformatted README and CHANGELOG to match other mods' style.
1.0.1 (2026-07-19)
Fixed
- Icon dimensions to 256x256.
1.0.0 (2026-07-19)
Added
- Initial release as BanFromLobby (renamed from BanPlayers)
- F7 UI window listing connected players and banned players
- Click [BAN] to add players to ban list, [UNBAN] to remove
- Harmony prefix on GameManager.OnJoinRequested rejects banned players at connection
- Kicks already-connected players via NetworkManager.DisconnectClient
- Ban list stored in BepInEx config (PlayerName|SteamID)
- FileSystemWatcher hot-reload for ModSettingsMenu (F10) edits
- Configurable toggle key via ModSettingsMenu