CommandLocker: Lock Server Commands with Passwords in Minecraft

CommandLocker: The Ultimate Minecraft Server Command Security Plugin What is CommandLocker? Running a Minecraft server comes with its fair share of challenges, especially when you need to restrict access to powerful commands. Whether you are managing a small community or a large network, the last...

Download CommandLocker for Minecraft 1.8

Original name: CommandLocker

Minecraft: 1.8

FileVersionLoaderSize
CommandLocker.jar1.8—9 КБDownload

CommandLocker: The Ultimate Minecraft Server Command Security Plugin

What is CommandLocker?

Running a Minecraft server comes with its fair share of challenges, especially when you need to restrict access to powerful commands. Whether you are managing a small community or a large network, the last thing you want is an admin accidentally executing a game-breaking command or a curious player stumbling into restricted territory. That is where CommandLocker steps in—a lightweight yet robust Bukkit/Spigot plugin that lets you password-protect any server command. Instead of relying solely on permission nodes, CommandLocker adds an extra layer of security by requiring a password before a locked command can be used. This means even if someone has the right permissions, they still need the secret key to proceed.

Key Features and Commands

CommandLocker is built around simplicity and effectiveness. The core idea is to lock sensitive commands like /op, /stop, /reload, or any custom command you deem risky. Once locked, any player (including ops) must enter the correct password before the command executes. Here is a breakdown of the essential commands and their corresponding permissions:

Main Commands

  • /cl lock [Command] [Password] — Locks a command with your chosen password. Requires commandlocker.lock.
  • /cl unlock [Command] — Removes the lock from a command. Requires commandlocker.unlock.
  • /cl setpassword [Command] [Password] — Updates the password for an already locked command. Requires commandlocker.setpassword.
  • /cl permlock [Command] — Permanently locks a command so that it cannot be unlocked via normal means. Requires commandlocker.permlock.
  • /cl help — Displays the plugin’s help menu. Requires commandlocker.help.
  • /cl reload — Reloads all configuration files. Requires commandlocker.reload.
  • /cl clearlog — Clears the log file. Requires commandlocker.clearlog.

Special Permissions

  • commandlocker.bypass — Allows players to bypass the password requirement entirely if BypassPermission is enabled in the settings. Perfect for trusted staff.
  • commandlocker.alert — Alerts the player whenever someone enters an incorrect password. Great for monitoring suspicious activity.
  • commandlocker.admin — Grants access to all CommandLocker administrative commands.

What makes CommandLocker truly stand out is its flexibility. You can configure the plugin to use a single global password for all commands or assign unique passwords per command. This granular control ensures that your server’s security model adapts to your specific needs.

Setting Up CommandLocker

Getting started with CommandLocker takes only a few minutes. Follow these simple steps to lock down your server commands:

  1. Download the plugin file from your preferred Minecraft resource platform. Look for the latest version to ensure compatibility with your server software.
  2. Place the downloaded JAR file into your server’s plugins folder.
  3. Restart your server or use a plugin manager to load it.
  4. Once the server is running, use /cl lock [Command] [Password] to start protecting commands.
  5. Verify the lock by trying the command without the password—you should see the prompt asking for the password.

For server administrators who juggle multiple plugins and worlds, keeping everything organized can be a headache. A modern solution like the foxygame.net launcher streamlines this process by allowing you to browse, download, and enable CommandLocker directly from its intuitive menu, making plugin management feel effortless and fast.

Configuration Files Explained

CommandLocker stores its settings in three YAML files, giving you complete control over behavior and messaging. Understanding these files helps you fine-tune the plugin to match your server’s atmosphere.

Settings.yml

This is the main configuration file where you define global options. Key settings include:

  • SamePasswords — Set to true if you want all locked commands to share one password.
  • DefaultPassword — The universal password used when SamePasswords is enabled.
  • BypassPermission — Enable this to let players with commandlocker.bypass skip the password check.
  • AlertOnWrong — When true, players with the alert permission receive a notification each time someone fails the password.
  • Log — Toggles detailed logging of password attempts (successful and failed) into Log.yml.

CommandLocker.yml

This file is automatically managed by the plugin and stores which commands are locked, their passwords, and any permanent locks. You should avoid editing this file manually unless you are absolutely certain of the syntax.

Messages.yml

Customize every message the plugin sends to players. From the prefix to the wrong password alert, you can use color codes (like &a for green) to make the prompts fit your server’s style.

Why Use CommandLocker?

Many server owners rely on permission plugins alone to restrict commands, but permissions can be misconfigured or accidentally granted. A password adds a human verification step that stops mishaps instantly. Additionally, the permanent lock feature ensures that critical commands (like /op) remain inaccessible even if someone gains operator status. The logging system also provides an audit trail, helping you track who attempted to use a command and when. With its lightweight footprint and straightforward design, CommandLocker is a must-have for any server that values both security and ease of use.

Conclusion

CommandLocker fills a niche that many server admins overlook: command-level authentication. By adding a simple yet effective password barrier, you drastically reduce the risk of accidental or malicious command execution. The plugin’s clear command structure, configurable messages, and optional bypass permissions make it suitable for servers of all sizes. Whether you are protecting a private SMP or a bustling minigame network, CommandLocker gives you peace of mind without adding unnecessary complexity. Download it today, lock your most sensitive commands, and take full control of your server’s safety.