name: Points_By_Metype
version: 2.1.0a
main: mc.metype.points.points.Main
api-version: "1.13"
prefix: Points
authors: [Metype]
description: A Plugin that lets players earn points for playtime and use said points to buy items.

commands:
  points:
    description: The main command for Points, type "/points ?" for more information.
    usage: "Usage: /<command> [?|store|bal|reload]"
    aliases: p
  purchases:
    description: Gets all the purchases a user has made.
    permission: points.purchases
    permission-message: §7[§6Points§7]§r §cPermission denied.
    usage: "Usage: /<command> <user>"
  createitem:
    description: Creates an item in the points store.
    permission: points.create.item
    permission-message: §7[§6Points§7]§r §cPermission denied.
    usage: "Usage: /<command>"
  createcategory:
    description: Creates a category in the points store.
    permission: points.create.category
    permission-message: §7[§6Points§7]§r §cPermission denied.
    usage: "Usage: /<command>"
  edititem:
      description: Edits an item in the points store.
      permission: points.create.item
      permission-message: §7[§6Points§7]§r §cPermission denied.
      usage: "Usage: /<command>"
  editcategory:
      description: Edits a category in the points store.
      permission: points.create.category
      permission-message: §7[§6Points§7]§r §cPermission denied.
      usage: "Usage: /<command>"

permissions:
  points.main.*:
    description: Allows for the use of /points and all subcommands, the basic permission everyone should have.
    default: true
    children:
      points.main.bal: true
      points.main.?: true
      points.main.store: true
      points.main.menu: true
  points.create.*:
    description: Allows for the creation of many things, from store items to fake users.
    default: op
    children:
      points.create.category: true
      points.create.item: true
  points.main.bal:
    description: Allows a user to check how many points they have.
    default: true
  points.create.category:
    description: Allows a user to create a category in the points store.
    default: op
  points.create.item:
    description: Allows a user to create an item in the points store.
    default: op
  points.main.?:
    description: Allows a user to see all the command the plugin has that they have access to.
    default: true
  points.main.store:
    description: Allows a user to open and buy from the points store.
    default: true
  points.main.menu:
    description: Allows a user to open the main points menu, from which, if they have the permissions, they can access the store an their points balance.
    default: true
  points.reload:
    description: Allows a user to perform a reload of all the configs for the points plugin.
    default: op
  points.set:
    description: Allows a user to set anyone's point balance.
    default: op
  points.get:
    description: Allows a user to get anyone's point balance.
    default: op
  points.give:
    description: Allows a user to add any arbitrary amount of points to anyone's point balance.
    default: op
  points.trade:
    description: Allows a user to give an arbitrary amount of their points to anyone else.
    default: true
  points.purchases:
    description: Allows a user to see any other user's purchases.
    default: op
  points.earn:
    description: Required for a user to earn points.
    default: true
  points.*:
    description: Allows for the use of every single feature of the points plugin with nothing restricted, kinda bad news if someone who shouldn't, has this.
    default: op
    children:
      points.main.*: true
      points.set: true
      points.get: true
      points.give: true
      points.trade: true
      points.purchases: true
      points.earn: true
      points.reload: true
      points.create.*: true
