EssentialsX

EssentialsX

2M Downloads

/tppos x y z <world> doesn't check for world-teleport-permission

Platinteufel opened this issue ยท 4 comments

commented

Latest EssX, latest Paper 1.12
There are some worlds for that my players don't have the permission to teleport into with /tp, /tpa, .., for example my adventure world.
Now i figured out that a player was able to avoid this restriction by typing /tppos 100 100 100 adventure, so maybe it's possible that /tppos doesn't check for per-world-teleportation permissions?

commented

Would be awesome if this could be fixed one day. @md678685 :/

commented

@md678685 Yay! It's merged! Close please?

commented

This world-teleporting feature was added in 3283b8c
Seems like a check like this (from /tp command) is missing here.

if (user.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions() && !user.isAuthorized("essentials.worlds." + player.getWorld().getName())) {
throw new Exception(tl("noPerm", "essentials.worlds." + player.getWorld().getName()));
commented

Any news here? :/