BanList

版本 v1.0.5·更新於 2025-08-12

A mod to easily kick/ban players from your lobby or game.

模組介紹 作者原文

Player Ban Mod (Mage Arena)

A BepInEx plugin for managing and banning players in Mage Arena. Provides an in-game UI to view active players, manage bans, and optional automatic moderation.

Features

  • UI (F2 key): Active Players and Banned Players tabs
  • Active: view/kick/ban players currently in lobby
  • Banned: paged list with live search and unban actions. Sorted by most recent ban, has support for thousands of stored bans.
  • Auto-ban (optional):
  • Modded rank detection
  • Offensive name detection (configurable keywords - by default: "discord.gg", "cheat")
  • Modded name detection (colored, bold, italic, etc)
  • Recent Players: Displays 10 recent players in the UI, and stores up to a hundred in JSON.
  • Allows kicking/banning in-game, and in lobby.
  • Large ban list handling (async load, pages, chunking)
  • Persistent storage in JSONL file

Installation

  • Install BepInEx for Mage Arena.
  • Copy BanList.dll to Mage Arena/BepInEx/plugins.
  • Launch the game; the plugin loads automatically.

Usage

  • Press F2 to toggle the UI.
  • Active Players tab: Kick or Ban players in the lobby or in-game.
  • Banned Players tab: Search by name or SteamID; use Prev/Next to paginate; Unban entries.

Configuration

File: BepInEx/config/com.playerban.mod.cfg

  • Section BannedPlayers
  • BannedSteamIds: moved to BanList/Bans/banned_players.jsonl - do not use config area for importing bans
  • Section Settings
  • AutobanModdedRanks (bool): auto-ban players with custom/modded rank strings (you can change this in the F2 menu)
  • AutobanOffensiveNames (bool): auto-ban names containing configured tokens (you can change this in the F2 menu)
  • OffensiveNames (string): comma-separated keywords (e.g., discord.gg,cheat)
  • UIToggleKey (KeyCode): key used to toggle the UI (default F2)

File: BepInEx/plugins/BanList/Bans/banned_players.jsonl

  • Add or remove bans manually from here, or share ban lists.

File: Bepinex/plugins/Banlist/RecentPlayers/recent_players.jsonl

  • View up to 100 recent players.

Notes:

  • Auto-ban checks run while not in-game (menus/lobby). They pause during a match.
  • Offensive name matching ignores case and spaces.

Troubleshooting

  • UI not opening: ensure you’re host and in a lobby; press F2. If it doesnt open on the first try, wait a moment, and try again.
  • Auto-ban not triggering: confirm toggles enabled; ensure not in-game; check logs for [AutoBan] lines.
  • Kick fails: Check logs, and report bug in Modding Discord.

Notes on Modded Title and Colored Names

  • Lobby rank strings are displayed verbatim by the game; any string not containing a canonical rank

(Lackey, Sputterer, Novice, Apprentice, Savant, Master, Grand Master, Archmagus, Magus Prime, Supreme Archmagus)

is considered “modded.”

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
BanList-1.0.5.zip
檔案大小
72.2 KiB