Improve Parkour Available commands
A5H73Y opened this issue ยท 1 comments
Currently in the Help section everything is built into one massive if / else statement.
The plan is to create a json file containing all commands which will be used to lookup descriptions / permissions when needed.
This will include building the AutoTabCompleter.
The json should be 1-to-1 with all available "/pa cmds" so there are no missing help messages.
This has been achieved in the latest commits.
In resources is a file named parkourCommands.json containing each of the available Parkour commands with details of each.
"/pa help (command)" will lookup the matching entry and display the details.
"/pa cmds (group)" will display a quick usage summary of each of the matching group.
The json is copied into the docs project as part of the build and will be used to display all the available Parkour commands on the website..