You are viewing a potentially older version of this package. View all versions.
Coruscnium-BanFromLobby-1.1.0 icon

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-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.

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