# TODO: using the "stick" item to touch a target will tell you all of the items in the bundle/shulkerbox in that frame.

# TODO: option to allow smartitemsorters to quickly pull item stacks. It will remember when an item is transferred into
# it and then will pull all item stacks from that inventory. If the inventory is a hopper, it will pull all item stacks
# from the container above it.

main:         'dev.metanoia.smartitemsort.SmartItemSort'
name:         'SmartItemSort'
version:      '1.4.9'
author:       'BornToCode'
website:      'https://www.spigotmc.org/resources/smart-item-sort.100831'
api-version:  '1.16'
load:         'POSTWORLD'

description: |
  Traditional item drop collection and sorting systems can place high strain on servers. This plugin
  is intended to make item sorting easier, more reliable, and less impactful to the server.

permissions:
  smartitemsort.*:
    description:  'allow full access to the SmartItemSort plugin'
    children:
      smartitemsort.commands.use:      true
      smartitemsort.command.item-give: true
      smartitemsort.command.item-mark: true
      smartitemsort.command.item-show: true
      smartitemsort.command.reload:    true
      smartitemsort.command.show:      true
      smartitemsort.command.tag:       true
      smartitemsort.command.tags:      true

  smartitemsort.commands.use:
    description: 'may use the /smartitemsort command'
    default:      'op'

  smartitemsort.command.item-give:
    description: 'may use "/smartitemsort item give" to get a SmartItemSort activator item'
    default:      'op'

  smartitemsort.command.item-mark:
    description: 'may use "/smartitemsort item mark" to add SmartItemSort-specific data to item in hand'
    default:      'op'

  smartitemsort.command.item-show:
    description: 'may use "/smartitemsort item show" to display activation item config for item in hand'
    default:      'op'

  smartitemsort.command.reload:
    description: 'may use "/smartitemsort reload" to reload the state of the SmartItemSort plugin'
    default:      'op'

  smartitemsort.command.show:
    description: 'may use "/smartitemsort show" to see the locations of all active smart item sorters'
    default:      'op'

  smartitemsort.command.tag:
    description: 'may use "/smartitemsort tag" to see which blocks or items are selected by the given tag'
    default:      'op'

  smartitemsort.command.tags:
    description: 'may use "/smartitemsort tags" to see the names of all recognized tags'
    default:      'op'

commands:
  smartitemsort:
    description:        'Access the SmartItemSort plugin.'
    usage:              'Usage: /<command>'
    permission:         'smartitemsort.commands.use'
    permission-message: 'You do not have permission to use this command.'