Back to mods
OpLock project artwork

CurseForge · Minecraft mod

OpLock

Server lockdown restricting who can join at the flip of a command!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which OpLock release should I use?

Updated 6 years ago
Latest stable file oplock-2.0.1.jar
Game version 1.16.2
Loader Forge

oplock-2.0.1.jar targets 1.16.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is OpLock required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does oplock-2.0.1.jar need?

oplock-2.0.1.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add OpLock without breaking your instance.

Built for oplock-2.0.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use oplock-2.0.1.jar. It targets 1.16.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside oplock-2.0.1.jar. It opens that exact file at the source.

About this project

What does OpLock add?

Sick of trying to fix issues with a server you run while people keep joining and playing while you have a whitelist?
OpLock was made to solve this issue!
100% server side only, drop on any Forge server for a quick way to let you work on issues alone!

With a simple command you can lock down your server to only let OP's of a specific permission level or greater join the server without automatically getting kicked.
No need to restart the server to apply or even kick out all the current players doing there thing if they aren't causing issues!

Command:

/oplock Options What it Does
boolean true|false Sets the lock state of the server to this.
boolean true|false Should the not allowed players stay connected?
message any string Kick/notification message override.

You can check at any point in time the current lock status by just running /oplock

Lots of configs!

  • Option to notify connecting allowed players if the server is locked or not.
  • Configurable minimum Op permission level.
  • Configurable delay before the player is kicked on connection.
  • Option to set the state the server starts in. Locked or not!

    Join D3 on Discord for support, fun and inside info!

Project description from CurseForge.

Pick your setup

OpLock by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

OpLock versions and loaders

4 of 4 releases match

Looking for an older file? The official CurseForge project page is in Resources.