该插件为管理员和玩家提供了一系列实用的 QOL(生活质量)功能,所有功能均可切换开关并进行自定义配置。
功能与命令
全局命令:/smpUtils:
- 支持对所有实用工具/功能的 Tab 自动补全
- 需要多个输入参数,具体取决于所选的实用工具和附加选项,详细信息见下文各工具的说明
物品数量限制器 (Item Limiter)
- 输入一个数字作为允许持有的该材质物品的“最大”数量上限。当玩家持有的数量超过此限制时,他们将收到一条提示消息,超出的部分将被丢弃到地上。
使用 /smpUtils itemLimiter,包含多种选项
-
“/smpUtils itemLimiter add” 的第一种用法需要额外输入两个参数:一种材质(所有材质均支持 Tab 补全)和一个数字(允许持有的最大数量)
-
“/smpUtils itemLimiter remove” 的第二种用法需要额外输入一个当前已设置限制的有效材质(所有有限制的材质均支持 Tab 补全)
-
“/smpUtils itemLimiter list” 的第三种用法无需额外输入,列出所有当前生效的物品数量限制
-
“/smpUtils itemLimiter clear” 的第四种用法仅在输入额外参数 "confirm" 时才会执行,否则将向用户发送警告,询问其是否确定要清除所有物品数量限制,若确定需重复命令并加上 confirm
-
“/smpUtils itemLimiter toggle” 的第五种用法用于开启或关闭物品数量限制器
-
“/smpUtils itemLimiter method” 的第六种用法提供两种选项,用于设定何时检查玩家背包以判断是否超出上限
- "onHit"(受击时):仅在其他玩家攻击该玩家时检查其背包
- "onMove"(移动时)(默认设置):每当玩家移动时检查其背包
附魔等级限制器 (Enchantment Limiter)
- 输入一种附魔和一个数字作为允许装备在任何物品上的“最高”附魔等级。当超过此限制时,玩家将收到一条消息,且该物品上的附魔等级将被重置为该附魔的最高允许等级。
使用 /smpUtils enchantLimiter,包含多种选项
-
“/smpUtils enchantLimiter add” 的第一种用法需要额外输入两个参数:一种附魔(所有附魔均支持 Tab 补全)和一个数字(允许的最高等级)
-
“/smpUtils enchantLimiter remove” 的第二种用法需要额外输入一个当前已设置限制的有效附魔(所有限制的附魔均支持 Tab 补全)
-
“/smpUtils enchantLimiter list” 的第三种用法无需额外输入,列出所有当前生效的附魔等级限制
-
“/smpUtils enchantLimiter clear” 的第四种用法仅在输入额外参数 "confirm" 时才会执行,否则将向用户发送警告,询问其是否确定要清除所有附魔等级限制,若确定需重复命令并加上 confirm
-
“/smpUtils enchantLimiter toggle” 的第五种用法用于开启或关闭附魔等级限制器
隐形击杀 (Invisible Kills)
- 当此功能开启时,如果一名玩家被隐形玩家杀死,死亡信息中包含击杀者名称的部分将被不可读的文本混淆隐藏
通过 /smpUtils invisibleKills toggle 切换开关
即时补货 (Instant Restock)
- 当此功能开启时,村民永远不会耗尽交易次数,且在大量购买时也不会因需求增加而提高价格
通过 /smpUtils instantRestock toggle 切换开关
物品防爆 (Item Explosions)
- 当此功能开启时,物品将具有抗爆性,不会因爆炸而损坏
通过 /smpUtils itemExplosions toggle 切换开关
爆炸伤害上限 (Explosion Damage Cap)
- 当此功能开启时,任何爆炸伤害都有一个固定的上限值,无法超过该数值
通过 /smpUtils explosionDamageCap toggle 切换开关
使用 /smpUtils explosionDamageCap set/get <cap> 设置或获取伤害上限值
战斧伤害上限 (Mace Damage Cap)
- 当此功能开启时,任何战斧造成的伤害都有一个固定的上限值,无法超过该数值
通过 /smpUtils maceDamageCap toggle 切换开关
使用 /smpUtils maceDamageCap set/get <cap> 设置或获取伤害上限值
This plugin adds a number of useful QOL features both for admins and players alike, all of which are toggleable and customisable.
Features and commands
Global Command: /smpUtils:
- Will tab complete with every utility / feature
- Requires multiple inputs dependent on the utility and further options selected, more information below on the per-utility options
Item Limiter
- Input a number to be the "max" amount of the material allowed to be held, when this number is gone over by a player, they will recieve a message telling them so and the overlap will be dropped onto the floor.
Uses /smpUtils itemLimiter, many options within
-
Option one of "/smpUtils itemLimiter add" requires 2 extra inputs of a material (all materials will tab complete) and a number (the max number allowed to be held)
-
Option two of "/smpUtils itemLimiter remove" requires 1 extra input of a valid material currently with a limit (all materials with a limit will tab complete)
-
Option three of "/smpUtils itemLimiter list" requires no extra inputs and lists all currently active item limits
-
Option four of "/smpUtils itemLimiter clear" will only run if an extra input of "confirm" is entered with the command, otherwise a warning will be sent to the user asking them to repeat with confirm if they are sure they want to clear all the item limits.
-
Option five of "/smpUtils itemLimiter toggle" will toggle on or off the item limiter.
-
Option six of "/smpUtils itemLimiter method" gives two options for when the item limiter will check a players inventory for exceeding the cap
- "onHit" will only check the players inventory when they are hit by another player
- "onMove" (is set to this by default) will check the players inventory whenever they move
Enchantment Limiter
- Input an enchantment and a number to be the "maximum" level of the enchantment allowed to be equipped on any item. When this limit is exceeded the player will be sent a message and the item will be enchanted with the maximum level of the enchantment.
Uses /smpUtils enchantLimiter, many options within
-
Option one of "/smpUtils enchantLimiter add" requires 2 extra inputs of an enchantment (all enchantment will tab complete) and a number (the max level allowed)
-
Option two of "/smpUtils enchantLimiter remove" requires 1 extra input of a valid enchantment currently with a limit (all enchantments with a limit will tab complete)
-
Option three of "/smpUtils enchantLimiter list" requires no extra inputs and lists all currently active enchantment limits
-
Option four of "/smpUtils enchantLimiter clear" will only run if an extra input of "confirm" is entered with the command, otherwise a warning will be sent to the user asking them to repeat with confirm if they are sure they want to clear all the enchantment limits.
-
Option five of "/smpUtils enchantLimiter toggle" will toggle on or off the enchantment limiter.
Invisible Kills
- When this is toggled on and a player dies to an invisible player, the part of the death message with the killer included will be obfuscated with unreadable text
Toggled with /smpUtils invisibleKills toggle
Instant Restock
- When this is toggled, villagers will never run out of trades and will not increase price for demand when bought a lot
Toggled with /smpUtils instantRestock toggle
Item Explosions
- When this is toggled, items are resistant to explosions are will not die to them.
Toggled with /smpUtils itemExplosions toggle
Explosion Damage Cap
- When this is toggled, any explosion damage has a set cap that it cannot exceed
Toggled with /smpUtils explosionDamageCap toggle
- (Is set to disabled by default)
Set or get damage with /smpUtils explosionDamageCap set/get <cap>
- (Is set to 0 damage by default)
Mace Damage Cap
- When this is toggled, any mace damage has a set cap that it cannot exceed
Toggled with /smpUtils maceDamageCap toggle
- (Is set to disabled by default)
Set or get damage with /smpUtils maceDamageCap set/get <cap>
- (Is set to 0 damage by default)
评论 0
登录后参与评分
还没有评论,来抢沙发吧