OpLock
by VoidLock
OpLock ties operator powers on a Fabric server to whether a given player is logged in, so OP is only active while the player is online.
What it does
OpLock lets server administrators switch operator powers off and on with a command. When a player logs in, OP powers are enabled for that player, and when the player logs out they are disabled again. Server owners can also set the default so that players join with OP powers turned off until they log in. The mod needs Fabric API and runs on the server alone, so players join without installing anything. It is open source under the MIT License and published for 1.19.1 – 1.21.1.
Key features
Toggle OP powers
A command lets server admins turn operator powers on or off for players without changing their OP status.
Login enables OP
Operator powers switch on when the player logs in and switch off again when the player logs out.
Logged-out default
Server admins can make players join with OP powers disabled by default, then enable them after logging in.
Compatibility
Latest build for each game version and loader.
1.21.x2 of 2 versions with builds
1.20.x7 of 7 versions with builds
1.19.x4 of 4 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
Ghost Logout is open source under the Apache License 2.0, server-side only and published for Fabric in the 1.19.2 – 1.20.1 range. Admin Tools is open source under the GNU General Public License v3.0 only, server-side only and built for 1.21.8.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| OpLock | Fabric | 1.19.1 – 1.21.1 | Server-side only | 2024-09-13 |
| Ghost Logout | Fabric | 1.19.2 – 1.20.1 | Server-side only | 2023-08-23 |
| Admin Tools | Fabric | 1.21.8 | Server-side only | 2025-10-07 |
Questions
Does OpLock need Fabric API?
Do players need OpLock installed?
In the catalog
OpLock is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from VoidLock
Similar mods
What the author says
Allows server admins to enable/disable their OP powers. - /oplock login (enables OP powers) - /oplock logout (disables OP powers)
Official listing
- Modrinth page
- modrinth.com/mod/oplock
- Owner
- VoidLock
- Published
- 2022-10-28
- Updated on Modrinth
- 2024-09-13
- Facts verified
- 2026-10-15
