A simple pocketmine plugin that allows players to change their view distance with a command.
- /view {number}(View distance will be set to what view-distance in server-properties is set to if a players number exceeds max view distance). [COMING SOON] /view {player} {number}
- Download the phar from poggit.
- Upload to your servers plugin directory.
- Restart your server.
~ Message sent to player if the value they provide isn't a number. not_numeric: "§cYou must provide a numeric value!"
~ Message sent to player when view distance is changed, used %distance% for the players distance. view_change_succcess: "§aSuccessfully changed view distance to §9%distance%§a!"
~ Message sent to player when they lack perms to change view distance. no_perms_message: "§cYou do not have permission to use this command!"
view.command: default: true ~ Allows players to use /view to alter their view distance
If you have any suggestions or find any bugs, message me on discord TPE#1061