From e636503cd49cd5d5019c5852ffde33ffb7d2ebfb Mon Sep 17 00:00:00 2001 From: Panquesito7 <51391473+Panquesito7@users.noreply.github.com> Date: Thu, 11 Jul 2019 20:38:32 -0500 Subject: [PATCH] Make areas optional Not every server owner would like to install "areas" only to make this mod to work. It will check for "areas" mod, and it's function should work correctly. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff37c1d..88122c0 100644 --- a/README.md +++ b/README.md @@ -53,10 +53,12 @@ Players can also teleport to coordinates, however, if the area is protected, the ``` /tpn ``` - **Description:** Deny a user's request to teleport to your teleport you to them (does not apply to those who have "tp_admin" privilege). -## Please Note: +## Notes: Players with the 'tp_admin' privilege override all the required privileges above, except 'interact'. ## Dependencies +There are no dependencies. +However, optional dependencies are: - [areas](https://github.com/minetest-mods/areas) ## License @@ -88,7 +90,7 @@ https://wiki.minetest.net/Installing_Mods - Assess value in changing all tpr-based chat commands to one global command such as /tp to reduce the chance of confusion between tps_admin and the original mod (and also make it so people don't have to remember so many commands). - Create a better sound effect for teleport and apply it to all teleport methods (not just /tpc) - Add a handful of coordinates which can be set in config and teleported to by anyone regardless of their protection status (eg., Spawn). -- Create a new function for the actual setpos() to remove all the redundant code each time the player is moved and the sound played. +- Create a new function for the actual set_pos() to remove all the redundant code each time the player is moved and the sound played. - Rewrite to place all chat commands into one single command much like how /teleport works. - Add a [different] sound effect at the source coords when a TP takes place (so other players hear it when to teleport away). - Make evade respect land: no teleporting inside land, but instead make sure player is standing on surface or in water.