此插件为你的服务器提供了一系列你可能用到的功能。
✅ 功能
注意: 请注意,目前所有功能默认均未启用。所有功能均为可选开启,可通过配置文件进行配置,部分选项还可通过插件命令进行设置。详见下文。
⏰ 超时(Timeout)
该插件包含一个自定义的超时功能。管理员可以对玩家执行超时操作,即在不移除玩家的情况下限制其参与服务器的活动。
玩家将无法执行以下操作(具体取决于配置):
- 移动
- 放置/破坏方块
- 发送聊天消息
- 运行命令
这些限制的严格程度可以个性化定制。例如,允许使用特定命令或限制可移动的区域。
? 维护模式
维护模式会向服务器上的玩家显示一条可自定义的消息。 此功能在白名单服务器上测试时非常有用,可以将普通玩家拒之门外,同时让管理员留在服务器内。
? 修复铁砧成本
一种将最大铁砧修理成本固定为特定值的方法。 此功能完全在插件的配置文件中配置。
❓ 用法
通常,与该插件的交互通过命令和插件的 config 文件夹完成。设置或配置命令也会修改配置文件。因此,配置文件是本项目的主要配置点。
⏰ 超时命令
/timeout 命令要求玩家拥有 blockysfixes.timeout 权限。
/timeout <player> <seconds> 对选定的玩家执行指定秒数的超时操作。
如果指定 0 秒,则清除超时状态。
如果指定 -1 秒,则超时时间为无限。
/timeoutarea 命令要求玩家拥有 blockysfixes.timeoutarea 权限。
/timeoutarea <option> 调整超时区域(Timeoutarea)的设置。
/timeoutarea toggle 切换超时区域的开关状态。
/timeoutarea pos1 <x> <y> <z> 设置超时区域的第一个边缘坐标。如果未指定位置,则使用当前玩家的位置。
/timeoutarea pos2 <x> <y> <z> 设置超时区域的第二个边缘坐标。如果未指定位置,则使用当前玩家的位置。
/timeoutarea togglespawn 切换自动传送至超时区域的开关状态。
/timeoutarea setspawn <x> <y> <z> 设置超时区域重生点的位置。如果未指定位置,则使用当前玩家的位置。重生点必须位于超时区域内。
? 维护命令
/maintenance 命令要求玩家拥有 blockysfixes.maintenance 权限。
/maintenance 打印当前的维护状态
/maintenance on 开启维护模式(将非白名单玩家踢出服务器)。
/maintenance off 关闭维护模式。
白名单
白名单的编辑方式类似于 Minecraft 的原生白名单命令:
/maintenance whitelist list 列出当前在白名单中的玩家。
/maintenance whitelist add <player> 将指定玩家添加到白名单中。
/maintenance whitelist remove <player> 从白名单中移除指定玩家。
此外,还有一个用于通过权限管理白名单玩家的权限:blockysfixes.maintenance.bypass
注意: 为了使此权限生效,你需要使用 LuckPerms 插件进行设置。目前不支持其他方式,但如有需要请随时提出请求。
维护模式类型
有多种激活维护模式的方式。你可以通过在 maintenance 命令后附加特定的模式来激活它们,例如 /maintenance on normal。
normal
会踢出非白名单玩家,并通知所有白名单玩家维护模式已激活。
silent
会踢出非白名单玩家。不向其他玩家发送通知。
no_kick
不会踢出玩家,并通知所有白名单玩家维护模式已激活。
keep_online_players
不会踢出玩家,并通知所有白名单玩家维护模式已激活。 此外,它允许在激活时在线的玩家重新加入,即使他们丢失了连接。但如果服务器重启,则不再允许重新加入。
维护模式 MOTD
当维护模式激活时,你还可以更改服务器的 MOTD(进入服务器时的提示消息),以便玩家在尝试连接前知晓情况。 有关如何配置的信息,请参阅配置示例。
默认配置:
这里提供一个带有部分说明的默认配置:
timeout:
allow-commands: false
allowed-commands: # 仅在 allow_commands = false 时生效
# - "/help"
area:
enabled: false
spawn:
enabled: false
x: 0
y: 0
z: 0
world: world
pos1:
x: 0
y: 0
z: 0
pos2:
x: 0
y: 0
z: 0
maintenance:
enabled: false
# 以 MiniMessage 格式显示的踢出消息。当玩家尝试加入服务器时会显示此消息。
message: "<red>Maintenance Mode active.</red>"
# 在维护模式激活期间显示的自定义 MOTD。你可以使用 MiniMessage 格式对其进行格式化。
custom_motd_active: false
custom_motd: "<red>Maintenance mode is active.</red> <white>Please try again later.</white>"
anvil-repair-cost:
enabled: false
max-cost: 10 # 修理物品所需的最大经验等级数量
blacklist: # 排除在成本限制之外的物品
#- 'ELYTRA'
This Plugin adds a suite of features you could maybe use on your Server.
✅ Features
Attention: Please notice that currently none of the features are enabled by default. Everything is opt in and can be configured using the config file and for some options using the plugins commands. See below.
⏰ Timeout
The Plugin contains a custom Timeout function. Moderators will be able to timeout Players meaning limiting their ability to participate on the server while not kicking them from the server.
Players will be prevented from doing the following actions (depending on config):
- Move around
- Place/Break Blocks
- Send chat messages
- Run command
The strictness of those blockings can be personalized. For example allowing specific commands or resticting the area to move within.
? Maintenance mode
The maintenance leaves players of the server with a customizable message. This feature is useful for test on whitelist server to keep the playes out and the admins in.
? Fixed anvil costs
A way to fix the max anvil costs to a specific value. This feature is purely configured in the plugins configuration file.
❓ Usage
Generally interaction with this plugin is done via. commands and the plugins config folder. The Settings or configuration commands will also modify the conofig. So the config it the main point of configuration of this project.
⏰ Timeout Commands
The /timeout commands requires the player to have the blockysfixes.timeout permission.
/timeout <player> <seconds> Timeouts the selected player for the selected amount of seconds.
If 0 seconds are specified, the timeout is being cleared.
If -1 seconds are specified, the timeout time is infinite.
The /timeoutarea commands requires the player to have the blockysfixes.timeoutarea permission.
/timeoutarea <option> Adjust the settings of the Timeoutarea.
/timeoutarea toggle Toggles the Timeoutarea.
/timeoutarea pos1 <x> <y> <z> Set the first edge of the timeout area. If no position is specified it uses the current player position.
/timeoutarea pos2 <x> <y> <z> Set the second edge of the timeout area. If no position is specified it uses the current player position.
/timeoutarea togglespawn Toggles the automatic teleport to the timeout area.
/timeoutarea setspawn <x> <y> <z> Set the position of the timeout area spawn. If no position is specified it uses the current player position. The spawn needs to be inside the timeout area.
? Maintenance commands
The /maintenance commands requires the player to have the blockysfixes.maintenance permission.
/maintenance prints the current maintenance status
/maintenance on turns on maintenance mode (kicking not whitelisted players off the server.
/maintenance off turns off maintendance mode.
The whitelist
The whitelist can be edited like the minecraft whitelist command:
/maintenance whitelist list lists the currently whitelisted players.
/maintenance whitelist add <player> adds the specified player to the whitelist.
/maintenance whitelist remove <player> removes the specified player from the whitelist.
Additionally there is a permission to whitelist players using blockysfixes.maintenance.bypass
Attention: in order for this permission to work you need to have it set using the LuckPerms plugin. Currently no other way is supported but feel free to request somethign.
Maintenance modes
There are multiple modes how the maintenance can be activated. All of them can be activated by attaching the specific mode to the end of the maintenance command for example. /maintenance on normal
normal
will kick players not whitelisted and notify everybody whitelisted that the maintenance mode has beed activated.
silent
will kick player not whitelisted. No notification of other players.
no_kick
will not kick players and notify everybody whitelisted that the maintenance mode has beed activated.
keep_online_players
will not kick players and notify everybody whitelisted that the maintenance mode has beed activated. Additionally it will allow players online at the time of activation to rejoin even if they lost connection. But not anymore if the server restarts.
Maintenance motd
You can also change the servers motd while the maintenance mode is active to let players know before they try to connect. Please take a look at the config example for information how to configure it.
Default Config:
Here a default Config with some descriptions:
timeout:
allow-commands: false
allowed-commands: # Only works is allow_commands = false
# - "/help"
area:
enabled: false
spawn:
enabled: false
x: 0
y: 0
z: 0
world: world
pos1:
x: 0
y: 0
z: 0
pos2:
x: 0
y: 0
z: 0
maintenance:
enabled: false
# Kick message in mini message Format. This message is show to the player as when they try to join the server.
message: "<red>Maintenance Mode active.</red>"
# Custom modt that is shown while the maintenance mode is active. You can format it in the Minimessage format.
custom_motd_active: false
custom_motd: "<red>Maintenance mode is active.</red> <white>Please try again later.</white>"
anvil-repair-cost:
enabled: false
max-cost: 10 # Maximum amount of xplevels repairing an item will cost
blacklist: # Items excluded from the costlimit
#- 'ELYTRA'
下载 Blocky's Fixes
下载 Blocky's Fixes
下载 Blocky's Fixes
下载 Blocky's Fixes
下载 Blocky's Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Blocky's Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Blocky's Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Blocky's Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Blocky's Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Blocky's Fixes
玩家加入时添加脆弱性强制器
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧