ContainerLock | 1.21 | BEST 'CHEST'LOCK PLUGIN! icon

ContainerLock | 1.21 | BEST 'CHEST'LOCK PLUGIN! -----

An easy lightweight plugin to lock every minecraft container



Prevent other players from accessing your chests, furnaces, and more by locking them!​

[​IMG]

The latest version has only been tested with Minecraft version 1.21. For compatibility with older Minecraft versions, please refer to the version history. Container Lock versions 2.2.3 and earlier support Minecraft versions up to 1.20.

Always backup the plugin folder before upgrading!
[​IMG]

[​IMG]
Features:
  • Protect your containers from unauthorized access and attempts to break them
  • Administrators can open and manage all locked containers
  • Compatible with all Minecraft container blocks
  • Individual settings for each container
  • Global friends system for accessing all containers you own
  • Fully customizable messages
  • WorldGuard support to disable locking in specific regions
Create Container Lock:
[​IMG]
Manage Container:
[​IMG]
Manage Members:
[​IMG]
Manage Settings:
[​IMG]
List Containers:
[​IMG]
Manage Global Container Friends:
[​IMG]
[​IMG]
Commands:
  • /cl help
  • /cl reload (reloads messages and settings)
  • /lock (Show all the containers you own)
[​IMG]
Permissions:
  • cl.admin Gives access to the /ccl command
  • cl.reload Gives acces to the /ccl reload command
  • cl.manage.locked Edit containers that are not yours
  • cl.open.locked Open containers that are not yours
  • cl.claim.%amount% Claim a maximum amount of containers (%amount%)
  • cl.claim.unlimited Claim a unlimited amount of containers
[​IMG]
Code (YAML):
settings:
  debug-mode
: false
  limit
:
    default-max-claims-per-player
: -1
    can-players-edit-hopper-settings
: true
  settings
:
    protect-itemframes-on-locked-containers
: false
    default-chest-hopper-deposit-setting
: false
    default-chest-hopper-withdraw-setting
: false
    default-deny-friends-access-setting
: false
    remove-lock-on-container-break
: false
  container
:
    shulker_box
:
      enabled
: true
    armor_stand
:
      enabled
: true
    chest
:
      enabled
: true
    trapped_chest
:
      enabled
: true
    furnace
:
      enabled
: true
    anvil
:
      enabled
: true
    hopper
:
      enabled
: true
    beacon
:
      enabled
: true
    dispenser
:
      enabled
: true
    dropper
:
      enabled
: true
    brewing_stand
:
      enabled
: true
    barrel
:
      enabled
: true
    smoker
:
      enabled
: true
    blast_furnace
:
      enabled
: true
    copper_chest
:
      enabled
: true
Code (YAML):
messages:
  global
:
    variable
:
      'on'
: '&aOn'
      'off'
: '&cOff'
      'yes'
: ' Yes'
      'no'
: ' No'
      page
: '&7 (Page %page%)'
    help
:
      header
: '&9&lContainerLock&f Help.'
      command-line
: '&8 -&f %command%'
    reload
:
      complete
: '&aContainerLock has successfully reloaded all messages and settings.'
      error
: '&cThere has been an error reloading, please check your console.'
    command
:
      no-permission
: '&cYou dont have the required permissions to execute this command.'
      no-player-found
: '&cNo player found with the name %name%.'
      containers-delete-started-all
: '&aStarting to remove all containers from %name%.'
      containers-delete-started-type
: '&aStarting to remove all %type% containers
        from %name%.'
      no-type-found
: '&cNo container type found with the name %name%.'
      containers-deleted
: '&c %amount% containers from %name% have been removed.'
    settings
:
      max-claims-reached
: '&cYou have reached your maximum amount of claimed containers.'
      container-type-disabled
: '&cThis type is not lockable!'
    staff
:
      editing-itemframe-on-locked-container-warning
: '&4&lWarning, &cyou are now editing
        the itemframe of a locked container.'
      opening-locked-container-warning
: '&4&lWarning, &cyou are opening a locked container'
    lock
:
      location-not-allowed
: '&cYou are not allowed to lock containers on this location.'
  menu
:
    global
:
      buttons
:
        close
:
          title
: '&c&lClose'
          description
:
         - '&fClick to close'
        back
:
          title
: '&c&lBack'
          description
:
         - '&fClick to go back'
        next-page
:
          title
: '&c&lNext page'
          description
:
         - '&fClick to the next page'
        previous-page
:
          title
: '&c&lPrevious page'
          description
:
         - '&fClick to the previous page'
    container
:
      create
:
        title
: '&a&lCreate Container Lock'
        buttons
:
          create
:
            title
: '&a&lCreate Container Lock'
            description
:
           - '&fClick here to put a lock on this container'
      list
:
        manage
:
          title
: '&a&lManage Containers'
          buttons
:
            info
:
              title
: '&a&lContainer Information'
              description-member
: '&8 -&f %member%'
              description-friend
: '&8 -&7 %friend% (Friend)'
              description
:
              - '&aLocation
: &f%location%'
              - '&aMembers &7 ( %member_count%)'
              description-bottom
:
             - '&f'
              - '&fClick to manage'
            manage-friends
:
              title
: '&a&lManage Friends'
              description
:
             - '&fClick here to manage'
              - '&fyour ''lock friends'''
      manage
:
        title
: '&a&lManage Container'
        buttons
:
          info
:
            title
: '&a&lContainer Information'
            description-member
: '&8 -&f %member%'
            description-friend
: '&8 -&7 %friend% (Friend)'
            description
:
            - '&aOwner
: &f%owner%'
            - '&aLocation
: &f%location%'
            - '&aMembers &7 ( %member_count%)'
          members
:
            title
: '&a&lManage Members'
            description
:
           - '&fManage your members here,'
            - '&fthese bypass the friends-only'
            - '&fsetting and the hopper settings'
          settings
:
            title
: '&a&lManage Settings'
            none-available
: '&cThere are no settings available for this container.'
            description
:
           - '&fManage your settings here'
          delete
:
            title
: '&c&lDelete Lock'
            deleted
: '&aThe lock has been successfully removed'
            description
:
           - '&fClick here to delete your lock'
      members
:
        title
: '&a&lContainer Members'
        buttons
:
          add-member
:
            title
: '&a&lAdd Member'
            add
: '&aType a player name in chat to add it as a member'
            added
: '&a %name% has successfully been added as a member'
            stopped
: '&aYou stopped adding a member'
            error
:
              spaces
: '&cDo not use spaces whilst adding a member, type ''stop'' to
                stop.'
              not-found
: '&cThis player has not been found, type ''stop'' to stop.'
              not-yourself
: '&cDon''t add yourself bruh, type ''stop'' to stop.'
              already-added
: '&cThis member has already been added, type ''stop''
                to stop.'
            description
:
           - '&fClick here to add a member'
          remove-member
:
            title
: '&a %name%'
            removed
: '&a %name% is succesfully removed as a member!'
            description
:
           - '&fClick here to remove this member'
      settings
:
        title
: '&a&lContainer Settings'
        buttons
:
          hopper-deposit
:
            title
: '&aAllow hopper item deposit'
            description
:
           - '&fCan hoppers not owned by you or members/friends'
            - '&fput items inside this container'
            - '&fStatus
: %status%'
          hopper-withdraw
:
            title
: '&aAllow hopper item withdrawal'
            description
:
           - '&fCan hoppers not owned by you or members/friends'
            - '&fpull items from this container'
            - '&fStatus
: %status%'
          friends-access
:
            title
: '&aBlock chest friends'
            description
:
           - '&fBlock friends who are not inside the member list'
            - '&fStatus
: %status%'
    friends
:
      manage
:
        title
: '&a&lContainer Friends'
        buttons
:
          add-friend
:
            title
: '&a&lAdd Friend'
            add
: '&aType a player name in chat to add it as a friend'
            added
: '&a %name% has successfully been added as a friend'
            stopped
: '&aYou stopped adding a friend'
            error
:
              spaces
: '&cDo not use spaces whilst adding a friend, type ''stop'' to
                stop.'
              not-found
: '&cThis player has not been found, type ''stop'' to stop.'
              not-yourself
: '&cDon''t add yourself bruh, type ''stop'' to stop.'
              already-added
: '&cThis friend has already been added, type ''stop''
                to stop.'
            description
:
           - '&fClick here to add a ''lock friend'''
            - '&fThis friend can access all your locks'
            - '&cUNLESS you choose to disable friend-access from'
            - '&cthe specific lock through the settings.'
          remove-friend
:
            title
: '&a %name%'
            removed
: '&a %name% is succesfully removed as a friend!'
            description
:
           - '&fClick here to remove this friend'
 
[​IMG]
Resource Information
Author:
----------
Total Downloads: 52
First Release: Jun 1, 2020
Last Update: Mar 13, 2026
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings