Configuration

config.yml
configuration:
  max-distance-lock: 4 #blocks
  break-protection: true
  hopper-protection: true
  explosion-protection: true

#Uncomment what container types can be blocked
containers-lock:
  - CHEST
  - TRAPPED_CHEST
  #- HOPPER
  #- SHULKER_BOX
  #- DISPENSER
  #- DROPPER
  #- FURNACE
  #- BLAST_FURNACE
  #- SMOKER
  #- BARREL
  #- CRAFTER
  #- LECTERN
  #- BREWING_STAND

#Uncomment which container types you want to automatically block when placed
containers-autolock:
  #- CHEST
  #- TRAPPED_CHEST
  #- HOPPER
  #- SHULKER_BOX
  #- DISPENSER
  #- DROPPER
  #- FURNACE
  #- BLAST_FURNACE
  #- SMOKER
  #- BARREL
  #- CRAFTER
  #- LECTERN
  #- BREWING_STAND

messages:
  player-not-found: "&cThe player was not found!"
  no-place-chest: "&cYou cannot place the chest here!"
  no-place-hopper: "&cYou cannot place a hopper under a protected container!"
  success-lock: "&aContainer successfully locked!"
  success-unlock: "&aContainer successfully unlocked!"
  already-lock: "&aThis container is already locked by you!"
  belongs-to: "&cThis container belongs to %player%"
  no-locked: "&cThis container has not been locked yet!"
  player-add: "&aThe player %player% has been added!"
  player-remove: "&aThe player %player% has been removed!"
  no-player-list: "&eThe player is not associated with this container"
  no-access: "&cYou do not have access to this container!"

chat-info:
  show-nearby-players: true
  player-distance: 10 #blocks
  spacer: " "
  divider: " &7&m                                  "
  associated: "&l  &a   Associated players:"
  owner: "&l  &6   ★ &f"
  player: " &f★ &f"
  remove: " &4[✕]&f"
  press-to-remove: "&cPress to remove "
  not-associated: "&l  &e   Players nearby:"
  neighbors: " &7★ &f"
  add: " &a[+]&f"
  press-to-add: "&aPress to add "
Entries
Descriptions
configuration:
  max-distance-lock: 4 #blocks
  break-protection: true
  hopper-protection: true
  explosion-protection: true

max-distance-lock: Maximum distance from container when executing a command break-protection: Prevents other players from breaking the case hopper-protection: Block hoppers and minecarts with hopper under container explosion-protection: Blocks any type of explosion towards the container

containers-lock:
  - CHEST
  - TRAPPED_CHEST
  #- HOPPER
  #- SHULKER_BOX
  #- DISPENSER
  #- DROPPER
  #- FURNACE
  #- BLAST_FURNACE
  #- SMOKER
  #- BARREL
  #- CRAFTER
  #- LECTERN
  #- BREWING_STAND

You can choose from the list the types of containers that can be blocked by command

containers-autolock:
  #- CHEST
  #- TRAPPED_CHEST
  #- HOPPER
  #- SHULKER_BOX
  #- DISPENSER
  #- DROPPER
  #- FURNACE
  #- BLAST_FURNACE
  #- SMOKER
  #- BARREL
  #- CRAFTER
  #- LECTERN
  #- BREWING_STAND

It is possible to automatically lock containers when they are placed (By default it does not block any container)

messages:
  player-not-found: "&cThe player was not found!"
  no-place-chest: "&cYou cannot place the chest here!"
  no-place-hopper: "&cYou cannot place a hopper under a protected container!"
  success-lock: "&aContainer successfully locked!"
  success-unlock: "&aContainer successfully unlocked!"
  already-lock: "&aThis container is already locked by you!"
  belongs-to: "&cThis container belongs to %player%"
  no-locked: "&cThis container has not been locked yet!"
  player-add: "&aThe player %player% has been added!"
  player-remove: "&aThe player %player% has been removed!"
  no-player-list: "&eThe player is not associated with this container"
  no-access: "&cYou do not have access to this container!"

All the messages that come out in the game are contained here and can be translated or modified as desired.

chat-info:
  show-nearby-players: true
  player-distance: 10 #blocks
  spacer: " "
  divider: " &7&m                                  "
  associated: "&l  &a   Associated players:"
  owner: "&l  &6   ★ &f"
  player: " &f★ &f"
  remove: " &4[✕]&f"
  press-to-remove: "&cPress to remove "
  not-associated: "&l  &e   Players nearby:"
  neighbors: " &7★ &f"
  add: " &a[+]&f"
  press-to-add: "&aPress to add "

This block contains all the information display parts in the chat