Unofficial VCF for Feature Test
Pre-release
Pre-release
·
1 commit
to feature/Improved_help_alias_support
since this release
Just a review pre-release for added features.
Not intended for wide distribution or Thunderstore yet.
Notes:
- Help by plugin
- In order to reduce the clutter when trying to find help on commands, help now initially only returns all the plugins that have registered commands that the user is able to use. Calling
.help <pluginName>returns back all the commands for that plugin and can add one additional filter to search within the commands of that plugin. As well, the commands and plugins are sorted. Adding in the command .help-all [<filter.] which functions pretty much same as the old .help.
- In order to reduce the clutter when trying to find help on commands, help now initially only returns all the plugins that have registered commands that the user is able to use. Calling
- Command Overloading
- With the number of commands in plugins and number of plugins out there it's becoming increasingly difficult to not run into conflicts. This change adds the ability for commands to be overloaded for the same number of parameters by checking the parameters passed against all possible options and seeing which ones will work. If there is only one option that works then that command is executed. If there is multiple options that is worked they are all presented to the user numbered with the user then being able to execute them by using .# with # replaced with the appropriate number. Conflicts can as well be resolved beforehand by specifying the plugin name first before the command though you can still have overloading within a single plugin.
- Closest Command Recommendation
- Now all chat messages that start with . are assumed to be an attempt to execute a command (unless it starts with at least two periods). If the message doesn't match a command then VCF will try to find up to the three closest command matches and offer them as what the person potentially meant to execute.
- Updated formatting
- Changed color formatting for easier reading.
- Command History and Recall
- Command repeat triggered by
.!This will instantly repeat the most recent executed command. History is found by using.! l. Execute a specific command from history using its index number, ie.! 2. History is user specific, limited to 10,.
- Command repeat triggered by
- Alias support in .help
- Now when seeking help for a command, you can use the shorthand as well. Instead of having to type
.help schematicyou can now use.help sc
- Now when seeking help for a command, you can use the shorthand as well. Instead of having to type
- VCF now logs if it was able toe execute a command or not with the input used.