add the command / loadbook
In the function or procedure
parameter to define a PLAYER to deliver a book
eg
/ loadbook [playername]
By default loadbook works for the player who executes the command
but can be sent to another player if the parameter is filled
eg
/ loadbook LRFLEW
player, LRFLEW receive the book.
or create command / givebook [playername]
and allow this command can be run from console
and add permission
bookmanager.loadbook.id or bookmanager.loadbook.xxx
to allow only a certain book can be loaded.
from player with this permission
add the command / loadbook In the function or procedure parameter to define a PLAYER to deliver a book eg / loadbook [playername]
By default loadbook works for the player who executes the command but can be sent to another player if the parameter is filled eg / loadbook LRFLEW player, LRFLEW receive the book.
or create command / givebook [playername]
and allow this command can be run from console
and add permission bookmanager.loadbook.id or bookmanager.loadbook.xxx
to allow only a certain book can be loaded. from player with this permission
this is my suggestion