main: com.phillyzone.speedrunclock.SpeedrunClock
name: SpeedrunClock
version: 1.0

description: A stopwatch for casual speedruns.
author: fdf2002
## website

commands:
  start:
    description: Starts the stopwatch.
    permission: speedrunclock.use
    permission-message: &cYou do not have permission to use the stopwatch.
  stop:
    description: Stops the stopwatch.
    permission: speedrunclock.use
    permission-message: &cYou do not have permission to use the stopwatch.
  pause:
    description: Pauses or resumes the stopwatch.
    permission: speedrunclock.use
    permission-message: &cYou do not have permission to use the stopwatch.
    aliases: resume
  seetime:
    description: Makes the stopwatch time appear.
    permission: speedrunclock.view
    permission-message: &cYou do not have permission to view the stopwatch.
    usage: "/seetime [player] [true|false]\nFrom the console, a player must be specified."
permissions:
  speedrunclock.use:
    description: Allows you to start, stop, and pause the stopwatch.
    default: true
  speedrunclock.view:
    description: Allows you to see the clock.
    default: true
  speedrunclock.view.others:
    description: Allows you to make other people see the clock.
    default: op
  speedrunclock.spectator:
    description: Makes you only a spectator.
    default: false
    children:
      speedrunclock.use: false