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.0.0 |
| Download link | Coruscnium-BanFromLobby-1.0.0.zip |
| Downloads | 15 |
| Dependency string | Coruscnium-BanFromLobby-1.0.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
Have you ever kicked someone from the game only for them to join back? Do you have someone who's just not getting the message? Well BanFromLobby is the perfect fix for those pesky pests. Simply ban them and you won't have to worry about bothering with kicking them again.
Features
- Block on join: Banned players are disconnected at connection — they never reach your lobby
- In-game UI: Press F7 (configurable) to open the ban management window
- Player list: See every connected player, ban them with one click
- Ban list: View and unban all currently banned players
- Persistent: Ban list saves to BepInEx config and survives restarts
- F10 compatible: Edit the ban list directly via ModSettingsMenu (hot-reloads automatically)
- Configurable: Toggle key is editable via ModSettingsMenu
How to Use
- 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].
Installation
- Install BepInExPack_Mycopunk
- Install SparrohUILib
- Install ModSettingsMenu (optional, for F10 editing)
- Extract this mod into your
BepInEx/plugins/folder
Config
The ban list is stored in BepInEx/config/coruscnium.banfromlobby.cfg. Format:
Bans = PlayerName|SteamID\nAnotherName|SteamID
You can edit this file directly or use ModSettingsMenu (F10).
Changelog
1.0.0
- Initial release
- F7 UI with player list and ban/unban
- Harmony prefix on GameManager.OnJoinRequested to block at connection
- Kicks already-connected players via NetworkManager.DisconnectClient
- Config hot-reload support
- Editable toggle key
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