name: superluminal
version: "0.10"
main: de.sybewh.superluminal.Main
softdepend: ["Multiverse-Core","Vault"]

author: SystemBetweenWhiles@gmail.com
description: Travel everywhere within a tick!
website: https://www.spigotmc.org/resources/superluminal.25474/

commands:
  warp:
    description: "Chose a warp to visit!"
    usage: "/warp"
    permission: superluminal.warp
  world:
    description: "Enter a different World!"
    usage: "/world"
    permission: superluminal.worlds
  meet:
      description: "Teleport to a player!"
      usage: "/meet"
      permission: superluminal.meet
  back:
    description: "Undo your last teleportation!"
    usage: "/back"
    permission: superluminal.back

  addworld:
    description: "Adds your current world to superluminal!"
    usage: "/addworld [name]"
    permission: superluminal.editworlds
  editworld:
    description: "Edit the world you are in now!"
    usage: "/editworld name <thenewname>\n/editworld item [material] [damage]"
    permission: superluminal.editworlds
  delworld:
    description: "Remove a world from superluminal! (your current world, if you don't type the name)"
    usage: "/delworld [name]"
    permission: superluminal.editworlds
  setwarp:
    description: "Create a new warp!"
    usage: "/setwarp <name> [group]"
    permission: superluminal.editwarps
  editwarp:
    description: "Change a warp!"
    usage: "/editwarp <name> cost <newcost>\n/editwarp <name> group <groupname>\n/editwarp <name> item [material] [damage]\n/editwarp <name> perm\n/editwarp <name> perm -\n/editwarp <name> perm <permission>\n/editwarp <name> pos"
    permission: superluminal.editwarps
  editwgroup:
    description: "Change a Warp-Group!"
    usage: "/editwgroup <name> cost <newcost>\n/editwgroup <name> item [material] [damage]\n/editwgroup <name> name <newname>\n/editwgroup <name> perm\n/editwgroup <name> perm -\n/editwgroup <name> perm <permission>"
    permission: superluminal.editwarps
  delwarp:
    description: "Delete a warp!"
    usage: "/delwarp <name>"
    permission: superluminal.editwarps
  delwgroup:
    description: "Delete a Warp-Group (with or without the warps in it)!"
    usage: "/delwgroup <name> [delwarps]"
    permission: superluminal.editwarps

permissions:
  superluminal.warp:
    default: true
    description: This allows you to open the /warp-menu.
  superluminal.worlds:
    default: true
    description: This allows you to open the /world-menu.
  superluminal.meet:
    default: true
    description: This allows you to open the /meet-menu.
  superluminal.back:
    default: true
    description: This allows you to undo your last teleportation.

  superluminal.edit:
    default: op
    description: This allows you to edit all warps and worlds.
    children:
      superluminal.editwarps: true
      superluminal.editworlds: true
  superluminal.editwarps:
    default: op
    description: This allows you to edit all warps.
  superluminal.editworlds:
    default: op
    description: This allows you to edit all worlds. (in superluminal)
  superluminal.nocost:
    default: op
    description: This allows you to bypass teleportation fees.
  superluminal.norequest:
    default: op
    description: This allows you to perform /meet without asking the target palyer.
  superluminal.silenttp:
    default: op
    description: This allows you to teleport without a noise.
  superluminal.warps.*:
    default: op
    description: This allows you to access the warps that require an extra permission.