TPA and TPR: Difference between revisions

From Minetest
(Created page with "<div class="p44_navbar"> Wiki Top Minetest MT worlds This page Trolltest </div> <div class="p44_navbar"> [https://minetest.org/ minetest.org] [https://minetest.io minetest.io] [https://git.minetest.io/ 9,000 gits] [https://irc.minetest.org:9000/#/connect CoderChat] [https://edgy1.net/ EdgyNet] </div> <br /> <span id="introduction"></span> == Introduction == Bucket Game includes OldCoder versions of t...")
 
No edit summary
Line 3: Line 3:
[[Minetest|Minetest]]
[[Minetest|Minetest]]
[[MTWorlds|MT worlds]]
[[MTWorlds|MT worlds]]
[[Bucket_Game|This page]]
[[Bucket_Game|Bucket Game]]
[[Trolltest|Trolltest]]
[[Trolltest|Trolltest]]
</div>
</div>

Revision as of 00:05, 12 August 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.