name: NVus_Prison
version: '${project.version}'
main: me.nvus.nvus_prison_setup.PrisonSetup
api-version: '1.20'
prefix: NVus Prison
authors: [never2nv]
website: https://FNGnation.net

depend:
  - WorldGuard
  - Vault

softdepend:
  - PlaceholderAPI
  - WorldEdit
  - FastAsyncWorldEdit

commands:
  nvus:
    description: Base command to view NVus Prison Setup commands.
    usage: |
      /nvus reload - Reloads all configuration files.
      /nvus version - Shows the plugin version.
      /nvus id - Display your username, UUID and send a clickable UUID.
      /nvus menu - Opens the settings menu.
      /nvus autopickup <true|false> - Toggles the auto item pickup feature.
      /nvus autoswitch <true|false> - Toggles the auto tool switch feature.
      /nvus prisonerarmor <true|false> - Toggles giving prisoners armor on join.
      /nvus restrictarmor <true|false> - Toggles the restriction on changing prisoner armor.
      /nvus tooldamage <true|false> - Toggle if prisoner tools receive damage. FALSE = No Damage.
      /nvus treefarm <true|false> - Toggle the TreeFarm feature for prisoners.
      /nvus prisonerranks <true|false> - Toggle if prisoners can use the /rankup and /ranks commands.
      /nvus autosell <true|false> - Toggle if prisoners can auto toggle auto selling of items as they are mined.
      /nvus sellall <true|false> - Toggle if prisoners can use /sellall to manually sell items form inventory.

    aliases: [prison]

  gang:
    description: Base command for gang-related actions.
    usage: |
      /gang create <name/tag> - Create a gang.
      /gang info - View your current Gangs info.
      /gang invite <player> - Invite a player to your gang.
      /gang accept - Accept a Gang Invite.
      /gang deny - Decline a Gang Invite.
      /gang leave - Leave your current Gang.
      /gang disband - Disband your gang.
      /gang kick <player> - Kick a player from your gang.
      /gang promote <player> - Promote a player to a higher rank.
      /gang demote <player> - Demote a player to a lower rank.
    aliases: [gangs]
  sellall:
    description: Sell all eligible items in your inventory.
    usage: |
      /sellall - Sell all eligible items in your inventory.
    aliases: [selleverything]
  autosell:
    description: Toggle auto selling all eligible items in your inventory.
    usage: |
      /autosell - Toggle auto selling all eligible items in your inventory.
    aliases: [ automaticsell ]
  setprice:
    description: Set the price of the block being held in item_prices.yml. Set the price to 0 to remove it from the list!
    usage: |
      /setprice <price> - Set the price of the block being held in item_prices.yml. Set the price to 0 to remove it from the list!
    aliases: [ setblockprice ]
  rankup:
    description: Rank up to the next rank.
    usage: |
      /rankup - Rank up to the next rank.
    aliases: [ nextrank ]
  ranks:
    description: Display all available ranks, their cost and your current rank and balance.
    usage: |
      /ranks - Rank up to the max rank.
    aliases: [ allranks ]

permissions:
  nvus.admin:
    description: Allows access to NVus Prison admin commands.
    default: op
  nvus.gang.create:
    description: Allows creating a gang.
    default: true
  nvus.prisoner:
    description: Allows access to NVus Prison prisoner features ie AutoSwitch,AutoSell,Restricting Armor etc.
    default: true