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

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

Latest release (for Vintage Story 1.16.5, outdated):
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

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
2.0.5 jrtp 515 Jul 13th 2022 at 7:50 PM jrtp_v2.0.5.zip 1-click install

-Reworked and repaired cooldown timer

-configureable cooldown timer with /rtp cooldown

added /rtp help and /rtp version commands

2.0.4 jrtp 340 Jun 23rd 2022 at 12:39 PM jrtp_v2.0.4.zip 1-click install

-Added Handbook entry for /rtp

2.0.3 jrtp 328 Jun 20th 2022 at 9:51 PM jrtp_v2.0.3.zip 1-click install

-fixed player sometimes teleporting onto non-branchy leaves and falling.

2.0.2 jrtp 323 Jun 19th 2022 at 9:41 PM jrtp_v2.0.2.zip 1-click install

Added config file for:

-radius

-cooldown

2.0.1 jrtp 327 Jun 19th 2022 at 6:53 PM jrtp_v2.0.1.zip 1-click install

-Cooldown was broken with update to 2.0.0 fixed for current 2.0.1 update

-Chunk priority added to load the player faster

-Added how long until you can RTP again when you type /rtp

-changed cooldown to seconds: configurations are in the works

2.0.0 jrtp 315 Jun 17th 2022 at 11:26 PM jrtp_v2.0.0.zip 1-click install

Updated mod to wait for chunk loading. It now teleports you directly to the ground. 

1.0.5 jrtp 354 May 23rd 2022 at 6:43 PM jrtp_v1.0.5.zip 1-click install

Changelog:

-For high worlds (up to 1500) the mod will now teleport you to 2 x your sea level. This should be the max height of the world, minimizing the chance of players spawning into mountains. 

I'm still working on alternatives to get rid of the "drop spawning" but currently that is the easiest method as it doesn't wait for the chunk to load before teleporting the player. 

I'll also be working on a config for cooldown and radius. 

Thanks for the support!

1.0.4 jrtp 362 May 19th 2022 at 2:54 PM jrtp-1.0.4.zip 1-click install

Updated JRTP to work as expected on latest versions of Vintage Story. /rtp will teleport you to a random location. You will be teleported to 200 height and fall (without fall damage).

Rare occurance of dying during RTP should be fixed. 

1.0.3 jrtp 486 Jun 27th 2021 at 4:15 AM Empty jrtp-1.0.3.zip 1-click install

12 Comments (oldest first | newest first)

💬 lainbug, Feb 12th at 10:44 AM

tested in singleplayer in 1.20.3 & still works. 

💬 BlueSteelAU, Jan 20th 2024 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

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

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

💬 FunnyBunnyofDOOM , 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).

💬 FunnyBunnyofDOOM , 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+

💬 FunnyBunnyofDOOM , 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)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом