TPA and TPR: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="p44_navbar"> | <div class="p44_navbar"> | ||
[[Main_Page|Wiki Top]] | [[Main_Page|Wiki Top]] | ||
[[Minetest| | [[Browser_Play|Browser Play!]] | ||
[[Minetest|This page]] | |||
[[MTWorlds|MT worlds]] | [[MTWorlds|MT worlds]] | ||
[[Player_Basics|Player Basics]] | |||
[[Bucket_Game|Bucket Game]] | [[Bucket_Game|Bucket Game]] | ||
[[ | [[Downloads|Downloads]] | ||
[[Contact|Contact]] | |||
[[Devel_Center|Devel Center]] | |||
</div> | </div> | ||
Line 16: | 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.