Home›Java›Mods›ChestDrop
ModsJava

ChestDrop

Minecraft Java mod. Download on the author's site.

⬇ Download on Spigot
Description
ChestDrop plugin allows you to define regions do drop random loot chests.

Installation
  1. Download the plugin
  2. Copy the jar file into the plugins folder
  3. Restart the server
Plugin Github
Check plugin github wiki

Features:
Commands:
cdreload - Reload the plugin config
Usage: /cdreload

Permissions: chestdrop.reload

cddump - Dump item NBT
Usage: /cdump

Permissions: chestdrop.info

Alias: nbtdump, dumpnbt, nbt

cdrandom - Gives a random item from kit.
Usage: /cdrandom

Permissions: chestdrop.random

cddrop - Start a chest drop.
Usage: /cddrop

Permissions: chestdrop.drop

The configuration file
All kits are stored in kits.json file. File structure:

Code (Text):
[
    {
        "name": "THE KIT NAME",
        "group": "THE KIT GROUP",
        "displayName": "THE KIT DISPLAY NAME",
        "world": "THE KIT REGION WORLD",
        "region": [MIN_X, MIN_Z, MAX_X, MAX_Z],
        "interval": <KIT DROP INTERVAL IN SECONDS>,
        "live": <NUMBER OF SECONDS AFTER WHICH THE KIT IS REMOVED>,
        "chests": <NUMBER OF CHESTS IN DROP>,
        "minItems": <MINIMUM NUMBER OF ITEMS IN CHEST>,
        "maxItems": <MAXIMUM NUMBER OF ITEMS IN CHEST>,
        "items": [
            {
                "id": <MATERIAL ID OR NAME>,
                "data": <ITEM DATA>,
                "chance": <ITEM DROP CHANCE>,
                "amount": <THE AMOUNT OF ITEMS IN A STACK>,
                "nbt": <THE ITEM NBT DATA>
            },
            (...)
        ]
    },
    (...)
]
 
Thank you
I would like to thank dijabola18 for throwing the idea of making a random chest drop plugin that he needed for his server.
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.

ChestDrop is a free Minecraft Java mod. Downloaded 1,825 times (via Spigot). Download it and open it directly in the game.

Explore more