TPA and TPR: Difference between revisions

From Minetest
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
[[Browser_Play|Browser Play!]]
[[Browser_Play|Browser Play!]]
[[Minetest|This page]]
[[Minetest|This page]]
[[MTWorlds|MTWorlds]]
[[MTWorlds|MT worlds]]
[[Player_Basics|Player Basics]]
[[Bucket_Game|Bucket Game]]
[[Bucket_Game|Bucket Game]]
[[Trolltest|Trolltest]]
[[Downloads|Downloads]]
[[Downloads|Downloads]]
[[Contact|Contact]]
[[Contact|Contact]]
Line 20: Line 20:


<br />
<br />
----
<span id="introduction"></span>
<span id="introduction"></span>
== Introduction ==
== Introduction ==

Latest revision as of 23:06, 6 September 2023



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.