mAdmin
一款轻量、强大且完全可自定义的 Minecraft 服务器管理 GUI。
? 概览
mAdmin 是一款基于图形用户界面(GUI)的管理面板,适用于 Minecraft 服务器(1.21.1+)。它原生为 Paper 构建,为管理员提供了一个易于使用的菜单,让他们无需不断重写冗长复杂的命令即可实施处罚。
需要快速封禁、限时静音或仅仅是踢人?mAdmin 通过交互式库存菜单和智能聊天捕获系统无缝处理所有这些操作。
它作为现有管理插件(如 LiteBans、AdvancedBan 或原版系统)的前端封装层,仅从服务器控制台分派标准的处罚命令(/ban、/tempban 等)。
✨ 功能特性
- 实时在线玩家 GUI:按字母顺序查看所有在线玩家。得益于自动分页系统,列表支持无限数量的玩家。
- 智能玩家操作:点击任何玩家的头像即可打开制裁菜单,其中包含以下操作:
- ? 临时封禁 (Tempban)
- ? 临时静音 (Tempmute)
- ❤️ 封禁 (Ban)
- ? 踢出 (Kick)
- 聊天输入捕获:当选择限时处罚(临时封禁/临时静音)时,mAdmin 会安全地取消管理员的聊天输入,并提示他们输入持续时间和原因。对于直接操作(封禁/踢出),它仅询问原因。
- 确认屏幕:在发送命令之前会出现一个最终的二次检查 GUI,防止意外处罚。
- 管理员安全保护:内置防护机制防止管理员意外处罚自己。
- 100% 可自定义:前缀、错误消息、GUI 标题和项目名称等均可在
config.yml 中进行编辑。
- 完整颜色支持:完全支持经典的 Minecraft 颜色代码(
&c、&l 等)以及现代 HEX 颜色值(&#RRGGBB)。
- 简洁且优化:极其轻量级(针对 Java 21+ 和 Paper 1.21.11 编译),对 TPS 零影响。
? 安装
- 下载
mAdmin.jar 文件并将其放入服务器的 plugins 文件夹中。
- 确保已安装兼容的管理插件以处理处罚(如 LiteBans、AdvancedBan),或者仅仅依赖原版系统。
- 重启服务器。
- 在生成的
config.yml 文件中自定义权限、消息和颜色。
⚙️ 配置
配置文件会在首次启动时自动生成,结构非常直观:
点击查看默认 config.yml
prefix: "&8[&cmAdmin&8]&r "
messages:
no-permission: "&c你没有执行此命令的权限。"
only-players: "&c此命令仅限玩家使用。"
player-offline: "&c该玩家已离线。"
enter-time: "&b在聊天中输入时间(例如 1h, 1d):"
enter-reason: "&b在聊天中输入原因:"
time-set: "&b时间设置为:%time%。现在请输入原因。"
reason-set: "&b原因已设置:%reason%"
action-cancelled: "&c操作已取消。"
sanction-success: "&a制裁执行成功。"
sanction-failed: "&c无法执行制裁。未找到管理插件。"
cannot-punish-self: "&c你不能处罚自己。"
gui:
main-title: "&4管理面板 - 玩家"
actions-title: "&c操作 - "
confirm-title: "&4确认: "
items:
tempban: "&e临时封禁"
tempmute: "&6临时静音"
ban: "&c封禁"
kick: "&7踢出"
confirm: "&a确认"
cancel: "&c取消"
previous-page: "&e上一页"
next-page: "&e下一页"
mAdmin
A lightweight, powerful, and fully customizable moderation GUI for your Minecraft server.
? Overview
mAdmin is an intuitive GUI-based moderation panel for Minecraft servers (1.21.1+). Built natively for Paper, it brings an easy-to-use menu directly to your administrators, letting them apply punishments without constantly rewriting long, complicated commands.
Need to drop a quick ban, a timed mute, or just a simple kick? mAdmin handles all of this seamlessly through interactive Inventory Menus and an intelligent chat capturing system.
It acts as a front-end wrapper for your existing moderation plugins (like LiteBans, AdvancedBan, or Vanilla), simply dispatching standard punishment commands (/ban, /tempban, etc.) from the server console.
✨ Features
- Live Online Players GUI: View all online players sorted alphabetically. The list supports unlimited players, thanks to the automatic pagination system.
- Smart Player Actions: Click on any player's head to open the Sanction Menu containing actions:
- ? Tempban
- ? Tempmute
- ❤️ Ban
- ? Kick
- Chat Input Capture: When selecting a timed punishment (Tempban/Tempmute), mAdmin will safely cancel the admin's chat and ask them to type the Duration and the Reason. For direct actions (Ban/Kick), it will only ask for the reason.
- Confirmation Screen: A final double-check GUI appears before the command is sent, preventing accidental punishments.
- Admin Safety: Built-in protections prevent administrators from accidentally punishing themselves.
- 100% Customizable: Everything from prefix, error messages, GUI titles, and item names can be edited in the
config.yml
- Full Color Support: Fully supports classic Minecraft color codes (
&c, &l, etc.) as well as Modern HEX Colors (&#RRGGBB).
- Clean & Optimized: Incredibly lightweight (compiled for Java 21+ and Paper 1.21.11), zero TPS impact.
? Installation
- Download the
mAdmin.jar file and place it into your server's plugins folder.
- Make sure you have a compatible moderation plugin installed to handle punishments (like LiteBans, AdvancedBan) or simply rely on the Vanilla system.
- Restart your server.
- Customize permissions, messages, and colors in the generated
config.yml file.
⚙️ Configuration
The configuration file generates automatically on your first boot and is fully straightforward:
Click to view default config.yml
prefix: "&8[&cmAdmin&8]&r "
messages:
no-permission: "&cYou don't have permission to perform this command."
only-players: "&cThis command is for players only."
player-offline: "&cPlayer is no longer online."
enter-time: "&bType the TIME in chat (e.g. 1h, 1d):"
enter-reason: "&bType the REASON in chat:"
time-set: "&bTime set to: %time%. Now type the reason."
reason-set: "&bReason set: %reason%"
action-cancelled: "&cAction cancelled."
sanction-success: "&aSanction executed successfully."
sanction-failed: "&cUnable to execute sanction. Moderation plugin not found."
cannot-punish-self: "&cYou cannot punish yourself."
gui:
main-title: "&4Admin Panel - Players"
actions-title: "&cActions - "
confirm-title: "&4Confirm: "
items:
tempban: "&eᴛᴇᴍᴘʙᴀɴ"
tempmute: "&6ᴛᴇᴍᴘᴍᴜᴛᴇ"
ban: "&cʙᴀɴ"
kick: "&7ᴋɪᴄᴋ"
confirm: "&aᴄᴏɴғɪʀᴍ"
cancel: "&cᴄᴀɴᴄᴇʟ"
previous-page: "&eᴘʀᴇᴠɪᴏᴜs ᴘᴀɢᴇ"
next-page: "&eɴᴇxᴛ ᴘᴀɢᴇ"
评论 0
登录后参与评分
还没有评论,来抢沙发吧