main: de.jeff_media.InvUnload.Main
name: InvUnload
version: 5.0.2
api-version: 1.13
description: Unloads inventory in nearby matching chests
author: mfnalex
prefix: InvUnload
database: false
softdepend: [WorldGuard, ChestSort, PlotSquared, Spartan, CoreProtect, ItemsAdder]
commands:
  unload:
    description: Unloads inventory in nearby matching chests
    usage: |
            /<command> [radius] -- Unloads inventory in nearby matching chests
            /<command> hotbar -- Toggles whether /<command> affects your hotbar
    permission: invunload.use
    aliases: [store,ul,invunload,unloadinv]
  dump:
    description: Unloads inventory in nearby matching chests and dumps the rest into the nearest chests
    usage: |
            /<command> [radius] -- Unloads inventory in nearby matching chests and dumps the rest into the nearest chests
            /<command> hotbar -- Toggles whether /<command> affects your hotbar
    permission: invunload.use
    aliases: [invdump,dumpinv]
  unloadinfo:
    description: Shows into which chests your last /unload or /dump went into
    usage: /<command> [duration]
    permission: invunload.use
    aliases: [dumpinfo,uli]
  searchitem:
    description: Searches for items in nearby chests
    usage: |
            /<command> -- Searches for your currently held item
            /<command> <item> -- Searches for the given item
            /<command> <radius> -- Searches for your currently held item in the given radius
            /<command> <item> <radius> -- Searches for the given item in the given radius
    aliases: [search,chestsearch]
    permission: invunload.search
  blacklist:
    description: Blacklists an item so it is ignored by /unload
    usage: |
            /<command> -- Show your blacklist
            /<command> add -- Adds your currently held item to your blacklist
            /<command> add inventory -- Adds all items from your inventory to your blacklist
            /<command> add hotbar -- Adds all items from your hotbar to your blacklist
            /<command> add <items...> -- Add specified items to your blacklist
            /<command> remove -- Removes your currently held item from your blacklist
            /<command> remove inventory -- Removes all items from your inventory from your blacklist
            /<command> remove hotbar -- Removes all items from your hotbar from your blacklist
            /<command> remove <items...> -- Remove items from your blacklist
            /<command> reset -- Removes all items from your blacklist
    permission: invunload.use
permissions:
  invunload.use:
    description: Allows usage of command /unload, /dump, /unloadinfo and /blacklist
  invunload.search:
    description: Allows usage of the /searchitem command
  invunload.reload:
    description: Allows to reload the config using /unload reload
