Go to file
bmgjet d51cb55f7c
logo
2023-02-19 17:14:16 +13:00
README.md Update README.md 2021-12-28 01:31:28 +13:00
TeleportDoorScreenShot.jpg screenshotr 2021-12-26 20:08:12 +13:00
TeleportDoors.cs For Feb 23 Update 2023-01-28 16:53:45 +13:00
teleportdoors.png logo 2023-02-19 17:14:16 +13:00

README.md

Custom Prefab a door/button in rust edit that will teleport players

Required Permission: TeleportDoors.use   (Door wont work for users without this perm)

How To Use:

Place a door or button down in rustedit.
Create a custom prefab of it on its own
Give it the name in this layout TELEPORT=X,Y,Z=LoadingMessage=SfxID=ConsoleCMD

For Example give a door the prefab name TELEPORT=100,50.55,-100
Players will be teleported to that location when they try open the door and have the required permission.
This is the minimum settings needed to use this plugin. The Rest are optional.

You can set a LoadingMessage that will be shown as players are teleported
Such as if you wanted it to say Loading Dark Tower
You would use the prefab name TELEPORT=100,50.55,-100=Loading Dark Tower


Make sure to tick Convert Selection To Group

Further advanced settings can be provided.
Such as if you wanted it to play the team invite soundfx on teleport.
assets/bundled/prefabs/fx/invite_notice.prefab
Set it as the SfxID setting.
TELEPORT=100,50.55,-100=Loading Dark Tower=2453653601
You can get the SfxID from the stringpool.txt file found where rustedit is installed.

Lastly if you wanted a command to be ran on the player when they arriave at there teleport location you can setup the ConsoleCMD setting.
For example you wanted to give a player a torch since you teleported them in somewhere dark.
TELEPORT=100,50.55,-100=Loading Dark Tower=inventory.giveto $player torch 1

$player its replaced with there game name,
$steamid is replaced with there steam id.