Direct answer
Use /op PlayerName to grant operator status and /deop PlayerName to revoke it. These commands are powerful; only grant OP to trusted staff.
Recommended procedure
- From the trusted server console, enter
op PlayerNamewithout the leading slash (or run/op PlayerNameas an authorized operator in-game). - Ask the person to reconnect if new permissions do not apply immediately.
- Remove access with
/deop PlayerNamewhen it is no longer needed. - For granular staff permissions, use a properly configured permissions plugin rather than distributing OP unnecessarily.
Why this matters
Operators can run administrative commands affecting the entire server, including commands that modify or remove world data. OP is not a secure substitute for role-based permissions.
How to verify the result
Check the server console for success or error output, then test the required command with a designated account. If a proxy, permission plugin or admin panel changes effective privileges, inspect its settings as well.
Version and compatibility notes
These examples apply to Java dedicated servers. Exact command permission behavior may vary with your server software and installed permissions plugin.
Official references
Related guides
Help us improve this article
Tell us what is missing, unclear, outdated, or incorrect. You can also suggest something we should add.