Giving yourself OP
Open the server console and run op <yourname>. In the console there is no slash in front of commands. The player does not need to be online, but must have joined at least once or have a valid username. You should see "Made <name> a server operator".
On StormNodes you can also manage operators from the Operators page in the Players section of the panel.
OP levels
The op-permission-level key in server.properties sets what operators can do. The default is 4, full access.
- Level 1: bypass spawn protection
- Level 2: cheat commands such as gamemode, give, tp and using command blocks
- Level 3: player management such as ban, kick, op and whitelist
- Level 4: everything, including stop and save-all
Removing OP
Run deop <name>. Operators are stored in ops.json in the server folder; you can also edit that file while the server is stopped, which is useful if an operator account has been compromised.
Why not just OP your staff
OP is all or nothing for most purposes. A moderator who only needs to kick and mute should not be able to stop the server or give themselves items. On a Paper server, use a permissions plugin such as LuckPerms to give staff exactly the commands they need, and keep OP for the owner.
Never OP a player because they asked in chat, and never install a plugin that offers to OP players for you. Force-OP is a common payload in malicious plugins.