简易视距
此插件允许玩家更改服务器上的渲染距离,并绕过默认的服务器设置。
翻译
功能特性
-
无冗余设计:插件专为让玩家轻松理解而设计,不包含任何多余的功能。
-
全局设置:可为所有加入服务器的玩家统一设置默认的渲染距离。
-
玩家个体设置:每位玩家均可自行修改自己的渲染距离。
-
特定群组权限管理:插件支持为不同玩家组(例如 LuckPerms 中的组)轻松分配更改渲染距离的权限。
-
个体设置自动保存:玩家离开和重新加入服务器时,会自动保存并加载其自定义的渲染距离设置。
-
易于配置:配置文件不包含过多信息,设置简单。
命令
基础命令:/viewdistance
- 用法:
/viewdistance <数字>
- 别名:
vd
- 将渲染距离设置为新值
子命令
- reload
权限
-
使用 /viewdistance 命令:viewdistance.set
-
重载插件配置:viewdistance.reload
-
默认情况下,只有操作员拥有 viewdistance.reload 权限
-
默认情况下,所有玩家都拥有 viewdistance.set 权限
config.yml
# 最小渲染距离(不能小于 2)
min-distance: 2
按组设置渲染距离,通过权限 'group.<name>' 授予(在 LuckPerms 中自动授予所有组)
玩家无法设置高于此处指定值的数值
如果玩家属于多个组,则选择最高值
distances:
default: 12 # 所有玩家的默认值(不能大于 32)
moder: 16
admin: 32
#----------- 消息 -----------
颜色请使用符号 '§'
消息前缀;如果要移除它,只需将其设为空 - ''
prefix: '§f[§lV§r§7iew§f§lD§r§7instance§f] §r'
更改渲染距离时显示的消息。'{chunks}' 是渲染距离值的占位符
view-distance-change-msg: '§a您已将渲染距离更改为 {chunks} 个区块'
命令中存在语法错误时显示的消息
incorrect-args-msg: '§c语法错误§e - 请使用 §l/vd <数字>'
重新加载配置时显示的消息 (/vd reload)
reload-config-msg: '§a配置已成功重新加载'
缺少执行命令权限时显示的消息
no-permission-msg: '§c你没有权限使用此命令'
Simpe View Distance
The plugin allows players to change their render distance on the server and bypassing default server settings.
Translations
Features
- No unnecessary: The plugin is designed to be understandable for any player. It does not include unnecessary functions.
- Global settings: Ability to set a default render distance for all incoming players on the server.
- Individual settings for each player: Each player can change their own render distance.
- Permissions for specific groups: The plugin allows easy assignment of permissions to change render distance for each individual group (e.g., for groups in LuckPerms).
- Saving individual settings: Automatically saves and loads the player's custom render distance upon leaving and joining the server.
- Easy to configure: The configuration does not contain excessive information and is easy to set up.
Commands
Base command:: /viewdistance
- Usage:
/viewdistance <number>
- Aliases:
vd
- Sets the render distance to a new value
Subcommands
- reload
- Usage:
/vd reload
- Reloads the plugin configuration.
Permissions
-
Use the command /viewdistance: viewdistance.set
-
Reload the plugin configuration: viewdistance.reload
-
By default, only operators have viewdistance.reload permission
-
By default, all players have viewdistance.set permission
config.yml
# Minimum possible render distance (Cannot be less than 2)
min-distance: 2
# Render distances by groups, granted by the permission 'group.<name>' (automatically granted to all groups in LuckPerms)
# Players will not be able to set a value greater than that specified here
# If a player belongs to multiple groups, the highest value will be selected
distances:
default: 12 # Default value for all players (Cannot be greater than 32)
moder: 16
admin: 32
#----------- Messages -----------
# For color, use the symbol '§'
# Prefix before messages; if you want to remove it, just make it empty - ''
prefix: '§f[§lV§r§7iew§f§lD§r§7instance§f] §r'
# Message shown when changing render distance. '{chunks}' is a placeholder for the render distance value
view-distance-change-msg: '§aYou have changed your render distance to {chunks} chunks'
# Message shown when there is a syntax error in the command
incorrect-args-msg: '§cSyntax error§e - use §l/vd <number>'
# Message shown when reloading the config (/vd reload)
reload-config-msg: '§aConfig successfully reloaded'
# Message shown when lacking permission to execute the command
no-permission-msg: '§cYou do not have permission to use this command'
评论 0
登录后参与评分
还没有评论,来抢沙发吧