TPA and TPR

From Minetest
(Redirected from CMD TPA TPR)



Introduction

Bucket Game includes OldCoder versions of the "tpa" and "tpr" teleportation mods. This page explains both mods.

/tpa commands

"tpa" is a mod that adds "chat" commands of the following type:

/tpa 10

The command shown here teleports the player to area #10, using "areas" mod area numbers as a basis. Any valid area number may be specified.

By default, to use "/tpa" commands, players need to have the "areas" and "noclip" privileges.

If a server owner wants to allow most players to use "/tpa", he or she can add the following setting to "minetest.conf" or "world.conf" (depending on how a world is set up):

tpamode = lax

This setting lets anybody with the "shout" privilege use "/tpa".

Alternatively, the following setting treats "/tpa" as a teleport capability and lets people with the "teleport" privilege use "/tpa":

tpamode = teleport

"tpa" requires the Bucket Game "areas" mod.

/tpr commands

The "tpr" mod adds commands named "/tpr" and "/tphr". Any player with the "interact" privilege can use a command like this:

/tpr Sally

"Sally" should be the name of a player in the game. The named player will be asked if they want to allow a teleport. If they type "/tpy" quickly, the player who used "/tpr" will be teleported to them.

If the named player types "/tpn" instead, or doesn't respond, the teleport will be denied.

/tphr commands

"/tphr" is similar to "/tpr" but different. If somebody types something like this:

/tphr Sally

the named player will be asked if they want to teleport to the player who typed "/tphr". The named player can respond with "/tpy" to agree or "/tpn" to disagree.