"/vd" command. Allows players to change their render distance on the server
The plugin allows players to change their render distance on the server and bypassing default server settings.
/viewdistance/viewdistance <number>vdreload/vd reloadUse 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
# 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'