name: "SmileyPlayerTrader"
description: "Allows you to trade with a player using the Villager GUI"
version: "1.5.2"
api-version: "1.15"
authors:
  - Mrcomputer1
  - Semisol
main: io.github.mrcomputer1.smileyplayertrader.SmileyPlayerTrader
softdepend:
  - Vault # for offline permissions checking
commands:
  smileyplayertrader:
    description: "Smiley Player Trader Command"
    permission: smileyplayertrader.command
    aliases: [spt]
    usage: "/spt"
permissions:
  "smileyplayertrader.*":
    description: "All Smiley Player Trader permissions."
    default: false
    children:
      "smileyplayertrader.others": true
      "smileyplayertrader.trade": true
      "smileyplayertrader.merchant": true
      "smileyplayertrader.command": true
      "smileyplayertrader.admin": true
      "smileyplayertrader.trade.remote": true
      "smileyplayertrader.guiothers": true
  "smileyplayertrader.others":
    description: "Change other players"
    default: op
  "smileyplayertrader.trade":
    description: "Trade with players"
    default: true
  "smileyplayertrader.trade.remote":
    description: "Trade with players via a command"
    default: true
  "smileyplayertrader.merchant":
    description: "Be able to trade with"
    default: true
  "smileyplayertrader.command":
    description: "Access to /spt"
    default: true
  "smileyplayertrader.admin":
    description: "Update checker permission"
    default: op
  "smileyplayertrader.guiothers":
    description: "Open the GUI for other players"
    default: op