name: NewSimpleWaypoints
author: Benji Dial
version: 1.1
description: A plugin to save per-user waypoints and teleport back to them

api-version: 1.16
main: net.benjidial.spigot.newsimplewaypoints.Plugin

commands:
  makewp:
    aliases: [mkwp, wsave, wmk]
    description: Makes a waypoint with the specified name.
    usage: /mkwp NAME
    permission: newsimplewaypoints.use
    permission-message: You do not have permission to use waypoints.
  removewp:
    aliases: [rmwp, wdel, wdelete, wrm]
    description: Removes a waypoint with the specified name.
    usage: /rmwp NAME
    permission: newsimplewaypoints.use
    permission-message: You do not have permission to use waypoints.
  teleportwp:
    aliases: [tpwp, wtp]
    description: Teleports to the waypoint with the specified name.
    usage: /tpwp NAME
    permission: newsimplewaypoints.use
    permission-message: You do not have permission to use waypoints.
  listwps:
    aliases: [lswp, wlist]
    description: Lists the user's waypoints.
    usage: /lswp
    permission: newsimplewaypoints.use
    permission-message: You do not have permission to use waypoints.
  wback:
    aliases: [wb]
    description: Teleports the user to where they were the last time they ran teleportwp.
    usage: /wb
    permission: newsimplewaypoints.use
    permission-message: You do not have permission to use waypoints.
  nswreload:
    description: Reloads the New Simple Waypoints config and data files.
    usage: /nswreload
    permission: newsimplewaypoints.admin
    permission-message: You do not have permission to manage the New Simple Waypoints plugin.

permissions:
  newsimplewaypoints.*:
    description: Gives all NewSimpleWaypoints permissions.
    default: false
    children:
      newsimplewaypoints.use: true
      newsimplewaypoints.admin: true
  newsimplewaypoints.use:
    description: Allows personal waypoints.
    default: false
  newsimplewaypoints.admin:
    description: Allows management of the New Simple Waypoints plugin.
    default: false