name: EggsPortal
author: EndlessGames
main: it.endlessgames.eggsportal.EggsPortal
version: 1.0.3
api-version: 1.13
description: A needful addon for your Factions server

depend:
  - Vault
  - Factions

commands:
  eggsportal:
    description: Main plugin's command.
    usage: /eggsportal
    aliases: [ep]

permissions:
  eggsportal.admin:
    default: op
    description: Gives access to all commands.
    children:
      eggsportal.help: true
      eggsportal.add.*: true
      eggsportal.remove.*: true
      eggsportal.list: true
      eggsportal.reload: true
  eggsportal.help:
    description: Allows you to get the list of commands.
    default: op
    command: "/ep list"
  eggsportal.add.portals:
    description: Allows you to add a portal.
    default: op
    command: "/ep add portal"
  eggsportal.add.teleports:
    description: Allows you to add a teleport location.
    default: op
    command: "/ep add teleport"
  eggsportal.remove.portals:
    description: Allows you to remove a portal.
    default: op
    command: "/ep remove portal <ID>"
  eggsportal.remove.teleports:
    description: Allows you to remove teleport location.
    default: op
    command: "/ep add teleport <ID>"
  eggsportal.list:
    description: Allows you to get list of portals and teleport locations.
    default: op
    command: "/ep list"
  eggsportal.reload:
    description: Allows you to reload the configuration file.
    default: op
    command: "/ep reload"