Jump to content
FunnybunnyofDOOM

[1.12.14] Bunny's JRTP(Just Random Teleport) [server-side-only]

Recommended Posts

This is a simple mod that adds the random teleport feature. This is server side only, but can be used for single player worlds.  

How to install:
drop the JRTP.zip file into the server's mod folder.

How to use:
use the command /rtp to be randomly teleported within 100k radius of the spawn.

Update 1.0.3:

-Mod checks for water/ground when falling

Pairs well with Bunny's Simple Spawn
Discord
Github

 

 

jrtp-1.0.3.zip

Edited by FunnybunnyofDOOM
Updated Mod

Share this post


Link to post
Share on other sites

Hmm, interesting. I had recently suggested integrating a random teleport feature into the waypoint gui that could cost one temporal gear.

Did you implement a check to teleport above ground or is there a possibility that teleporting results in being trapped in stone?

  • Like 1

Share this post


Link to post
Share on other sites

I teleport the player to the top of the world and turn off fall damage for a few moments. This is server side only, but I have plans to make a client-server side mod.

Edited by FunnybunnyofDOOM

Share this post


Link to post
Share on other sites

Yeah, imaginative way to deal with not knowing what level the surface is. So, just falling while immune to damage. Considered a parachute? Camera still active? Could be a nice way to get the lay of the land before touchdown.😜

Share this post


Link to post
Share on other sites
On 6/22/2020 at 3:34 AM, Metusalix said:

Hello

Unfortunately, when you teleport, you die. Is there a way to increase the time without damage?

I cannot replicate that issue on my server. Can I get some more information from you? Are you using single player or multiplayer? I suspect that since this is attached to time and not ticks that a slow loading time might make the fall protections wear off before you're loaded in. 

Another point that might cause an issue. What is the height your world is set at? Very high worlds may cause you to phase into the mountains, and I'll be working on solving that as well.

For now I'll add 2 seconds to the fall damage timer and hopefully that helps.

Edited by FunnybunnyofDOOM

Share this post


Link to post
Share on other sites

it's on a multiplayer server. So far, 4 players have told me that they die when they use the teleport.
The height is 256 blocks.

Will test it and report if it gets better.
Thank you very much

  • Like 1

Share this post


Link to post
Share on other sites

I currently have the height at 200 I believe. I will have to fix that for you. I would like to make it configurable in the future. Let me know also if they are dying from fall, or suffocation in wall. Thank you so much! I'll try to fix it as quickly as possible.

 

Share this post


Link to post
Share on other sites

 Sorry, It seems I was in the middle of adding permissions. While you wait for me to fix this, here is a solution: Open up the servercofig.json file in the mod folder and manually add the permission "rtp" to the playergoup you want. I have not gotten the add permission node to work in game yet.

image.png

Edited by FunnybunnyofDOOM

Share this post


Link to post
Share on other sites
On 6/23/2020 at 3:39 PM, FunnybunnyofDOOM said:

I cannot replicate that issue on my server. Can I get some more information from you? Are you using single player or multiplayer? I suspect that since this is attached to time and not ticks that a slow loading time might make the fall protections wear off before you're loaded in. 

Another point that might cause an issue. What is the height your world is set at? Very high worlds may cause you to phase into the mountains, and I'll be working on solving that as well.

For now I'll add 2 seconds to the fall damage timer and hopefully that helps.

Maybe reset it when player's field OnGround or FeetInLiquid is true?

Edited by DArkHekRoMaNT
  • Like 1

Share this post


Link to post
Share on other sites

I used your idea Darkhekromant, and it seems to work. I had one test where I died, and I'm not sure why so monitor that.

Should be fixed Metusalix. Let me know how it works, and thanks so much for the feedback!

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.