SimpleLock

SimpleLock

Secure your Minecraft server with a simple 6-digit lock and intuitive code-entry GUI.

29 downloads 0 followers

๐Ÿ” SimpleLock

SimpleLock is a lightweight and secure server-lock plugin for Paper servers. It allows server administrators to temporarily lock their server behind a randomly generated numerical access code.

Perfect for private servers, development servers, testing environments, maintenance periods, or situations where you want to temporarily restrict access without shutting down the server.

โœจ Features

๐Ÿ”’ Server Lock

Lock your entire server with a simple command:

/lock

When the server is locked, SimpleLock generates a random 6-digit access code.

The code is only shown to authorized administrators and is never revealed to normal players.

๐Ÿ”ข Secure Code Entry

Players joining a locked server are placed into a dedicated code-entry GUI.

They must enter the correct code using the on-screen number buttons before they can access the server.

While locked, players cannot simply bypass the system by:

  • Moving around
  • Breaking or placing blocks
  • Opening inventories
  • Interacting with the world
  • Using normal commands
  • Dropping or picking up items
  • Chatting
  • Using other common gameplay interactions

๐Ÿ‘‘ Admin Access

Server administrators can continue using the server normally while it is locked.

Authorized admins receive the generated access code and can manage the lock using:

/lock
/unlock

๐Ÿ›ก๏ธ Security Features

SimpleLock includes several protections against accidentally or intentionally bypassing the lock:

  • Randomly generated access codes
  • Configurable maximum attempts
  • Optional kick/block action after too many failed attempts
  • UUID-based player authentication
  • GUI interaction protection
  • Protection against inventory exploits
  • Code is not displayed to normal players
  • Code is not exposed through tab completion
  • Lock state can optionally persist through server restarts

โš™๏ธ Highly Configurable

SimpleLock is designed to be easy to customize.

Configuration options include:

  • Lock persistence
  • Code length
  • Maximum attempts
  • Failed-attempt actions
  • Temporary block duration
  • GUI title and size
  • Messages
  • Sounds
  • Permissions

All player-facing messages can be customized through messages.yml.

๐Ÿ“‹ Commands

Command Description
/lock Locks the server and generates a new access code
/unlock Unlocks the server

๐Ÿ”‘ Permissions

simplelock.lock
simplelock.unlock
simplelock.admin

OPs can also use the administrative functionality by default.

๐Ÿ“ฆ Requirements

  • Paper
  • Minecraft 1.21.x
  • Java 21

๐Ÿš€ Future Versions

SimpleLock currently focuses on Paper 1.21.x.

Support for newer Minecraft versions, including 1.26.3 and future releases, is planned and will be added.

The goal is to keep SimpleLock maintained and compatible with newer Minecraft versions over time.

๐Ÿ’ก Use Cases

SimpleLock can be useful for:

  • ๐Ÿ”ง Development servers
  • ๐Ÿงช Plugin testing servers
  • ๐Ÿ—๏ธ Private building servers
  • ๐Ÿ› ๏ธ Maintenance periods
  • ๐Ÿ”’ Temporarily restricted servers
  • ๐Ÿ‘ฅ Private events
  • ๐Ÿ–ฅ๏ธ Personal Minecraft servers
Version Minecraft Loader Download

SimpleLock 1.0.0

1.0.0

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11
bukkit, paper
Download