Open LadyCailinBot opened 10 years ago
Comment by Tofwap
Sounds like a good idea - would definitely improve the plugin options.
If this gets set to invalid I would suggest a world border using the worldborder plugin. You can use a command block to give them the bypass permission and then have another one move them out of the region.
Comment by TGS
Yea might be possible, but I would love to see this added
Comment by wizjany
you can turn off use-player-teleports in config
Comment by TGS
That's correct, but I do have some regions which I don't want them to be able to teleport out of
Comment by sk89q
Do people still want this?
Comment by TGS
Yes.
Comment by Tofwap
I am still interested in this as well.
Comment by wizjany
Has been added as exit-via-teleport. https://github.com/sk89q/WorldGuard/commit/e1843624bbc1b58237e5c9664645c5ed2005e041
edit: well, half of it anyway...is an entry one also needed
Comment by TGS
Okay, awesome does this mean that if you only set this flag they can only leave the region by teleporting?
Comment by TGS
Okay, I did some tests, deop-ed myself and removed myself from all permission groups, I could /warp just fine inside this region:
Comment by wizjany
k guess we'll have to look into this still
WORLDGUARD-3078 - Reported by TGS
Sometimes you want a place where people can't exit from (could be a Hunger Games arena etc) but you want them to be able to leave using other plugins (/warp, /spawn, /hg leave, /leave etc.) by teleporting. Therefore it would be useful to have a exit + entry flag that ignores if plugins teleport people out and only prevent it if they walk out.