docs: update mcserver/admin

This commit is contained in:
2025-02-03 12:38:16 +00:00
committed by wiki
Unverified
parent 99a25928b4
commit c14e5b8e8f

View File

@@ -2,36 +2,261 @@
title: 管理员相关
description:
published: true
date: 2025-02-03T11:31:37.174Z
date: 2025-02-03T12:38:15.498Z
tags:
editor: markdown
dateCreated: 2025-02-03T07:58:51.978Z
---
## 服务端mod列表
[banhammer-0.7.1+1.20.1.jar](https://www.mcmod.cn/class/5377.html)
cardinal-components-api-5.2.2.jar
cloth-config-11.1.118-fabric.jar
[commandspy-1.3.3.jar](https://www.mcmod.cn/class/9077.html)
[coroutil-fabric-1.20.1-1.3.7.jar](https://www.mcmod.cn/class/706.html)
[create-fabric-0.5.1-f-build.1335+mc1.20.1.jar](https://www.mcmod.cn/class/2021.html)
[Dynmap-3.7-beta-6-fabric-1.20.jar](https://www.mcmod.cn/class/5796.html)
[easyauth-mc1.20-3.0.19.jar](https://www.mcmod.cn/class/6241.html)
[essential\_commands-0.35.3-mc1.20.1.jar](https://www.mcmod.cn/class/4493.html)
fabric-language-kotlin-1.12.0+kotlin.2.0.10.jar
[htm-1.1.9.jar](https://www.mcmod.cn/class/5172.html)
[~~InertiaAntiCheat-0.0.7.2+1.20.1.jar~~](https://www.mcmod.cn/class/10706.html)
[InvView-1.4.12-1.20+.jar](https://www.mcmod.cn/class/5193.html)
[journeymap-1.20.1-5.10.3-fabric.jar](https://www.mcmod.cn/class/198.html)
[LuckPerms-Fabric-5.4.102.jar](https://www.mcmod.cn/class/5192.html)
malilib-fabric-1.20.1-0.16.3.jar
[QuickBackupMulti-mc1.20-v2.1.0.jar](https://www.mcmod.cn/class/13202.html)
[ServerReplay-1.1.1+mc1.20.1.jar](https://www.mcmod.cn/class/13202.html)
[styledplayerlist-3.1.1+1.20.1.jar](https://www.mcmod.cn/class/13809.html)
[syncmatica-1.20.1-0.3.10.jar](https://www.mcmod.cn/class/6842.html)
[vanish-1.5.5+1.20.1.jar](https://www.mcmod.cn/class/10848.html)
[voicechat-fabric-1.20.1-2.5.20.jar](https://www.mcmod.cn/class/3693.html)
[watut-fabric-1.20.1-1.1.3 (1).jar](https://www.mcmod.cn/class/12938.html)
# 服务端mod列表
[banhammer-0.7.1+1.20.1.jar](https://www.mcmod.cn/class/5377.html)
cardinal-components-api-5.2.2.jar
cloth-config-11.1.118-fabric.jar
[commandspy-1.3.3.jar](https://www.mcmod.cn/class/9077.html)
[coroutil-fabric-1.20.1-1.3.7.jar](https://www.mcmod.cn/class/706.html)
[create-fabric-0.5.1-f-build.1335+mc1.20.1.jar](https://www.mcmod.cn/class/2021.html)
[Dynmap-3.7-beta-6-fabric-1.20.jar](https://www.mcmod.cn/class/5796.html)
[easyauth-mc1.20-3.0.19.jar](https://www.mcmod.cn/class/6241.html)
[essential\_commands-0.35.3-mc1.20.1.jar](https://www.mcmod.cn/class/4493.html)
fabric-language-kotlin-1.12.0+kotlin.2.0.10.jar
[htm-1.1.9.jar](https://www.mcmod.cn/class/5172.html)
[~~InertiaAntiCheat-0.0.7.2+1.20.1.jar~~](https://www.mcmod.cn/class/10706.html)
[InvView-1.4.12-1.20+.jar](https://www.mcmod.cn/class/5193.html)
[journeymap-1.20.1-5.10.3-fabric.jar](https://www.mcmod.cn/class/198.html)
[LuckPerms-Fabric-5.4.102.jar](https://www.mcmod.cn/class/5192.html)
malilib-fabric-1.20.1-0.16.3.jar
[QuickBackupMulti-mc1.20-v2.1.0.jar](https://www.mcmod.cn/class/13202.html)
[ServerReplay-1.1.1+mc1.20.1.jar](https://www.mcmod.cn/class/13949.html)
[styledplayerlist-3.1.1+1.20.1.jar](https://www.mcmod.cn/class/13809.html)
[syncmatica-1.20.1-0.3.10.jar](https://www.mcmod.cn/class/6842.html)
[vanish-1.5.5+1.20.1.jar](https://www.mcmod.cn/class/10848.html)
[voicechat-fabric-1.20.1-2.5.20.jar](https://www.mcmod.cn/class/3693.html)
[watut-fabric-1.20.1-1.1.3 (1).jar](https://www.mcmod.cn/class/12938.html)
[worldedit-mod-7.2.15.jar](https://www.mcmod.cn/class/609.html)
## 可用管理命令:
# 可用管理命令:
## BanHammer 
| | | |
| --- | --- | --- |
| 命令 | 权限 | 备注 |
| /banhammer | banhammer.commands.main (default) | 发送关于 BanHammer 的信息<br><br>如果你想让这种惩罚无声无息,你可以在理由前加上 -s。 |
| /banhammer reload | banhammer.commands.reload (op 4) | 重新加载 BanHammer 配置 |
| /banhammer import <source> \[<remove>\] | banhammer.commands.import (op 4) | 从其他来源导入封禁(如果 remove 设置为 "true",则从其中移除封禁)。 |
| /ban <player> \[<reason>\] | banhammer.punish.ban (op 3/config) | 封禁玩家 |
| /tempban <player> <duration> \[<reason>\] | banhammer.punish.tempban (op 3/config) | 临时封禁玩家 |
| /ban-ip <player> \[<reason>\] | banhammer.punish.banip (op 3/config) | 封禁玩家 IP |
| /tempban-ip <player> <duration> \[<reason>\] | banhammer.punish.tempbanip (op 3/config) | 临时封禁玩家 IP |
| /mute <player> \[<reason>\] | banhammer.punish.mute (op 3/config) | 禁言玩家 |
| /tempmute <player> <duration> \[<reason>\] | banhammer.punish.tempmute (op 1) | 临时禁言玩家 |
| /kick <player> \[<reason>\] | banhammer.punish.kick (op 3/config) | 踢出玩家 |
| /unban <player> | banhammer.unpunish.unban (op 3/config) | 移除对玩家的封禁 |
| /unban-ip <player> | banhammer.unpunish.unbanip (op 3/config) | 移除对玩家 IP 的封禁 |
| /unmutes <player> | banhammer.unpunish.unmute (op 3/config) | 移除对玩家的禁言 |
| /pardon <player> | banhammer.unpunish.pardon (op 3/config) | 移除对玩家的所有惩罚 |
此外,如果你想让这种惩罚无声无息,你可以在理由前加上 -s。
时间可以用秒15/15s、分钟3m、小时24h、天7d、年1y或者将这些组合起来来表示5y3d9h3m8s
## EasyAuth
**玩家命令**
/login <password>, /l <password> - 登陆账号
/logout - 退出登陆
/register <password> <password> - 注册账号
/account - 管理账号
/unregister <password> - 注销账号
/changePassword <old password> <new password> - 更改密码
注释: 允许玩家用以下字符组合作为密码:纯字母, 字母与下划线\_, "引号与字母" 或者 "字母与&$@#"。
**管理员命令**
/auth reload - 重新配置文件
/auth setGlobalPassword <password> - 为服务器设置一个全局密码
/auth setSpawn \[<dimension id> <x> <y> <z>\] - 设置一个出生点在玩家登录过程中将他们临时传送至此
/auth remove <uuid> - 将用户数据从数据库中删除
/auth update <uuid> <password> -上传用户密码
/auth register <uuid> <password> - 注册一个新用户
/auth uuid <player> - 以小写形式输入玩家昵称将给出该昵称的离线 uuid
/auth addToForcedOffline <player> - 将玩家添加至强制离线列表
/auth list - 列出所有已注册玩家
Note: right now show only that players who are a login since last start.
## **Essential Commands**
| **命令** | **描述** |
| --- | --- |
| `/tpa <player>` | 请求传送到指定玩家的位置 |
| `/tpahere <player>` | 请求玩家传送到你的位置 |
| `/tpaccept <player>` | 接受玩家的传送请求 |
| `/tpdeny <player>` | 拒绝玩家的传送请求 |
| `/home set <home_name>` | 设置一个个人家的位置 |
| `/home tp <home_name>` | 传送到你的家 |
| `/home delete <home_name>` | 删除你的家 |
| `/home list` | 列出你的所有家(点击可传送) |
| `/warp set <warp_name>` | 设置一个服务器范围内的传送点 |
| `/home tp_other <player_name> <home_name>` | 传送到指定玩家的指定家(通常仅限管理员) |
| `/home tp_offline <player_name> <home_name>` | 传送到指定玩家(可能离线)的指定家(通常仅限管理员) |
| `/home list_offline <player_name>` | 列出指定玩家(可能离线)的所有家(通常仅限管理员) |
| `/home overwritehome <home_name>` | 设置一个个人家的位置,覆盖同名的现有家 |
| `/warp tp <warp_name>` | 传送到一个传送点(授予访问该命令的权限) |
| `/warp tp <warp_name>` | 传送到指定的传送点(授予访问特定传送点的权限) |
| `/warp delete <warp_name>` | 删除一个传送点 |
| `/warp list` | 列出所有可用的传送点(点击可传送) |
| `/back` | 传送到你之前的位置 |
| `/spawn tp``/spawn` | 传送到服务器的出生点 |
| `/spawn set` | 设置服务器的出生点 |
| `/nickname set <nickname>` | 将你自己的昵称设置为指定的Minecraft文本 |
| `/nickname set <target-player> <nickname>` | 将目标玩家的昵称设置为指定的Minecraft文本 |
| `/nickname clear` | 清除你自己的昵称 |
| `/nickname clear <target-player>` | 清除目标玩家的昵称 |
| `/nickname reveal <player-nickname>` | 获取具有指定昵称(不区分大小写)的玩家列表 |
| `/randomteleport``/rtp` | 传送到距离出生点一定距离(在配置中预设)的随机位置 |
| `/fly` | 切换自己的飞行能力 |
| `/fly <target-player>` | 切换目标玩家的飞行能力 |
| `/fly speed <fly_speed>` | 更改自己的飞行速度 |
| `/fly speed reset` | 将自己的飞行速度重置为默认值 |
| `/fly speed <target-player> <fly_speed>` | 更改目标玩家的飞行速度 |
| `/fly speed <target-player> reset` | 将目标玩家的飞行速度重置为默认值 |
| `/workbench` | 打开工作台(制作台)界面 |
| `/grindstone` | 打开磨刀石界面 |
| `/stonecutter` | 打开石切机界面 |
| `/anvil` | 打开铁砧界面 |
| `/enderchest` | 打开你的末影箱界面 |
| `/wastebin` | 打开一个清空物品的界面,关闭时删除所有放入的物品 |
| `/invuln` | 使自己无敌(无法受到伤害) |
| `/invuln <target-player>` | 使目标玩家无敌 |
| `/top` | 传送到你当前位置的最高方块顶部 |
| `/gametime` | 获取当前游戏时间 |
| `/day` | 如果是夜晚,将时间推进到下一个白天的开始 |
| `/afk` | 标记自己为离线状态,直到再次交互或使用`/afk`命令。如果启用了`invuln_while_afk`,则会授予无敌状态 |
| `/bed` | 将自己传送到你的床或出生点 |
| `/lastPos <target-player>` | 获取指定玩家(可能离线)的最后位置 |
| `/rules` | 在聊天中打印规则 |
| `/rules reload` | 从规则文件重新加载规则 |
| `/feed` | 填满你的饥饿条并清除疲劳 |
| `/feed <target-player>` | 填满目标玩家的饥饿条并清除疲劳 |
| `/heal` | 恢复你的生命值 |
| `/heal <target-player>` | 恢复目标玩家的生命值 |
| `/extinguish` | 停止自身燃烧 |
| `/extinguish <target-player>` | 停止目标玩家燃烧 |
| `/essentialcommands config reload` | 重新加载EssentialCommands配置 |
### **特殊功能**
**允许设置彩色昵称**
**允许设置具有特殊格式(斜体、加粗等)的昵称**
**允许设置鼠标悬停时显示文本的昵称**
**允许设置点击时执行操作的昵称**
## **Hey That's Mine**
检查:
/htm flag运行命令后敲击箱子检查容器是否公开权限节点htm.command.flag
设置:
/htm set PUBLIC运行命令后敲击选择把容器设为公开。
/htm set PRIVATE运行命令后敲击选择把容器设为私有私有状态下只有你授权的玩家可以打开容器。
/htm set KEY运行命令后拿着任意物品敲击容器其他人打开容器时需使用敲击时的物品作为钥匙才能打开容器。
以上三条指令的权限节点htm.command.set。
信任和取消信任:
/htm trust 玩家名 global允许玩家打开你的容器。
/htm untrust 玩家名 global取消玩家打开你容器的权限。
以上两条指令的权限节点htm.command.trust。
移除保护:
/htm remove移除该容器的保护htm.command.remove
转移权限:
/htm transfer 玩家名把敲击容器的保护权转移给其他玩家转移后该容器就是别人的了你将无法打开和破坏该容器htm.command.transfer
持续模式:
/htm persist打开或关闭持续模式打开后输入指令即可一次敲击多个容器执行这个指令htm.command.persist
管理权限:
htm.admin拥有该权限节点后可无视保护随意打开或破坏容器默认OP拥有。
## **Inv View**
### 指令
打开玩家背包:/view inv <玩家名>
打开玩家末影箱:/view echest <玩家名>
以上指令权限默认 OP 拥有。
### 权限
invview.command.root允许玩家使用“/view”指令
invview.command.inv允许玩家使用“/view inv”指令
invview.command.echest允许玩家使用“/view echest”指令
invview.command.trinket允许玩家使用“/view trinket”指令
invview.protected允许玩家的背包不被其他人打开。
## **LuckPerms**
给玩家权限:/lp user <玩家> permission set 权限 true
创建组:/lp creategroup <权限组名>
给组权限:/lp group <权限组> permission set 权限 true
玩家继承:/lp user <用户名> parent add <权限组名>
继承组:/lp group <权限组> parent add <要继承的组>
打开网页编辑器:/lp editor 可以进行可视化的权限操作。
## QuickBackupMulti
/qb back <name>**回档至某个备份;**
/qb cancel**:取消回档;**
/qb confirm**确认回档;**
/qb delete <name>**:删除某槽位的备份;**
/qb list**显示备份列表;**
/qb make <name> \[<描述>\]**创建某一存档的备份;**
/qb permission**设置玩家权限;**
/qb search <name>**:搜索某一存档的备份;**
/qb show <name>**显示某一存档备份的具体信息。**
## **ServerReplay**