Simple View Distance Plugin
"/vd" command. Allows players to change their render distance on the server
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Simple View Distance Plugin
Simpe View Distance
The plugin allows players to change their render distance on the server and bypassing default server settings.
Translations
Features
- Easy to configure: The plugin is designed to be understandable for any player. It does not include unnecessary functions. - Easy to configure: Ability to set a default render distance for all incoming players on the server. - Easy to configure: Each player can change their own render distance. - Easy to configure: The plugin allows easy assignment of permissions to change render distance for each individual group (e.g., for groups in LuckPerms). - Easy to configure: 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`
- Aliases: `/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
```yaml
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' ```