Skip to main content

Teleport requests

Module tpa. Prices need the economy module. Settings file: tpa.toml.

Commands​

CommandWhat it doesPermissionDefault
/tpa <player>Ask to teleport to a playerbrita.tpa.useeveryone
/tpahere <player>Ask a player to teleport to youbrita.tpa.hereeveryone
/tpaccept [player], /tpdeny [player]Accept or deny the newest request, or the one from that playerbrita.tpa.accepteveryone
/tpcancel [player], /tpacancel [player]Take back your newest request, or the one to that playerbrita.tpa.useeveryone
/tptoggleSwitch receiving teleport requests off or on (saved)brita.tpa.toggleeveryone

How it works​

  • The other player gets the request in chat with clickable [Accept] and [Deny] buttons, or types /tpaccept or /tpdeny.
  • Sending again to the same player replaces the open request.
  • On accepting, the player who moves goes to where the other one stands at that moment.
  • Players who switched requests off with /tptoggle cannot get any; the choice is saved in britaessentials-tpa.json in the world folder.
  • Open requests end when a player leaves or the server stops.

Settings​

SettingWhat it doesDefault
enabledSwitches the request commands on or offtrue
requestSecondsSeconds a request stays open; both players are told when it expires (5 to 3600)60
waitSeconds, cooldownSecondsSeconds the player who moves stands still before the teleport, and before the next one0

Prices​

In economy.json under costs, always paid by the player who asked, on arrival: "tpa" for /tpa, "tpahere" for /tpahere. The price is checked when the request is sent.