FunnybunnyofDOOM Posted May 12, 2020 Report Posted May 12, 2020 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 SpawnDiscordGithub jrtp-1.0.3.zip
amoon Posted May 12, 2020 Report Posted May 12, 2020 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?
FunnybunnyofDOOM Posted May 12, 2020 Author Report Posted May 12, 2020 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.
amoon Posted May 13, 2020 Report Posted May 13, 2020 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.
Metusalix Posted June 22, 2020 Report Posted June 22, 2020 Hello Unfortunately, when you teleport, you die. Is there a way to increase the time without damage?
FunnybunnyofDOOM Posted June 22, 2020 Author Report Posted June 22, 2020 Yes, that's an easy fix. I'll look into it. I believe if the world loads too slowly your protection doesn't last long enough. I'll investigate, thanks!
FunnybunnyofDOOM Posted June 23, 2020 Author Report Posted June 23, 2020 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.
Metusalix Posted June 23, 2020 Report Posted June 23, 2020 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
FunnybunnyofDOOM Posted June 23, 2020 Author Report Posted June 23, 2020 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.
Metusalix Posted June 24, 2020 Report Posted June 24, 2020 Thanks for your help. Unfortunately players cannot use rtp. The necessary rights are missing. Only I as admin can use it.
FunnybunnyofDOOM Posted June 28, 2020 Author Report Posted June 28, 2020 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.
DArkHekRoMaNT Posted June 28, 2020 Report Posted June 28, 2020 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?
FunnybunnyofDOOM Posted June 30, 2020 Author Report Posted June 30, 2020 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!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.