Mods / Bunny's JRTP - Just Random Teleport - /rtp command

Category: #QoL #Utility
Author: FunnyBunnyofDOOM
Side: Server
Created: Jun 27th 2021 at 4:11 AM
Last modified: Jul 13th 2022 at 7:50 PM
Downloads: 2012
Follow Unfollow 6

Latest file for v1.16.5:
jrtp_v2.0.5.zip 1-click install


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. 

Commands:

/jrtp - teleports the player to the ground within the configured radius

/jrtp help - displays all /jrtp commands available to the player group

/jrtp version - Displays the version information for JRTP

Admin Commands:

/jrtp cooldown number - Sets the cooldown timer in minutes

 

 

Update 2.0.5

-Reworked cooldown timer - fixed an issue where players could share a cooldown timer

-cooldown timer now configurable with /rtp cooldown number

     This does not have it's own permission code. Only admin can run this command.

-/rtp help and /rtp version added. 

Update 2.0.2

-Added config file for:

     -Radius

     -Cooldown

 

Update 2.0.1

-Fixed broken Cooldown timer

-Changed cooldown timer to seconds (config for this is in the works)

-Chunk loading priority

-Tells you seconds until you can use the command agaiin

 

Update 2.0.0

-The mod now waits for chunks to load before teleporting the player. Player should always be placed directly on a surface.

Pairs well with Bunny's Simple Spawn


Doomland Gaming Vintage Story Discord Server

If you like my mods, please support me and my community through paypal

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v2.0.5 259 Jul 13th 2022 at 7:50 PM Show jrtp_v2.0.5.zip Install now
v2.0.4 203 Jun 23rd 2022 at 12:39 PM Show jrtp_v2.0.4.zip Install now
v2.0.3 206 Jun 20th 2022 at 9:51 PM Show jrtp_v2.0.3.zip Install now
v2.0.2 188 Jun 19th 2022 at 9:41 PM Show jrtp_v2.0.2.zip Install now
v2.0.1 177 Jun 19th 2022 at 6:53 PM Show jrtp_v2.0.1.zip Install now
v2.0.0 183 Jun 17th 2022 at 11:26 PM Show jrtp_v2.0.0.zip Install now
v1.0.5 225 May 23rd 2022 at 6:43 PM Show jrtp_v1.0.5.zip Install now
v1.0.4 222 May 19th 2022 at 2:54 PM Show jrtp-1.0.4.zip Install now
v1.0.3 349 Jun 27th 2021 at 4:15 AM Show jrtp-1.0.3.zip Install now

11 Comments (oldest first | newest first)

💬 BlueSteelAU, Jan 20th at 4:45 PM

I just tried Bunny's mods

Bunny's JRTP - Just Random Teleport - /rtp co...

JLJ - Just Light Jars

Bunny's Simple Spawn /spawn command

on 1.19.1 single player and lo and behold they still work.. even though they haven't been updated in ages and are using some depreciated api calls that are still in the code.

so does 

Xcore Command and Teleporting utilities

I'm also using it for the ability of  /home configurable amount of homes

All up i'm running about 60 mods :)

💬 WickedSchnitzel, Jun 20th 2022 at 10:31 AM

Thank you for this. If i may also request a config entry to change the text getting displayed when using the tp and when trying to use it before the cooldown timer ran out, that would be awesome. Funnybunnyofdoom

💬 FunnyBunnyofDOOMAuthor, Jun 19th 2022 at 9:45 PM

RogueRaiden WickedSchnitzel I've added a config file for Radius and cool down timer. 

💬 FunnyBunnyofDOOMAuthor, Jun 17th 2022 at 10:49 PM

WickedSchnitzel I have updated the mod to check chunkloading and now teleports directly to floor. This should eliminate the mid-mountain issue.

💬 WickedSchnitzel, May 28th 2022 at 5:54 PM

I have added rtp to the permissions, i needed to do it for myself as an admin ("Code": "admin") as well. Without it, i wasn't able to use it, but my players could right from the start (even without me adding rtp to the permissions before).

💬 FunnyBunnyofDOOMAuthor, May 28th 2022 at 3:42 PM

WickedSchnitzel If the world height is 500 it should teleport you to about 1000. If the mountains are going higher than double sea level I may need to add 200 to the Height. I'll give it an increase with the next version, as I'm still unable to load the chunk before teleporting the player. 

Also regarding the permissions, it looks like I already have it assigned to "Suplayer". Normal admin should inherit all of the suplayer permissions. if it doesn't do this automatically, you may need to add "rtp" to the serverconfig file for your player group. To help me troubleshoot, could you please let me know what the exact string for you admin group is (even if it's the built-in one). I can also take a look at the permissions in the file to see if there's anything wrong there. I created a new server and can't recreate this problem so I'd like to understand what's going on and if it's effecting others.


The mod registers "rtp" as a permission as such:

ipm.RegisterPrivilege("rtp", "Random Teleport");
  ipm.AddPrivilegeToGroup("suplayer", BPrivilege.rtp);
💬 WickedSchnitzel, May 25th 2022 at 7:04 PM

Someone was spawning inside a mountain again, so that fix did not really work. But we have a world height of 500+

💬 FunnyBunnyofDOOMAuthor, May 23rd 2022 at 6:48 PM

RogueRaiden No, I will work on adding that with my next release.
Wandour Thank you! I'll continue trying to improve this and eventually make it spawn you directly on the ground. I went for low-hanging fruit just to get something usable on my server.

WickedSchnitzel
I will work on a config file for the next release.
You must add "rtp" to permissions in the server's config file in order to allow "suplayer" privilege to use rtp. I will look into how I can enable this on default for "suplayer" group. 
I just released a new version just now that should solve the spawning in mountain issue. It will now put the player 2 times higher than sea level. This should avoid any mountains. I'll keep looking into ways to place the player directly on the ground. 

💬 WickedSchnitzel, May 23rd 2022 at 4:14 PM

Could you please add a config where we can set the cooldown time or even max uses per player?
And i am getting "You dont have privilege to use this command" on my mp server (i am admin). But it is working in sp.

It is working for my players, but they also do spawn inside mountains and will die, if they cant remove the blocks around them (newbies do not have pickaxes) Funnybunnyofdoom

💬 Wandour, May 21st 2022 at 10:13 AM

Dude you a legend for this

this is so needed for multiplayer servers

💬 RogueRaiden, May 20th 2022 at 9:19 PM

Is the radius configurable?

(edit comment delete)