ModsFinder

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.

FabricServer-side onlyMIT LicenseOpen source1.19.1 – 1.21.1

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

  1. Toggle OP powers

    A command lets server admins turn operator powers on or off for players without changing their OP status.

  2. Login enables OP

    Operator powers switch on when the player logs in and switch off again when the player logs out.

  3. 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.21.11.1.0+1.21
1.211.1.0+1.21
1.20.x7 of 7 versions with builds
1.20.61.0.0+1.20
1.20.51.0.0+1.20
1.20.41.0.0+1.20
1.20.31.0.0+1.20
1.20.21.0.0+1.20
1.20.11.0.0+1.20
1.201.0.0+1.20
1.19.x4 of 4 versions with builds
1.19.41.0.0+19
1.19.31.0.0+19
1.19.21.0.0+19
1.19.11.0.0+19
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
OpLockFabric1.19.1 – 1.21.1Server-side only2024-09-13
Ghost LogoutFabric1.19.2 – 1.20.1Server-side only2023-08-23
Admin ToolsFabric1.21.8Server-side only2025-10-07

Questions

Does OpLock need Fabric API?

Yes. Fabric API is a required dependency and must be installed on the server next to OpLock.

Do players need OpLock installed?

No. Players join without it, since only the server has to run the mod.

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

All projects

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)
VoidLock, on the Modrinth page

Official listing

Owner
VoidLock
Published
2022-10-28
Updated on Modrinth
2024-09-13
Facts verified
2026-10-15

Tags