Coruscnium-BanFromLobby icon

BanFromLobby

Lobby ban management. Block unwanted players from joining with a simple UI. Banned players get disconnected when they try to connect.

Last updated a day ago
Total downloads 13
Total rating 1 
Categories Mods Tools Gameplay Quality Of Life Client-Side
Dependency string Coruscnium-BanFromLobby-1.1.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_Mycopunk-5.4.2403 icon
BepInEx-BepInExPack_Mycopunk

BepInEx pack for Mycopunk. Preconfigured and ready to use.

Preferred version: 5.4.2403
Sparroh-SparrohUILib-1.1.1 icon
Sparroh-SparrohUILib

Shared UI library for Sparroh Mycopunk mods. Provides themed widgets, HUD builders, windows, and resolution-aware layout.

Preferred version: 1.1.1
Sparroh-ModSettingsMenu-1.2.0 icon
Sparroh-ModSettingsMenu

In-game mod config editor plus click-and-drag HUD reposition mode for compatible mods.

Preferred version: 1.2.0

README

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

  1. Install BepInExPack_Mycopunk.
  2. Install SparrohUILib by Sparroh.
  3. Install ModSettingsMenu by Sparroh (optional, for F10 editing).
  4. Install this mod through your mod manager.
  5. Launch the game.

Manual

  1. Install BepInExPack_Mycopunk, SparrohUILib, and ModSettingsMenu as above.
  2. Extract BanFromLobbyMod.dll into BepInEx/plugins/ in your Mycopunk directory.
  3. Launch the game.

Usage

  1. Press F7 (configurable) to open the Ban From Lobby window.
  2. Click [BAN] next to any connected player.
  3. 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

Changelog

See CHANGELOG.md.

Credits

Icon: Gavel icon by Yevgen Romanenko from stock.adobe.com.