/tppos x y z <world> doesn't check for world-teleport-permission
Platinteufel opened this issue ยท 4 comments
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?
Would be awesome if this could be fixed one day. @md678685 :/
@md678685 Yay! It's merged! Close please?
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()));