mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2024-08-19 21:04:06 +02:00
Update README.md
This commit is contained in:
parent
ff7d99bc3f
commit
ea249d6c80
65
README.md
65
README.md
@ -1,75 +1,94 @@
|
|||||||
##*tps_teleport* is a mod for Minetest game servers.
|
# Teleport Request
|
||||||
|
|
||||||
## Description:
|
## Description:
|
||||||
[The Pixel Shadow](https://minetest.tv/) Minetest game servers have switched from "teleport" to "teleport request" via the *tps_teleport* mod. This mod makes it so players must send a request to another player in order to teleport to them. Before they will be allowed to do so, the player must accept the request. This prevents malicious users from teleporting to players' private areas without their permission. It also enhances the overall privacy of our services since if denied teleport, a player must instead travel to the area and "use the front door" so to speak... which might be a locked iron door.
|
[The Pixel Shadow](https://minetest.tv/) Minetest game servers have switched from "teleport" to "teleport request" via the *teleport-request* mod. This mod makes it so players must send a request to another player in order to teleport to them. Before they will be allowed to do so, the player must accept the request. This prevents malicious users from teleporting to players' private areas without their permission. It also enhances the overall privacy of our services since if denied teleport, a player must instead travel to the area and "use the front door" so to speak... which might be a locked iron door.
|
||||||
|
|
||||||
## Privileges:
|
## Privileges:
|
||||||
- **interact** Permits use of /tpr and /tphr
|
Each command needs a privilege. These are the following privileges:
|
||||||
- **tp_tpc** Permits use of /tpc
|
- **tp** is requiered in order to use all commands.
|
||||||
- **tp_admin** Admin priv allows admin to teleport anywhere without permission
|
- **tp_tpc** is requiered in order to use "/tpc"
|
||||||
|
- **tp_tpc** is requiered in order to use "/tpe"
|
||||||
Players may also teleport to coordinates, however if the area is protected, the teleport will be denied.
|
- **tp_tpc** is requiered in order to use "/tpj"
|
||||||
|
- **interact** is also requiered to use all commands.
|
||||||
|
"tp_admin" overrides everything: e.g. you can teleport to players even when they haven't decided if to accept, or not.
|
||||||
|
Players can also teleport to coordinates, however, if the area is protected, the teleport will be denied.
|
||||||
|
|
||||||
## Usage:
|
## Usage:
|
||||||
|
|
||||||
``` /tpr [playername] ```
|
``` /tpr [playername] ```
|
||||||
- **Name:** Teleport Request
|
- **Name:** Teleport Request
|
||||||
- **Description:** Requests permission to teleport to another player, where [playername] is their exact name.
|
- **Description:** Requests permission to teleport to another player, where [playername] is their exact name.
|
||||||
- **Required Privilege:** interact
|
- **Required Privileges:** "interact", "tp"
|
||||||
- **Example Usage:** */tpr RobbieF* - requests permission from RobbieF to teleport to them.
|
- **Example Usage:** */tpr RobbieF* - requests permission from RobbieF to teleport to them.
|
||||||
- **Notes:** Usernames are case-sensitive.
|
- **Notes:** Usernames are case-sensitive. If you have "tp_admin", you will inmediatilly teleport to the specificed player.
|
||||||
|
|
||||||
``` /tphr [playername] ```
|
``` /tphr [playername] ```
|
||||||
- **Name:** Teleport Here Request
|
- **Name:** Teleport Here Request
|
||||||
- **Description:** Request permission to teleport another player to you.
|
- **Description:** Request permission to teleport another player to you.
|
||||||
- **Required Privilege:** interact
|
- **Required Privileges:** "interact", "tp"
|
||||||
- **Example Usage:** /tphr RobbieF - requests RobbieF to teleport to you.
|
- **Example Usage:** /tphr RobbieF - requests RobbieF to teleport to you.
|
||||||
- **Notes:** Usernames are case-sensitive.
|
- **Notes:** Usernames are case-sensitive.
|
||||||
|
|
||||||
``` /tpc [x,y,z] ```
|
``` /tpc [x,y,z] ```
|
||||||
- **Name:** Teleport to Coordinates
|
- **Name:** Teleport to Coordinates
|
||||||
- **Description:** Teleport to coordinates.
|
- **Description:** Teleport to coordinates.
|
||||||
- **Required Privilege:** interact, tp_tpc
|
- **Required Privileges:** "interact", "tp_tpc", "tp"
|
||||||
- **Notes:** Honors area protection: if the area is protected, it must be owned by you in order to teleport to it.
|
- **Notes:** Honors area protection: if the area is protected, it must be owned by you in order to teleport to it (or you must have "areas" privilege in order to teleport to those coordinates).
|
||||||
|
|
||||||
``` /tpj [axis] [distance] ```
|
``` /tpj [axis] [distance] ```
|
||||||
- **Name:** Teleport Jump
|
- **Name:** Teleport Jump
|
||||||
- **Description:** Teleport a specified distance along a single specified axis.
|
- **Description:** Teleport a specified distance along a single specified axis.
|
||||||
- **Required Privilege:** interact
|
- **Required Privilege:** "interact", "tp", "tp_tpc"
|
||||||
- **Available Options for *axis*:** x, y, z
|
- **Available Options for *axis*:** x, y, z
|
||||||
- **Example Usage:** '/tpj y 10' - teleport 10 nodes into the air.
|
- **Example Usage:** '/tpj y 10' - teleport 10 nodes into the air.
|
||||||
|
|
||||||
``` /tpe ```
|
``` /tpe ```
|
||||||
- **Name:** Teleport Evade
|
- **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.
|
- **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
|
- **Required Privileges:** "interact", "tp_tpc", "tp"
|
||||||
- **Example Usage:** '/tpe' - teleports you to a random number of random coordinates in an evasive pattern.
|
- **Example Usage:** '/tpe' - teleports you to a random number of random coordinates in an evasive pattern.
|
||||||
|
|
||||||
``` /tpy ```
|
``` /tpy ```
|
||||||
- **Description:** Accept a user's request to teleport to you or teleport you to them.
|
- **Description:** Accept a user's request to teleport to you or teleport you to them (does not apply to those who have "tp_admin" privilege).
|
||||||
|
|
||||||
``` /tpn ```
|
``` /tpn ```
|
||||||
- **Description:** Deny a user's request to teleport to youor teleport you to them.
|
- **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:
|
## Please Note:
|
||||||
Players with the 'tp_admin' privilege override all the required privileges above, except 'interact'.
|
Players with the 'tp_admin' privilege override all the required privileges above, except 'interact'.
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
- [areas](https://github.com/minetest-mods/areas)
|
||||||
|
|
||||||
|
## License
|
||||||
|
See license [here](https://github.com/ChaosWormz/teleport-request/blob/master/LICENSE.md).
|
||||||
|
|
||||||
## Contributors:
|
## Contributors:
|
||||||
- [RobbieF](https://minetest.tv) | [GitHub](https://github.com/Cat5TV)
|
- [RobbieF](https://minetest.tv) | [GitHub](https://github.com/Cat5TV)
|
||||||
- [DonBatman](https://github.com/donbatman)
|
- [DonBatman](https://github.com/donbatman)
|
||||||
- [NathanS21](http://nathansalapat.com/)
|
- [NathanS21](http://nathansalapat.com/)
|
||||||
- [ChaosWormz](https://github.com/ChaosWormz)
|
- [ChaosWormz](https://github.com/ChaosWormz)
|
||||||
- [Traxie21](https://github.com/Traxie21) The original creater of this mod
|
- Traxie21, the original creator of this mod (however, he/she does not have a GitHub account anymore).
|
||||||
- All those who contributed to the original mod (please see init.lua)
|
- All those who contributed to the original mod (please see init.lua).
|
||||||
|
|
||||||
##To Do:
|
## Installation
|
||||||
|
- Unzip the archive, rename the folder to "tpr" (**without the quotes**) and
|
||||||
|
place it in ..minetest/mods/
|
||||||
|
|
||||||
|
- GNU/Linux: If you use a system-wide installation place
|
||||||
|
it in ~/.minetest/mods/.
|
||||||
|
|
||||||
|
- If you only want this to be used in a single world, place
|
||||||
|
the folder in ..worldmods/ in your world directory.
|
||||||
|
|
||||||
|
For further information or help, see:
|
||||||
|
https://wiki.minetest.net/Installing_Mods
|
||||||
|
|
||||||
|
## TODO:
|
||||||
- Make it so if a player attempts to teleport to coordinates within a protected area owned by another player, and that player is online, the owner receives a request to allow or deny the user from teleporting to their area.
|
- Make it so if a player attempts to teleport to coordinates within a protected area owned by another player, and that player is online, the owner receives a request to allow or deny the user from teleporting to their area.
|
||||||
- Add limitations to /tpc which only allow a user to teleport X number of blocks. Prevents users from teleporting to the edge of the world.
|
|
||||||
- Make it so tp_admin priv also overrides need for player to accept /tpr or /tphr
|
|
||||||
- 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).
|
- 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)
|
- 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).
|
- Add a handful of coordinates which can be set in config and teleported to by anyone regardless of their protection status (eg., Spawn).
|
||||||
- Add a privilege which is required in order to use all commands. I haven't added such a thing since it hasn't been needed on our servers, but I imagine it would be useful on other servers who desire to grant these features only to specific players.
|
|
||||||
- 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 setpos() 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.
|
- 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).
|
- Add a [different] sound effect at the source coords when a TP takes place (so other players hear it when to teleport away).
|
||||||
|
Loading…
Reference in New Issue
Block a user