Direct answer
Operator privileges that disappear after restart suggest state is not being persisted or player identity is changing, rather than ordinary temporary command failure.
Identify the failing layer
Copying an old ops.json into a server with a different identity mode can assign privileges to the wrong account. Protect administrative access.
First checks and evidence
- Stop the server and back up
ops.jsonand current auth/proxy settings. - Check file ownership and whether a panel startup script or permission plugin overwrites the operator list.
Admin diagnosis and repair
- Compare the stored UUID with the player’s UUID under the current
online-modeand proxy-forwarding setup. - Grant OP using the console, stop gracefully, inspect the saved entry and restart to see whether it persists.
Verify the fix: After a complete restart the intended administrator should remain OP, while unrelated accounts do not gain privileges.
References
Use the documentation for the exact software and release you run. These sources support the settings or diagnostic behavior used in this fix.
Related fixes and guides
Help us improve this article
Tell us what is missing, unclear, outdated, or incorrect. You can also suggest something we should add.