name: Waypoints
main: dev.shrek.Waypoints.Main
version: 1.0.0

api-version: 1.17
softdepend:
  - WorldGuard
  - Vault

commands:
  waypoint:
    description: "creates a waypoint with specified name"
    usage: "/waypoint <name>"
  waygui:
    description: "opens waypoint gui"
  waysave:
    description: "manually saves all waypoints"


permissions:
  waypoints.*:
    description: "Gives access to all waypoints permissions"
    children:
      waypoints.create: true
      waypoints.tp: true
      waypoints.anywhere: true
      waypoints.removeown: true
      waypoints.removeany: true
      waypoints.manualsave: true
  waypoints.create:
    description: "Allows you to create waypoints"
    default: false
  waypoints.tp:
    description: "Allows you to teleport waypoints from other waypoints"
    default: true
  waypoints.anywhere:
    description: "Allows you to teleport to waypoints from anywhere via command"
    default: false
  waypoints.removeown:
    description: "Allows a player to remove their own waypoint by breaking the block"
    default: true
  waypoints.removeany:
    description: "Allows a player to remove anyone's waypoints by breaking the block"
    default: false
  waypoints.manualsave:
    description: "Gives access to the /waysave command, which saves all waypoints to disk during server run, reccomeneded to use if TPS is low to prevent any losses from a crash"
    default: false;


