Features:
- Adding auto-completion support for static and dynamic arguments when using the /waypoints command.
- Adding dynamic help based on the sender's permissions for the /waypoints command. Now, only command usages the sender has access to will be sent.
Internal changes:
- Integrating the SmartCommands library.
- The /waypoints command has been refactored using the SmartCommands' annotation-based system.
- Adding a cache system to provide efficient auto-completion for waypoint names.
Breaking changes:
- This update requires an update of your config.yml file. If you want to keep your configuration, you can modify the value at messages.command.waypoints.usages by replacing it by the following code.
Code (YAML):
# Command /waypoints help
usages:
show
:
"&6/waypoints &7to open the waypoints menu."
create
:
"&6/waypoints create &e<waypoint_name> &7to create a new waypoint at your current location."
rename
:
"&6/waypoints rename &e<waypoint_name> <new_name> &7to rename a waypoint."
relocate
:
"&6/waypoints relocate &e<waypoint_name> &7to replace the location of the waypoint by your current location."
share
:
"&6/waypoints share &e<waypoint_name> <target_name> &7to share a waypoint with a player."