[Mod] Teleport Request [git rolling release][tpr]
[Mod] Teleport Request [git rolling release][tpr]
This mod is a response to the need I have seen on several Minetest servers.
It clones the popular tpa feature in the MineCraft Bukkit mod, Essentials.
Usage:
Type /tpr [playername] to request permission to teleport to a player.
The other player may now type /tpy to allow you to teleport to them, or /tpn to deny.
Type /tphr [playername] to request permission to teleport another player to you.
The other player may now type /tpy to allow you to teleport them to you, or /tpn to deny.
Download:
From CWz's repository: https://github.com/ChaosWormz/teleport- ... master.zip
...or browse the code: https://github.com/ChaosWormz/teleport-request
Install: after downloading and/or extracting, rename the top-level directory to "tpr". Then either place it in your worldmods directory, or put it in your global mods directory and enable it like usual.
Dependencies: None required, but optionally areas, intllib, beerchat, chat2, gamehub are supported.
Changelog:
Versions beyond 1.0:
Just bugfixes and internal code improvements.
1.0:
Pretty sure this is bug free.
Added /tphr (only visible difference)
Cleaned up code again, variables are still confusing, but it works fine.
Last release unless bugs are found, or good suggestions are added.
0.2:
Fixed major bug
Changed accept command to /tpy
Added deny command /tpn
Added configurable timeout, default 30 seconds.
0.1a:
Base release.
License:
WTFPL
Upcoming:
Change accept/deny commands to /tpy and /tpn. Thanks jojoa -DONE
Fix assumed bug. - DONE
System to /tphr - DONE
Configurable teleport canceling after time - DONE
Credits:
PlitzAdam: for helping me with file.io and showing me an excellent lua tutorial
celeron55: I copied the find_free_place_near function until I write my own :3
jojoa1997: For making my code a bit more logical and helping me get past a syntax error.
It clones the popular tpa feature in the MineCraft Bukkit mod, Essentials.
Usage:
Type /tpr [playername] to request permission to teleport to a player.
The other player may now type /tpy to allow you to teleport to them, or /tpn to deny.
Type /tphr [playername] to request permission to teleport another player to you.
The other player may now type /tpy to allow you to teleport them to you, or /tpn to deny.
Download:
From CWz's repository: https://github.com/ChaosWormz/teleport- ... master.zip
...or browse the code: https://github.com/ChaosWormz/teleport-request
Install: after downloading and/or extracting, rename the top-level directory to "tpr". Then either place it in your worldmods directory, or put it in your global mods directory and enable it like usual.
Dependencies: None required, but optionally areas, intllib, beerchat, chat2, gamehub are supported.
Changelog:
Versions beyond 1.0:
Just bugfixes and internal code improvements.
1.0:
Pretty sure this is bug free.
Added /tphr (only visible difference)
Cleaned up code again, variables are still confusing, but it works fine.
Last release unless bugs are found, or good suggestions are added.
0.2:
Fixed major bug
Changed accept command to /tpy
Added deny command /tpn
Added configurable timeout, default 30 seconds.
0.1a:
Base release.
License:
WTFPL
Upcoming:
Change accept/deny commands to /tpy and /tpn. Thanks jojoa -DONE
Fix assumed bug. - DONE
System to /tphr - DONE
Configurable teleport canceling after time - DONE
Credits:
PlitzAdam: for helping me with file.io and showing me an excellent lua tutorial
celeron55: I copied the find_free_place_near function until I write my own :3
jojoa1997: For making my code a bit more logical and helping me get past a syntax error.
Last edited by Traxie21 on Tue Jan 22, 2013 17:20, edited 1 time in total.
My Essential Server Modpack: ServerExtended
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
- InfinityProject
- Member
- Posts: 1009
- Joined: Sat Mar 17, 2012 00:52
- Location: World of Infinity, US
Good idea jojoa! I just used the same command Essentials used.
However, I think I'll stick with /tpr as the request command to ensure better compatibility.
Ty Infinity
ALSO: I was brainstorming earlier, and it occoured to me that there is probably a bug in this version. If more than one person have pending teleportation requests to the same person, either the server will crash, or both players will be teleported.
I will fix this as soon as I get home, which may be as late as next Monday.
Adding Credits to main post as well.
Posted from my Kindle Keyboard.
However, I think I'll stick with /tpr as the request command to ensure better compatibility.
Ty Infinity
ALSO: I was brainstorming earlier, and it occoured to me that there is probably a bug in this version. If more than one person have pending teleportation requests to the same person, either the server will crash, or both players will be teleported.
I will fix this as soon as I get home, which may be as late as next Monday.
Adding Credits to main post as well.
Posted from my Kindle Keyboard.
Last edited by Traxie21 on Wed Jan 16, 2013 07:36, edited 1 time in total.
My Essential Server Modpack: ServerExtended
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Well /tpr is good. It thought it was /tprequest. I think that there should be one for admins /tpr all and everyone getrs a request.Traxie21 wrote:Good idea jojoa! I just used the same command Essentials used.
However, I think I'll stick with /tpr as the request command to ensure better compatibility.
Ty Infinity
ALSO: I was brainstorming earlier, and it occoured to me that there is probably a bug in this version. If more than one person have pending teleportation requests to the same person, either the server will crash, or both players will be teleported.
I will fix this as soon as I get home, which may be as late as next Monday.
Adding Credits to main post as well.
Posted from my Kindle Keyboard.
Coding;
1X coding
3X debugging
12X tweaking to be just right
1X coding
3X debugging
12X tweaking to be just right
Erm... what happens if they all accept?
Admin bouncing XD
However, I will probably add a bypass perm so that admins, typing /tpr will be able to teleport without needing to be accepted.
Would that work for you?
Admin bouncing XD
However, I will probably add a bypass perm so that admins, typing /tpr will be able to teleport without needing to be accepted.
Would that work for you?
My Essential Server Modpack: ServerExtended
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
New release: 0.2
Changelog:
0.2:
Fixed major bug
Changed accept command to /tpy
Added deny command /tpn
Added configurable timeout, default 30 seconds.
And jojo, I see what you mean, will add a /tphere
Changelog:
0.2:
Fixed major bug
Changed accept command to /tpy
Added deny command /tpn
Added configurable timeout, default 30 seconds.
And jojo, I see what you mean, will add a /tphere
My Essential Server Modpack: ServerExtended
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Thats what I meant. However, Its going to be a little tricky to teleport everyone to the admin, but I think I can manage.
This is my first mod after all.
This is my first mod after all.
My Essential Server Modpack: ServerExtended
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
- Likwid H-Craft
- Member
- Posts: 1113
- Joined: Sun Jan 06, 2013 14:20
- Location: Lost in Crypt
Hey why not /goto since that a main teleport, code inport.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
http://likwidtest.hj.cx/ (Not Done)
What? Could you explain that more clearly please?
My Essential Server Modpack: ServerExtended
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
New release: 1.0 (hopefully final)
Changelog:
1.0:
Pretty sure this is bug free.
Added /tphr (only visible difference)
Cleaned up code again, variables are still confusing, but it works fine.
Last release unless bugs are found, or good suggestions are added.
Changelog:
1.0:
Pretty sure this is bug free.
Added /tphr (only visible difference)
Cleaned up code again, variables are still confusing, but it works fine.
Last release unless bugs are found, or good suggestions are added.
My Essential Server Modpack: ServerExtended
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Maintainer of the Minitest Game
[0.4.6-git] SunriseTest Minecraft-Like Hardcore Server
My Kindle broke... Online time will drop significantly.
Re: [Mod] Teleport Request [git rolling release][tpr]
Major rewrite (see original post for new download links)
Potential issues: This version requires no special privs apart from interact. The new priv "tpr_admin" is now only registered if regnewpriv is set to true. Currently the new privilege does nothing and may be deprecated unless somebody would like the feature.
Potential issues: This version requires no special privs apart from interact. The new priv "tpr_admin" is now only registered if regnewpriv is set to true. Currently the new privilege does nothing and may be deprecated unless somebody would like the feature.
- Panquesito7
- Member
- Posts: 27
- Joined: Tue Jun 09, 2020 05:37
- GitHub: Panquesito7
- IRC: Panquesito7
- In-game: Panquesito7
- Contact:
Re: [Mod] Teleport Request [git rolling release][tpr]
Since I got access to this project, I have been fixing bugs and adding new features.
Check it out now, it has new features such as area requests, spam prevention, and more!
There's no detailed changelog yet (I still plan to write it), but you can see all the commits that I made here. You can also check all the pull requests and issues that I made here.
Special thanks to ChaosWormz for the extra testing and ideas. 🙂
Check it out now, it has new features such as area requests, spam prevention, and more!
There's no detailed changelog yet (I still plan to write it), but you can see all the commits that I made here. You can also check all the pull requests and issues that I made here.
Special thanks to ChaosWormz for the extra testing and ideas. 🙂
Who is online
Users browsing this forum: No registered users and 36 guests