Some checks failed
build / build (push) Has been cancelled
The previous .requires gate used Permissions.COMMANDS_GAMEMASTER (level 2), which is the right check for player sources but ties datapack /function calls to the functionPermissionLevel gamerule. If admins kept that gamerule below 2, datapack-driven /videoPlace etc. silently failed and required a gamerule bump. Extract a CommandPermissions.opOrServer helper used by all 5 /video* commands. Players still need OP (level 2+); console, command block, and datapack function sources bypass the level check entirely. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
457 B
457 B