name: PlaytimePlus
author: Evermoore
version: 1.1
api-version: 1.13
main: com.github.playtimeplus.Main
description: The best playtime plugin.

commands:
  playtime:
    description: The main plugin command.

permissions:
  playtime.*:
    description: Gives access to every command.
    default: op
    children:
      playtime.admin: true
      playtime.user: true
  playtime.admin:
    description: Gives access to all admin commands.
    default: op
    children:
      playtime.admin.save: true
      playtime.admin.grant: true
      playtime.admin.check: true
      playtime.admin.migrate: true
  playtime.admin.save:
    description: Gives the ability to save data to the database.
    default: op
  playtime.admin.grant:
    description: Gives the ability to grant rewards to players.
    default: op
  playtime.admin.check:
    description: Gives the ability to grant unclaimed rewards of a player.
    default: op
  playtime.admin.migrate:
    description: Gives the ability to migrate from other playtime plugins.
    default: op
  playtime.user:
    description: Gives access to all user commands.
    default: true
    children:
     playtime.user.current: true
     playtime.user.help: true
     playtime.user.playtime: true
     playtime.user.rewards: true
     playtime.user.top: true
  playtime.user.current:
    description: Gives the ability to check session playtime.
    default: true
  playtime.user.help:
    description: Gives the ability to use the help command.
    default: true
  playtime.user.playtime:
    description: Gives the ability to check playtime.
    default: true
  playtime.user.rewards:
    description: Gives the ability to check available rewards.
    default: true
  playtime.user.top:
    description: Gives the ability to open the playtime leaderboard.
    default: true