name: IronicChest
version: '1.18.4'
main: mcaarons.world.IronicChest
api-version: 1.13
authors: [Ironic_8b49, original author kroimon]
description: Plugin that allows you to have up to 2 virtual private chests and a community chest.

commands:
  ironicchest:
    aliases: [chest, ichestone, chestone]
    description: Opens your virtual chest.
    permission: ironicchest.chest
    usage: /<command> - Opens your private chestone.
  ironicchesttwo:
    aliases: [ichesttwo, chesttwo]
    description: Opens your virtual chest.
    permission: ironicchest.chesttwo
    usage: /<command> - Opens your private chesttwo.
  ironicchest clear:
    description: clear your virtual chest.
    permission: ironicchest.chest
    usage: /<command>
  ironicchest help:
    description: list of all the commands.
    usage: /<command>
  ironicchest info:
    description: displays info about Ironic chest.
    usage: /<command>
  ironicchest reload:
    description: reloads configs for Ironic chest.
    permission: ironicchest.admin
    usage: /<command>
  ironicchest clearchest:
    description: clear virtual chest of other player.
    permission: ironicchest.admin
    usage: /<command>
  ironicchest savechest:
    description: save all the virtual chest.
    permission: ironicchest.save
    usage: /<command>
  ironicworkbench:
    aliases: [icraft, craft, craftbox, craftingbox, workbeanch]
    description: Opens a virtual workbench.
    permission: ironicchest.workbench
    usage: /<command>
  ironiccommunitychest:
    aliases: [community, icc, icchest]
    description: Opens a public virtual community chest.
    permission: ironicchest.community.open
    usage: /<command> - Opens your community chest.
  ironiccommunitychest other:
    description: Open community chest for others.
    permission: ironicchest.community.other
    usage: /<command>
  ironiccommunitychest reset:
    description: clears community chest.
    permission: ironicchest.community.reset
    usage: /<command>

permissions:
  ironicchest.*:
    description: Gives access to virtual chest and workbench.
    children:
      ironicchest.chest: true
      ironicchest.workbench: true
  ironicchest.chest:
    description: Gives access to virtual chest number one.
  ironicchest.chest.creativemode:
    description: Allows access to the virtual chest while in creative mode
  ironicchest.chesttwo:
    description: Gives access to virtual chest number two.
  ironicchest.workbench:
    description: Gives access to virtual workbench.

  ironicchest.keepOnDeathOne:
    description: Players with this permission keep the contents of their virtual chestone on death.
  ironicchest.dropOnDeathOne:
    description: Players with this permission drop the contents of their virtual chestone on death.
  ironicchest.clearOnDeathOne:
    description: Players with this permission lose the contents of their virtual chestone on death.
  ironicchest.keepOnDeathTwo:
    description: Players with this permission keep the contents of their virtual chesttwo on death.
  ironicchest.dropOnDeathTwo:
    description: Players with this permission drop the contents of their virtual chesttwo on death.
  ironicchest.clearOnDeathTwo:
    description: Players with this permission lose the contents of their virtual chesttwo on death.

  ironicchest.admin:
    description: Allows to open or clear someone else's chest.
  ironicchest.save:
    description: Allows to save all virtual chests.
    default: op

  ironicchest.community.open:
    description: Gives access to open community chest.
    default: op
  ironicchest.community.others:
    description: opens community chest for other players.
    default: op
  ironicchest.community.reset:
    description: clears community chest.
