Started by
ToastaMods
on
Topic category: Help with Minecraft modding (Java Edition)
How would I check if a user is OP in a proceedure? It's for a food mod and the GUI to give can only open if you have OP
-- Using --
- Keypress to open
Topic category: Help with Minecraft modding (Java Edition)
How would I check if a user is OP in a proceedure? It's for a food mod and the GUI to give can only open if you have OP
-- Using --
- Keypress to open
You would have to check the command permission level using the procedure block: https://imgur.com/fwyQ10L
According to Minecraft Fandom, here are the permission levels and what they do:
Level 1 (moderator)
Player can bypass spawn protection.
Level 2 (gamemaster)
Player or executor can use more commands and player can use command blocks.
Level 3 (admin)
Player or executor can use commands related to multiplayer management.
Level 4 (owner)
Player or executor can use all of the commands, including commands related to server management.