/cb - Displays version information about the CommandBooks Plugin. (Aliases: cb, commandbooks)
/cb create [uses] - Creates a Command Book from the book currently held in your main hand with an optional max number of uses
##Permissions
commandbooks.command.create
commandbooks.use
##Creating a Command Book
To create a Command Book simply open a regular Minecraft book and type into it the commands you would like to be executed by the book and sign it.
Commands can be multiple lines, however new commands should start on a new line.
To have a command be executed by the console instead of the player prefix it with $.
To use the player’s name inside a command use [p].
Example:
$time set day
$op [p]
say I've set the time to day and opped myself!
This book would have the console set the time to day, op the player, and then the player would send a message to the chat.
Finally, to create the command book, hold the book in your main hand and execute /cb create.
The title of the book should become encased in square brackets to signify the command book has been created.
When creating the book you can optionally specify a max number of uses Ex: /cb create 5 to limit the amount of times a book can be used.
Once all the uses are used up, the book will be destroyed.
##Using a Command Book
To use a command book simply hold it in your hand and left-click!
Might it be possible to keep normal @p functionality, instead of a direct string replace? For instance, a usage of @p[score_thirst=5] would not work, nor would /execute @e[type=Creeper] ~ ~ ~ tp @p @e[c=1].
is this intended to be stored via other plugins such as a kit plugin to save the book for later use or will there be some kind of storage within this plugin? ie. /cb list
It’s intended to be stored via other plugins, it should be able to be saved in kits, shops, ect. The idea is it’s meant to be disposable so no global storage.
I looked to see if there were errors and didnt find any. it will create the book but upon right clicking to ‘use’ nothing happens. attempted with the example commands at the top and nothing happened either to see if it was a screw up on my end but nope; just doesnt work,