I would like a way to make it so that you can't teleport in or out of a walled off area.
Prevent setting TPing in/out of walled off "bunkers"Suggestion
After making this post, I decided to take a peek at the code and see if this is something I could do myself. I quickly came to the conclusion, after trying a number of strategies, that detecting whether or not a person is TPing in or out of a walled off room is nearly impossible. I would love to be proven wrong here.
However, I did come up with an idea that will (and does) work. Basically, i've made it so TP won't work unless the source position and destination position are both outside. I did this by doing a RayCast up, expecting terrain, for which the sky is. I would love to contribute my change (has a configurable property to turn this on and off), but the code on github, at least what I have found is older. Is there a current repo?
However, I did come up with an idea that will (and does) work. Basically, i've made it so TP won't work unless the source position and destination position are both outside. I did this by doing a RayCast up, expecting terrain, for which the sky is. I would love to contribute my change (has a configurable property to turn this on and off), but the code on github, at least what I have found is older. Is there a current repo?
you're welcome to message a patch. Please make a diff from the current version to your version.