HomeJavaModsChestInspect
ChestInspect
ModsJava

ChestInspect

A plugin to toggle chest inspection mode for players/Staff

⬇ Download on Spigot
chestinspect.jpeg

DISCORD: https://discord.gg/gSnRsZVvCu

ChestInspect
is a plugin that enables players to inspect the contents of chests without making any modifications. Players can toggle an inspection mode to view a chest’s inventory, but they are unable to alter its contents unless granted the necessary permissions. This plugin is especially useful for staff members, as it allows server owners to grant permissions for staff to view chests in specific areas. Additionally, staff can control modifications, ensuring that players cannot take or alter items without permission. It also bypasses protection plugins, enabling chest inspections anywhere on the server, making it a powerful tool for monitoring suspicious activity.



Features
Commands
Permissions
How to Use the Plugin
  1. Toggle Chest Inspection Mode:
    • Players can toggle the chest inspection mode using the /chestinspect command.
    • When chest inspection mode is enabled, the player can right-click any chest to open it and view its contents.
    • Players who do not have the chestinspect.toggle permission will not be able to use the command.
  2. Inspect Chests:
    • When chest inspection mode is enabled, players can right-click on chests (including trapped chests and double chests) to open them.
    • The chest’s inventory will open, and the player can see the contents without being able to modify anything.
  3. Double Chest Support:
    • If a player right-clicks one side of a double chest, both sides will be opened, allowing them to inspect the full double chest inventory.
Example Configuration in Permissions (for permissions plugin like PermissionsEx or LuckPerms)

yaml

Code (YAML):
chestinspect:
  permissions
:
  - chestinspect.toggle
   - chestinspect.reload

Language File Configuration

The plugin supports language customization, allowing you to change messages for various actions (e.g., when inspection is enabled/disabled or when permissions are denied). The default language file is stored in plugins/ChestInspect/lang/en.yml.

Example messages in the language file:

yaml

Code (YAML):

messages
:
  consoleOnly
: "§cThis command can only be used by players."
  noPermission
: "§cYou do not have permission to use this command."
  chestInspectEnabled
: "§aChest inspection mode enabled. Right-click a chest to inspect it."
  chestInspectDisabled
: "§cChest inspection mode disabled."
  chestInspecting
: "§eInspecting chest contents..."
  chestModifyDenied
: "§cYou cannot modify the chest contents while inspecting!"
  reloadSuccess
: "§aPlugin reloaded."
chestTitle
:
  doubleChest
: "§e§lDouble Chest Preview"
  singleChest
: "§e§lChest Preview"

 

You can edit the en.yml file to customize the messages shown to players.

How to Install and Use the Plugin
  1. Download the Plugin:
    • Download the ChestInspect plugin .jar file and place it in your server’s plugins folder.
  2. Start the Server:
    • Restart or reload your server to load the plugin.
  3. Configure Permissions:
    • If you are using a permissions plugin (e.g., PermissionsEx, LuckPerms, etc.), ensure you set up the permissions (chestinspect.toggle, chestinspect.modify) as described in the configuration example.
  4. Test the Plugin:
    • Use the /chestinspect command to toggle inspection mode.
    • Ensure that players can inspect chests and, if they have the right permission, modify them.

ChestInspect is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21. Downloaded 95 times (via Spigot). Download it and open it directly in the game.

Explore more