Temporarily Granting the Player a Permission

I thought about that, I’ve already provided functionally to my users to execute the command from the console. The idea is that for my CommandBooks plugin, there might be cases where the command cannot be executed by the console on the player’s behalf, i.e. the command doesn’t take a player as an argument, and so command books would be used as a way to allow players to execute commands on themselves that they otherwise wouldn’t have permission to, but to do that I would need to temporarily grant the player the appropriate permissions to execute the commands in the book and then revoke them one the execution completes.