AlphaTPADocs v2.0.0
AlphaTPAReferencePermissions

Permissions

Everything is on for everyone except the admin and bypass nodes.

On this page

All nodes

Every player command is on for everyone. Only the admin and bypass nodes need granting.

NodeDefaultGrants
alphatpa.tpatrueSend /tpa requests.
alphatpa.tpaheretrueSend /tpahere requests.
alphatpa.accepttrueAccept requests.
alphatpa.denytrueDeny requests.
alphatpa.canceltrueCancel your outgoing requests.
alphatpa.toggletrue/tpatoggle and /tpaheretoggle.
alphatpa.autotrue/tpauto.
alphatpa.guitrue/tpaguitoggle.
alphatpa.adminop/alphatpa reload.
alphatpa.bypass.cooldownfalseIgnore the per-target request cooldown.
alphatpa.bypass.limitfalseIgnore the daily request limit.
alphatpa.bypass.warmupfalseTeleport without the countdown.
The bypass nodes default to false for operators as well. An op is held to the countdown and the cooldowns like anyone else until you grant these nodes.

Remapping nodes

The checks live in code, so any node can be repointed without editing plugin.yml. Edit the permissions block in config.yml:

permissions:
  tpa: alphatpa.tpa
  tpahere: alphatpa.tpahere
  accept: alphatpa.accept
  deny: alphatpa.deny
  cancel: alphatpa.cancel
  toggle: alphatpa.toggle
  auto: alphatpa.auto
  gui: alphatpa.gui
  admin: alphatpa.admin
  bypass-cooldown: alphatpa.bypass.cooldown
  bypass-limit: alphatpa.bypass.limit
  bypass-warmup: alphatpa.bypass.warmup

An empty value means everybody may use that command. Run /alphatpa reload after a change.