WorldGuard

WorldGuard

8M Downloads

Add a entry/exit flag that ignores teleporting

LadyCailinBot opened this issue ยท 11 comments

commented

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.

commented

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.

commented

Comment by TGS

Yea might be possible, but I would love to see this added

commented

Comment by wizjany

you can turn off use-player-teleports in config

commented

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

commented

Comment by sk89q

Do people still want this?

commented

Comment by TGS

Yes.

commented

Comment by Tofwap

I am still interested in this as well.

commented

Comment by wizjany

Has been added as exit-via-teleport. e184362

edit: well, half of it anyway...is an entry one also needed

commented

Comment by TGS

Okay, awesome does this mean that if you only set this flag they can only leave the region by teleporting?

commented

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:

commented

Comment by wizjany

k guess we'll have to look into this still