Translatable #62
@ -1091,4 +1091,5 @@ WARP_MOON_COUNTDOOWN=§7Noch §e§l{0} §7Sekunden!
|
|||||||
# WORLD
|
# WORLD
|
||||||
STOP_HELP = §8/§estop §8- §7Stoppt den Server
|
STOP_HELP = §8/§estop §8- §7Stoppt den Server
|
||||||
STOP_NO_PERMS = §cDu hast keine Rechte den Server zu stoppen
|
STOP_NO_PERMS = §cDu hast keine Rechte den Server zu stoppen
|
||||||
STOP_MESSAGE = §eDer Server wird gestoppt
|
STOP_MESSAGE = §eDer Server wird gestoppt
|
||||||
|
WORLD_EDIT_NO_PERMS = §cDu darfst hier kein WorldEdit benutzen
|
||||||
|
@ -37,9 +37,8 @@ public class WorldEditListener implements Listener {
|
|||||||
if (!isWorldEditCommand(e.getMessage().split(" ")[0])) return;
|
if (!isWorldEditCommand(e.getMessage().split(" ")[0])) return;
|
||||||
|
|
||||||
Player p = e.getPlayer();
|
Player p = e.getPlayer();
|
||||||
|
|
||||||
if (!Permission.hasPermission(p, Permission.WORLDEDIT)) {
|
if (!Permission.hasPermission(p, Permission.WORLDEDIT)) {
|
||||||
p.sendMessage(BauSystem.PREFIX + "§cDu darfst hier kein WorldEdit benutzen");
|
BauSystem.MESSAGE.send("WORLD_EDIT_NO_PERMS", p);
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren