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
- 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.dll into BepInEx/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.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: