Source-checkedAdmin & protection

PassLock - The new security lock generation

by Kamereon · for Minecraft

Smart block protection !

13KDownloads
4 yr agoLast updated
Spigot · PaperLoaders
1.18Latest game version

About PassLock - The new security lock generation

From SpigotMC

Smart block protection !

Banner.png
Are you tired of ugly sign above your doors ? But you still need to lock them right ? With PassLock, you won't need Lockette or LWC anymore !
It enables you to lock your door and your chest by a item based code. You can set and enter your code thanks to a smooth interface and give it to your friends !

Whereas other protection plugins, Passlock uses an inventory as an interface to enter your password. Chat-commands haters you are welcomed !

Here is a sneak peak !

Installation :
Simply put the .jar file into your plugins directory and install Vault
I recommend to always do a backup of config/data/locks files before updating !

Tutorial :

<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: Tutorial</button>
1. Grab a wooden door, a trapdoor or a chest or whatever you want.

2. Type /lock as a chat command.

3. Right click your door / chest.
[​IMG]

4. Set the password by clicking the blocks.
[​IMG]
5. Confirm
[​IMG]

6. Have fun, you're now safe !
[​IMG]

To remove the lock, all you have to do is to type "/unlock" and right click your door.

How to modify messages :

  1. You can find different locales in the plugins/PassLock/locales directory
    2. You can edit the text of the locale file and change the locale in the config.yml


Configuration :
- locale : The name of the locale file

  • ownerNeedCode : Determines if the owner of the locked block needs to enter the code to open it
    - itemMaxAmount : Determines the maximum amount of a type of item for the code (max 64)
    - lockingLimitEnabled : Toggle the locking limit on/off.
    - defaultDoorClosingTimeSeconds : The number of seconds after which the opened doors closes (0 for no automatic closing).
    - ownerAlterted : If on, the owner of a lock will be texted every-time someone fail to open the lock.
    - useEconomy : Enable the economy system
    - unlockingPaysBack : If true, the player gets its money back when unlocking
    If you are experimenting NullPointerExceptions, try to delete your config file and let the plugin create a new one or use /reset

    How to set the price :


Add to the player/group the permission : passlock.lockprice.formula
The formula can be a constant or use "n" to make it depends on the number of locks.
I'm using EvalEx (https://github.com/uklimaschewski/EvalEx) to evaluate the expression.
Example :

  • passlock.lockprice.10*n : The first one will cost 10, then 20, then 30, ...
  • passlock.lockprice.42+e^n : It's possible but don't ask me why you would need something like that ^^
Look at the EvalEx github page to see all possible operations.

How to add and remove blocks :

  1. Use /setlockable to add a block.
    2. Use /unsetlockable to remove a block.
    3. Have fun



How to limit the number of locks :
Just add passlock.lockinglimit.thenumberyouwant to the player/group to limit the number of their locks.
You can also toggle this feature in the config.

By default you can lock : All types of doors, fence gates, chests and trapped chests, furnaces and trapdoors.
2021-03-22_21.20.21.png
These are the default lockable block but you can set any block as lockable !

How to change locking window :

  1. Use /changeLockingInventory


  1. A window popup, put the items in


  1. Close the inventory and it's done !



If you want to cancel, just leave a blank and close the inventory.

Videos :
Big thank you to LtJim007 who did a video on the plugin (old version) !
<iframe width="500" height="300" src="https://www.youtube.com/embed/D2DdavPqZ_c?wmode=opaque" frameborder="0" allowfullscreen></iframe>

Permissions :

  • passlock.open : To open locked blocks
  • passlock.lock : To lock blocks
  • passlock.unlock : To unlock locked blocks (they own)

Read the full description on SpigotMC →

Highlights

From source data

Game versions

Supports 3 Minecraft versions, the newest being 1.18.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

PassLock - The new security lock generation on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2.2.0, released 2022-05-11

Game versions by loader

LoaderGame versionsNewest
Paper1.16 to 1.18 (3 versions)1.18
Spigot1.16 to 1.18 (3 versions)1.18

From 10 recorded builds of PassLock - The new security lock generation.

Recent builds

BuildReleasedGame versionsLoaders
2.2.02022-05-111.16 to 1.18 (3 versions)Spigot, Paper
2.1.12022-04-20n/aSpigot, Paper
2.1.02022-04-10n/aSpigot, Paper
2.0.22021-03-23n/aSpigot, Paper
2.0.12021-03-22n/aSpigot, Paper
2.0.02021-03-22n/aSpigot, Paper

Run PassLock - The new security lock generation on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Runs on your server

From source side support

SpigotMC lists PassLock - The new security lock generation as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.18 and 2 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorKamereon, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

PassLock - The new security lock generation, answered

Generated from the mod’s own source data.

Do my players need to install PassLock - The new security lock generation?

SpigotMC lists PassLock - The new security lock generation as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. PassLock - The new security lock generation is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run PassLock - The new security lock generation on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add PassLock - The new security lock generation in one click.