summaryrefslogtreecommitdiff
path: root/teleport_request
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-06-03 19:16:56 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-06-03 19:27:18 -0400
commit842a6d94916296912aba934b2b23d59244ea463b (patch)
tree20b92c24d2887296a3506c62233534a0e459c426 /teleport_request
parentdf2f0076c553c42c5ef4d2d2fbaff58b0ef8e4fd (diff)
downloaddreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.tar
dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.tar.gz
dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.tar.bz2
dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.tar.xz
dreambuilder_modpack-842a6d94916296912aba934b2b23d59244ea463b.zip
update castle, colormachine, moreblocks, pipeworks, tpr, and digilines
Diffstat (limited to 'teleport_request')
-rw-r--r--teleport_request/README.md12
-rw-r--r--teleport_request/init.lua2
2 files changed, 13 insertions, 1 deletions
diff --git a/teleport_request/README.md b/teleport_request/README.md
index ef13230..4044acd 100644
--- a/teleport_request/README.md
+++ b/teleport_request/README.md
@@ -13,28 +13,38 @@ Players may also teleport to coordinates, however if the area is protected, the
##Usage:
``` /tpr [playername] ```
+- **Name:** Teleport Request
- **Description:** Requests permission to teleport to another player, where [playername] is their exact name.
- **Required Privilege:** interact
- **Example Usage:** */tpr RobbieF* - requests permission from RobbieF to teleport to them.
- **Notes:** Usernames are case-sensitive.
``` /tphr [playername] ```
+- **Name:** Teleport Here Request
- **Description:** Request permission to teleport another player to you.
- **Required Privilege:** interact
- **Example Usage:** /tphr RobbieF - requests RobbieF to teleport to you.
- **Notes:** Usernames are case-sensitive.
``` /tpc [x,y,z] ```
+- **Name:** Teleport to Coordinates
- **Description:** Teleport to coordinates.
- **Required Privilege:** interact, tp_tpc
- **Notes:** Honors area protection: if the area is protected, it must be owned by you in order to teleport to it.
``` /tpj [axis] [distance] ```
-- **Description:** Teleport a specified distance along a single specified axis. Useful for fast evading.
+- **Name:** Teleport Jump
+- **Description:** Teleport a specified distance along a single specified axis.
- **Required Privilege:** interact
- **Available Options for *axis*:** x, y, z
- **Example Usage:** '/tpj y 10' - teleport 10 nodes into the air.
+``` /tpe ```
+- **Name:** Teleport Evade
+- **Description:** In a sticky situation? Evade your enemy by teleporting to several nearby coordinates in random pattern. There's no knowing where you'll end up.
+- **Required Privilege:** interact
+- **Example Usage:** '/tpe' - teleports you to a random number of random coordinates in an evasive pattern.
+
``` /tpy ```
- **Description:** Accept a user's request to teleport to you or teleport you to them.
diff --git a/teleport_request/init.lua b/teleport_request/init.lua
index 721939d..a586769 100644
--- a/teleport_request/init.lua
+++ b/teleport_request/init.lua
@@ -316,11 +316,13 @@ minetest.register_chatcommand("tpe", {
minetest.register_chatcommand("tpy", {
description = "Accept teleport requests from another player",
+ privs = {interact=true},
func = tpr_accept
})
minetest.register_chatcommand("tpn", {
description = "Deny teleport requests from another player",
+ privs = {interact=true},
func = tpr_deny
})