简易玩家缩放
该插件允许玩家改变自身大小。
翻译
功能特性
-
每个玩家独立设置:每位玩家可以调整自己的体型大小,重新加入游戏时不会重置。
-
按组别分配权限:插件允许通过用户组(例如 LuckPerms 中的组)授予更改最大和最小体型的权限。
-
保存个人设置:在退出和进入服务器时,自动保存并加载玩家的体型大小设置。
-
WorldGuard 支持:新增 player-scale 标志位,可添加到指定区域中,禁止在该区域内更改体型大小。
-
ViaVersion 支持:当玩家客户端版本过低无法调整角色大小时,会向玩家发送提示信息。
-
易于配置:配置文件信息简洁,设置简单。
依赖项
- WorldGuard: 下载
- WorldEdit: 下载
- ViaVersion: 下载
命令
主命令:/playerscale
- 用法:
/playerscale <number>
- 别名:
pscale
- 改变玩家的大小。
子命令
- reload
- 用法:
/pscale reload
- 重新加载插件的配置。
权限
-
使用命令 /pscale:playerscale.set
-
重新加载插件配置:playerscale.reload
-
默认情况下,仅管理员拥有 playerscale.reload 权限
-
默认情况下,所有玩家拥有 playerscale.set 权限
config.yml
# 更改大小的权限通过 'group.<name>' 授予(在 LuckPerms 中自动授予所有组)
# 如果玩家属于多个组,将选择最小的值作为 `min`,最大的值作为 `max`。
scales:
default: # 所有玩家的默认值
min: 0.7
max: 1.2
moder:
min: 0.5
max: 1.5
admin:
min: 0.2
max: 2
#----------- 消息 -----------
# 颜色请使用符号 '§'
# 消息前缀;如果要移除它,只需将其设为空 - ''
prefix: '§f[§lP§r§7layer§f§lS§r§7cale§f] §r'
# 更改大小时显示的消息。'{scale}' 是大小值的占位符。
scale-change-msg: '§a您已将尺寸设置为 {scale}'
# 命令中存在语法错误时显示的消息。
incorrect-args-msg: '§c语法错误§e - 请使用 §l/pscale <数字>'
# 重新加载配置(/pscale reload)时显示的消息。
reload-config-msg: '§a配置已成功重新加载'
# 执行命令时因权限不足而显示的提示消息。
no-permission-msg: '§c你没有权限执行此命令'
# 进入禁止改变大小的区域时显示的消息(player-scale = deny)
rg-flag-msg: '§c在此区域内禁止更改角色大小'
# 当玩家使用低于 1.20.5 的版本时,尝试更改角色大小所显示的提示消息。
old-version-msg: '§c角色大小只能在 1.20.5 及以上版本中更改'
Simpe Player Scale
The plugin allows players to change their size.
Translations
Features
- Individual for each player: Each player can change their size, which does not reset upon rejoining the game.
- Permissions for specific groups: The plugin allows granting permissions to change the maximum and minimum size by groups (for example, for groups in LuckPerms).
- Saving individual settings: Automatically saves and loads the player's size when exiting and entering the server.
- WorldGuard support: Adds a
player-scale flag that can be added to a region to prohibit size changes within it.
- ViaVersion support: Notifies the player that their version is too low to change the character's size.
- Easy to configure: The configuration does not contain much information and is easy to set up.
Dependencies
Commands
Main command: /playerscale
- Usage:
/playerscale <number>
- Aliases:
pscale
- Changes the player's size.
Subcommands
- reload
- Usage:
/pscale reload
- Reloads the plugin's configuration.
Permissions
-
Use the command /pscale: playerscale.set
-
Reload the plugin configuration: playerscale.reload
-
By default, only operators have playerscale.reload
-
By default, all players have playerscale.set
config.yml
# Permissions for changing size are granted with 'group.<name>' (automatically granted to all groups in LuckPerms)
# If a player belongs to multiple groups, the smallest value will be chosen for `min` and the largest for `max`.
scales:
default: # Default values for all players
min: 0.7
max: 1.2
moder:
min: 0.5
max: 1.5
admin:
min: 0.2
max: 2
#----------- Messages -----------
# For color, use the symbol '§'
# Prefix before messages; if you want to remove it, just make it empty - ''
prefix: '§f[§lP§r§7layer§f§lS§r§7cale§f] §r'
# Message displayed when changing size. '{scale}' is a placeholder for the size value.
scale-change-msg: '§aYou have set your size to {scale}'
# Message displayed when there is a syntax error in the command.
incorrect-args-msg: '§cSyntax error§e - use §l/pscale <number>'
# Message displayed when reloading config (/pscale reload).
reload-config-msg: '§aConfig successfully reloaded'
# Message displayed when lacking permission to execute the command.
no-permission-msg: '§cYou do not have permission to execute this command'
# Message displayed when entering a region where changing size is prohibited (player-scale = deny).
rg-flag-msg: '§cChanging character size is prohibited in this region'
# Message displayed when trying to change character size if the player is using a version below 1.20.5.
old-version-msg: '§cCharacter size can be changed in version 1.20.5 and above'
评论 0
登录后参与评分
还没有评论,来抢沙发吧