Need help with what non-op players can do in an MC server im making

clickEvent executes as if the player executed it themselves, meaning that for example only OPed players can click a text in a book and execute "cheat" commands with it. If you want to selectively allow other commands to be triggered, use /trigger.