OPOperatorPermissionsAdmin2 min read

Give and remove OP from players

Manage operator status to grant or revoke full server permissions.


What is OP?

OP (Operator) gives a player full access to all server commands and bypasses most permission checks. Use it sparingly — for most setups, a permissions plugin like LuckPerms is better.

Give OP

From the console at panel.baires.host:

terminal
op PlayerName

Or in-game as an existing OP:

terminal
/op PlayerName

Remove OP

terminal
deop PlayerName

View all OPs

terminal
ops

Or check the file ops.json in your server files.

OP permission levels

In server.properties:

properties
op-permission-level=4
LevelAbilities
1Bypass spawn protection
2Use /clear, /difficulty, /effect, /gamemode, /give, /tp, etc.
3Use /ban, /kick, /op, /deop
4Use /stop, /save-all, access all commands

Security recommendations

  • Minimize OP usage: Use LuckPerms to grant specific permissions instead
  • Never OP untrusted players: OP can destroy your server with /stop, /ban, or WorldEdit
  • Use console for sensitive ops: Some commands are safer run from the panel console
  • Remove OP when not needed: If a player only needs specific commands, use permission nodes

OP vs permissions plugin

FeatureOPLuckPerms
GranularityAll or nothingPer-command control
Groups/ranksNoYes
Temporary permsNoYes
Web editorNoYes
Multi-server syncNoYes

Tips

  • If you lock yourself out, you can always OP from the panel console
  • The ops.json file can be edited directly to add/remove OPs while the server is stopped
  • Consider using /op only for initial setup, then switching to LuckPerms for daily management

Was this guide helpful?