Mineuniverse
Log in Register
Mods

OpLock

Server lockdown restricting who can join at the flip of a command!
by DoubleDoorDev
Claim this project
628 downloads
0 likes
Updated Jun 30, 2026
0 hypes

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!

No files available for download.

More from DoubleDoorDev

GreenThumb
921,288
Burning Torches
76,602
Hardcore in the Dark
755
Delete Item
6,396,464
Json Loot Bags
524,200
Insider Trading
484,310

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579