HomeJavaModsChestKey
ChestKey
ModsJava

ChestKey

by leotrax3d · on Modrinth

ChestKey is a Paper (1.21.11+) Minecraft plugin that lets you lock and protect chests using unique keys. It uses only the official Adventure API (no NMS…

⬇ Download on Modrinth

ChestKey

ChestKey is a Minecraft plugin for Paper (1.21.11) for locking and protecting chests using unique keys. It works on Java-based servers using Paper API 1.21 or higher and uses only the official Adventure API for texts. It does not require NMS or Reflection.

Features

Installation

  1. Build the project with Maven:
mvn package
  1. Copy the generated JAR (target/chestlock-1.0-SNAPSHOT.jar) to the plugins directory of your Paper server.
  2. Start the server. When starting for the first time, messages.yml and config.yml will be created in the plugin data folder.
  3. Customise messages.yml or config.yml as needed.

Configuration

config.yml currently contains two options:

visual:
  particles: true
  indicator: true

A complete sample configuration is included in the plugin archive.

Messages

All texts come from messages.yml and use the MiniMessage format. You can customise this file to use translations or your own colours.

Example entries:

chest:
  locked: ‘<red>This chest is locked and you do not have the right key.’
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more