name: EasyCourt
version: 1.1.3
description: An easy way to have a dynamic court system on your server!
main: me.vinthebin.EasyCourt.EasyCourt
author: vinthebin

commands:
  setcourt:
    description: Set the server’s court position. 
    usage: /setcourt
    permission: easycourt.setcourt
  setjudge:
    description: Sets the server’s judge.
    usage: /setjudge <player>
    permission: easy court.setjudge
  court:
    description: Starts/Ends a court session.
    usage: /court <start/end>
    permission: easy court.court
  jury:
    description: Joins/Leaves the server’s jury.
    usage: /jury <join/leave>
    permission: easycourt.jury
  sue:
    description: Sues a player for a certain amount of money. This will begin a court session.
    usage: /sue <player> <amount of money>
    permission: easycourt.sue
  innocent: 
    description: Broadcasts that the player who is being tried is innocent. Only the judge can use this command. 
    usage: /innocent <player>
  guilty:
    description: Broadcast that the player who is being tried is guilty. This will take away a specified amount of money (usually the amount the person who sued requested). Only the judge can use this command.
    usage: /guilty <player> <amount of money>
  easycourt:
    description: Shows all of the commands in the EasyCourt plugin. 
    usage: /easycourt
    permission: easycourt.easycourt

permissions:
  easycourt.setcourt:
    description: Allows you to set the server’s court position.
    default: op
  easycourt.setjudge:
    description: Allows you to set the server’s judge.
    default: op
  easycourt.court:
    description: Allows you to start/end a court session.
    default: op
  easycourt.jury:
    description: Allows you to join/leave the server’s jury.
    default: true
  easycourt.sue:
    description: Allows you to sue a player. 
    default: true
  easycourt.easycourt:
    description: Allows you to view all of the EasyCourt commands.
    default: true