BetterAdmin
受够了为了踢人、封禁、静音和监控玩家而同时运行半打管理插件?BetterAdmin 将所有功能整合在一个图形界面中——点击玩家,选择操作,完成。无需让全体管理人员记忆复杂的命令语法。
兼容性: Paper、Minecraft 26.2、Java 25。
功能
- 支持分页的大型服务器玩家管理 GUI
- 踢人、封禁、临时封禁、静音、取消静音——封禁基于配置文件/UUID,而非用户名,因此即使玩家更改名称也能生效
- 执行封禁/临时封禁前需要确认步骤,防止误触
- 物品栏查看器和末影箱查看器
- 传送、治疗、喂食以及冻结/解冻切换
- 工作人员隐身模式
- 按用户名或 UUID 查找玩家(也适用于离线玩家——仍可执行封禁/临时封禁)
- 最近的管理操作历史记录,支持一键撤销封禁、静音和冻结
- 历史记录、静音和冻结状态在重启后保留(存储于
data.yml)
- 无需重启即可重载配置:
/adminpanel reload
- 所有面向玩家的消息和管理权限节点键均可通过
config.yml 进行自定义配置
使用 GUI
- 运行
/adminpanel 打开玩家列表。
- 点击某位玩家以打开其操作菜单:踢人、封禁、临时封禁、静音、取消静音、冻结/解冻、传送、治疗、喂食、查看物品栏、查看末影箱、玩家信息,或隐身(仅限自身)。
- 需要输入的操作(封禁/踢人原因、静音或临时封禁时长,或用户名/UUID 查找)会在聊天中提示你输入值——在原因提示中输入
default 可使用标准消息。
- 封禁和临时封禁在执行前会要求确认点击。
- 在主菜单中打开 Recent admin history(最近管理历史),可查看最新操作并一键撤销封禁、静音或冻结。
查找离线玩家同样有效——你只能对其进行封禁或临时封禁,因为如传送或查看物品栏等操作需要玩家在线。
配置
BetterAdmin 在首次启动时创建 plugins/BetterAdmin/config.yml。编辑该文件并运行 /adminpanel reload 即可在不重启服务器的情况下应用更改。
messages:
only-player: "Only in-game players can use this command."
no-permission: "You do not have permission to open the admin panel."
player-offline: "That player is not online or could not be found."
refresh-success: "Admin menu refreshed."
reason-prompt: "Type the reason in chat and press enter. Type 'default' to use the standard reason."
mute-prompt: "Type mute duration and optional reason in chat, e.g. 10m Spamming."
tempban-prompt: "Type tempban duration and optional reason in chat, e.g. 1d Griefing."
lookup-prompt: "Type the player name or UUID to look up in chat."
lookup-failed: "Unable to resolve that player name or UUID."
action-complete: "{actor} performed {action} on {target}."
kicked: "Kicked {target}: {reason}."
banned: "Banned {target}: {reason}."
tempbanned: "Temporarily banned {target} for {duration}: {reason}."
muted: "Muted {target} for {duration}."
unmuted: "Unmuted {target}."
already-muted: "{target} is already muted."
already-unmuted: "{target} is not muted."
player-frozen: "{target} has been frozen."
player-unfrozen: "{target} has been unfrozen."
cannot-perform-offline: "That action requires the player to be online."
history-title: "Recent admin actions"
no-history: "No history entries yet."
mute-chat-block: "You are muted for {reason} until {until}."
lookup-prompt-usage: "Enter a player name or UUID to manage."
invalid-duration: "Invalid duration format. Use values like 10m, 2h, or 1d."
lookup-opened: "Managing player {target}."
info-player: "{target} is online with {health}❤, {food} food, {gamemode}, ping {ping}."
not-online-for-inv: "Player must be online to view inventory or ender chest."
healed: "Healed {target}."
fed: "Fed {target}."
teleported: "Teleported to {target}."
lookup-result-offline: "Opened actions for offline player {target}. Only ban/tempban actions will work."
config-reloaded: "BetterAdmin configuration reloaded."
action-cancelled: "Action cancelled."
undo-success: "Reverted {action} for {target}."
vanish-on: "You are now vanished."
vanish-off: "You are now visible."
permissions:
use: betteradmin.use
lookup: betteradmin.lookup
history: betteradmin.history
kick: betteradmin.kick
ban: betteradmin.ban
tempban: betteradmin.tempban
mute: betteradmin.mute
unmute: betteradmin.unmute
freeze: betteradmin.freeze
teleport: betteradmin.teleport
heal: betteradmin.heal
feed: betteradmin.feed
viewinventory: betteradmin.viewinventory
viewenderchest: betteradmin.viewenderchest
info: betteradmin.info
vanish: betteradmin.vanish
reload: betteradmin.reload
undo: betteradmin.undo
消息
所有面向玩家显示的字符串均位于 messages: 下,并支持上述占位符({target}、{actor}、{reason}、{duration}、{action}、{until} 以及信息面板统计项)。修改任意这些内容即可重写或翻译插件的输出文本。
权限节点映射
permissions: 块将每个内部操作键映射到 BetterAdmin 实际检查的权限节点。默认情况下,它们指向标准的 betteradmin.* 节点——除非你正在重新映射权限以适配现有的节点命名方案,否则通常无需修改此部分。
命令
| 命令 |
权限 |
描述 |
/adminpanel |
betteradmin.use |
打开 BetterAdmin GUI |
/adminpanel reload |
betteradmin.use |
在不重启的情况下重载 config.yml |
权限
| 权限 |
默认值 |
说明 |
betteradmin.use |
op |
打开 BetterAdmin GUI |
betteradmin.lookup |
op |
通过名称或 UUID 查找玩家 |
betteradmin.history |
op |
查看管理员历史记录 |
betteradmin.kick |
op |
踢出玩家 |
betteradmin.ban |
op |
永久封禁玩家 |
betteradmin.tempban |
op |
临时封禁玩家 |
betteradmin.mute |
op |
静音玩家 |
betteradmin.unmute |
op |
解除玩家静音 |
betteradmin.freeze |
op |
冻结玩家 |
betteradmin.teleport |
op |
传送至玩家 |
betteradmin.heal |
op |
治疗玩家 |
betteradmin.feed |
op |
恢复玩家饥饿值 |
betteradmin.viewinventory |
op |
查看玩家背包 |
betteradmin.viewenderchest |
op |
查看玩家末影箱 |
betteradmin.info |
op |
查看玩家信息 |
betteradmin.vanish |
op |
切换工作人员隐身模式 |
betteradmin.reload |
op |
重新加载 config.yml |
betteradmin.undo |
op |
从历史记录菜单中撤销封禁、临时封禁、静音或冻结操作 |
安装方法
- 从此页面下载对应 Minecraft 版本的 jar 文件。
- 将其放入服务器的
plugins/ 文件夹中。
- 启动(或重启)服务器。首次启动时会生成
config.yml;data.yml 也会被创建,用于在重启之间持久化保存历史记录、静音和冻结状态。
- 运行
/adminpanel 打开 GUI,或先编辑 config.yml 并通过 /adminpanel reload 应用更改。
许可证
MIT
BetterAdmin
Tired of juggling half a dozen admin plugins just to kick, ban, mute, and keep tabs on players? BetterAdmin puts it all behind one GUI — click a player, pick an action, done. No memorizing command syntax for your whole staff team.
Compatibility: Paper, Minecraft 26.2, Java 25.
Features
- Player management GUI with pagination for large servers
- Kick, ban, temp-ban, mute, unmute — bans are profile/UUID-based, not name-based, so they stick even if a player changes their name
- Confirmation step before ban/tempban actions to prevent misclicks
- Inventory viewer and ender chest viewer
- Teleport, heal, feed, and freeze/unfreeze toggle
- Staff vanish mode
- Player lookup by name or UUID (works for offline players too — ban/tempban still available)
- Recent admin action history with one-click undo for bans, mutes, and freezes
- History, mutes, and freezes persist across restarts (
data.yml)
- Reload config without restarting:
/adminpanel reload
- Every player-facing message and permission node key is configurable via
config.yml
Using the GUI
- Run
/adminpanel to open the player list.
- Click a player to open their action menu: kick, ban, tempban, mute, unmute, freeze/unfreeze, teleport, heal, feed, view inventory, view ender chest, player info, or vanish (for yourself).
- Actions that need input (ban/kick reason, mute or tempban duration, or a name/UUID lookup) prompt you to type the value in chat — type
default on a reason prompt to use the standard message.
- Ban and tempban ask for a confirmation click before they go through.
- Open Recent admin history from the main menu to see the latest actions and undo a ban, mute, or freeze with one click.
Looking up an offline player works too — you'll only be able to ban/tempban them, since actions like teleport or inventory viewing need them online.
Configuration
BetterAdmin creates plugins/BetterAdmin/config.yml on first startup. Edit it and run /adminpanel reload to apply changes without restarting.
messages:
only-player: "Only in-game players can use this command."
no-permission: "You do not have permission to open the admin panel."
player-offline: "That player is not online or could not be found."
refresh-success: "Admin menu refreshed."
reason-prompt: "Type the reason in chat and press enter. Type 'default' to use the standard reason."
mute-prompt: "Type mute duration and optional reason in chat, e.g. 10m Spamming."
tempban-prompt: "Type tempban duration and optional reason in chat, e.g. 1d Griefing."
lookup-prompt: "Type the player name or UUID to look up in chat."
lookup-failed: "Unable to resolve that player name or UUID."
action-complete: "{actor} performed {action} on {target}."
kicked: "Kicked {target}: {reason}."
banned: "Banned {target}: {reason}."
tempbanned: "Temporarily banned {target} for {duration}: {reason}."
muted: "Muted {target} for {duration}."
unmuted: "Unmuted {target}."
already-muted: "{target} is already muted."
already-unmuted: "{target} is not muted."
player-frozen: "{target} has been frozen."
player-unfrozen: "{target} has been unfrozen."
cannot-perform-offline: "That action requires the player to be online."
history-title: "Recent admin actions"
no-history: "No history entries yet."
mute-chat-block: "You are muted for {reason} until {until}."
lookup-prompt-usage: "Enter a player name or UUID to manage."
invalid-duration: "Invalid duration format. Use values like 10m, 2h, or 1d."
lookup-opened: "Managing player {target}."
info-player: "{target} is online with {health}❤, {food} food, {gamemode}, ping {ping}."
not-online-for-inv: "Player must be online to view inventory or ender chest."
healed: "Healed {target}."
fed: "Fed {target}."
teleported: "Teleported to {target}."
lookup-result-offline: "Opened actions for offline player {target}. Only ban/tempban actions will work."
config-reloaded: "BetterAdmin configuration reloaded."
action-cancelled: "Action cancelled."
undo-success: "Reverted {action} for {target}."
vanish-on: "You are now vanished."
vanish-off: "You are now visible."
permissions:
use: betteradmin.use
lookup: betteradmin.lookup
history: betteradmin.history
kick: betteradmin.kick
ban: betteradmin.ban
tempban: betteradmin.tempban
mute: betteradmin.mute
unmute: betteradmin.unmute
freeze: betteradmin.freeze
teleport: betteradmin.teleport
heal: betteradmin.heal
feed: betteradmin.feed
viewinventory: betteradmin.viewinventory
viewenderchest: betteradmin.viewenderchest
info: betteradmin.info
vanish: betteradmin.vanish
reload: betteradmin.reload
undo: betteradmin.undo
Messages
Every player-facing string lives under messages: and supports the placeholders shown above ({target}, {actor}, {reason}, {duration}, {action}, {until}, and the info-panel stats). Change any of these to reword or translate the plugin's output.
Permission node mapping
The permissions: block maps each internal action key to the actual permission node BetterAdmin checks. By default these point at the standard betteradmin.* nodes below — you generally don't need to touch this section unless you're remapping permissions to fit an existing node naming scheme.
Commands
| Command |
Permission |
Description |
/adminpanel |
betteradmin.use |
Opens the BetterAdmin GUI |
/adminpanel reload |
betteradmin.use |
Reloads config.yml without restarting |
Permissions
| Permission |
Default |
Description |
betteradmin.use |
op |
Open the BetterAdmin GUI |
betteradmin.lookup |
op |
Look up players by name or UUID |
betteradmin.history |
op |
View admin history |
betteradmin.kick |
op |
Kick players |
betteradmin.ban |
op |
Permanently ban players |
betteradmin.tempban |
op |
Temporarily ban players |
betteradmin.mute |
op |
Mute players |
betteradmin.unmute |
op |
Unmute players |
betteradmin.freeze |
op |
Freeze players |
betteradmin.teleport |
op |
Teleport to players |
betteradmin.heal |
op |
Heal players |
betteradmin.feed |
op |
Feed players |
betteradmin.viewinventory |
op |
View player inventories |
betteradmin.viewenderchest |
op |
View player ender chests |
betteradmin.info |
op |
View player information |
betteradmin.vanish |
op |
Toggle staff vanish mode |
betteradmin.reload |
op |
Reload config.yml |
betteradmin.undo |
op |
Revert a ban, tempban, mute, or freeze from the history menu |
Installation
- Download the jar for your Minecraft version from this page.
- Place it in your server's
plugins/ folder.
- Start (or restart) the server.
config.yml is generated on first boot; data.yml is created to persist history, mutes, and freezes across restarts.
- Run
/adminpanel to open the GUI, or edit config.yml first and apply changes with /adminpanel reload.
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧