Compatible API Versions
1.0
Simple plugin that adding locks for chest, other containers and doors.

Commands
/lock - lock a chest
/unlock - unlock a chest
/public - make protection public (everyone can acces it, but cannot break it)
/passlock <password> <password> - create password protection
/modify <add|remove|removeall|public> [players...]
add - give access to other player to your protection
remove - remove access from other player to your protection
removeall - remove access from all players
public - make protection public
/password <password> - unlock password protection for you

Permissions
Code:
lockit:
  description: "Main LockIt permission"
  default: op
  children:
    lockit.command:
      description: "Allows player to use all LockIt commands"
      default: op
      children:
        lockit.command.lock:
          description: "Allows player to lock blocks"
          default: true
        lockit.command.public:
          description: "Allows player to make public protection"
          default: true
        lockit.command.unlock:
          description: "Allows player to unlock theirs locked blocks"
          default: true
        lockit.command.passlock:
          description: "Allows player to lock chests with password"
          default: true
        lockit.command.modify:
          description: "Allows player to modify locked chest"
          default: true
        lockit.command.password:
          description: "Allow player to open password protected chest using certain password"
          default: true
    lockit.access:
      description: "Allows player to use all locked blocks"
      default: op
    lockit.deny:
      description: "Disallows player to use any protectable block"
      default: false
    lockit.autolock:
      description: "Allows player place automatically locked chests"
      default: false
    lockit.info:
      description: "Allows player to see information about locked blocks"
      default: op
Config
Code:
#protectable blocks
blocks:
    chest: true
    furnace: true
    brewing: true
    dispenser: true
    hopper: true
    dropper: true
    item_frame: true
    sign: true
    oak_door: true
    iron_door: true
    spruce_door: true
    birch_door: true
    jungle_door: true
    acacia_door: true
    dark_oak_door: true
    wooden_trap_door: true
    iron_trap_door: true
    oak_fence_gate: true
    birch_fence_gate: true
    spruce_fence_gate: true
    jungle_fence_gate: true
    acacia_fence_gate: true
    dark_oak_fence_gate: true
    trapped_chest: true

#any protectable block gets locked when somebody with place it
#if false, only players with lockit.autolock permission can use this
enable_auto_lock: false

#auto save interval in seconds
auto_save_interval: 600

#if player with lockit.info permission click on locked block with this item, it shows info about this protection
info_item: leather
Author
CreeperFace
Downloads
5,569
Views
8,718
First release
Last update
Rating
5.00 star(s) 5 ratings

More resources from CreeperFace

  • PlaceholderAPI
    PlaceholderAPI
    Simple placeholder provider
  • GAC
    GAC
    Cheat protection plugin originally created for GameTeam network
  • KotlinLib
    KotlinLib
    Base kotlin library for all kotlin plugins
  • More Placeholders
    More Placeholders
    Placeholders from LuckPerms, Multipass, SynapseAPI, EconomyAPI and other plugins
  • Holograms
    Holograms
    Simple holograms

Latest updates

  1. Version 2.2

    - Fix password lock
  2. Version 2.1

    - fix adding users and password users.

Latest reviews

Works great, I'd only recommend putting a video tutorial of the use to make it more clear how to setup and use it.
CreeperFace
CreeperFace
Thank you, good idea. However currently my minecraft doesn't work for some reason so when I get it working again I could try to make a short tutorial.
Great plugin
But there are players who use funnels to steal things
I hope it can be repaired
CreeperFace
CreeperFace
thanks, player shouldn't be able to do that. You can contact me on discord to provide more information
Locking mechanism is working great but i can’t seem to get modifying working, am I doing something wrong?
Awesome Plugin, Works Perfectly without issue. Differently recommend for any survival server
CreeperFace
CreeperFace
Thank you :)
Great plugin, works perfect.
Top