This update brings multiple features to virtual books.
VirtualBooks now supports aliases to book commands.
Simply add
command_aliases to your book.yml file with the list of commands below that you want as aliases. Example:
Code (YAML):
command_aliases
:
- 'alias1'
- 'alias2'
You can add as many aliases as you like.
JSONs now support two new features for the click event.
- RUN_COMMAND_AS_CONSOLE: This allows to run a command as console when a player clicks on the json.
- SEND_MSG_TO_PLAYER: This sends a message to the player when the json is clicked.
These are added the same way as the previous events.
Both of them also support PlaceholderAPI.
Sorry for the delays in this update. Some more major updates are on the way and I'll try posting them ASAP. Thank you for your patience and I hope you enjoy this update!
PS: As always, be sure to hit me up on discord if you find any bug or want to give any suggestions. You can find the link to the discord server on the plugin page.