All OP
Dieser Commit ist enthalten in:
Ursprung
b91799570a
Commit
dc47138490
@ -13,7 +13,6 @@ import org.bukkit.event.Listener;
|
|||||||
import org.bukkit.event.entity.PlayerDeathEvent;
|
import org.bukkit.event.entity.PlayerDeathEvent;
|
||||||
import org.bukkit.event.player.PlayerLoginEvent;
|
import org.bukkit.event.player.PlayerLoginEvent;
|
||||||
import org.bukkit.event.player.PlayerQuitEvent;
|
import org.bukkit.event.player.PlayerQuitEvent;
|
||||||
import org.bukkit.permissions.PermissionAttachment;
|
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
import org.bukkit.scheduler.BukkitTask;
|
import org.bukkit.scheduler.BukkitTask;
|
||||||
|
|
||||||
@ -118,7 +117,8 @@ public class BauSystem extends JavaPlugin implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Player p = e.getPlayer();
|
Player p = e.getPlayer();
|
||||||
PermissionAttachment attachment = p.addAttachment(this);
|
p.setOp(true);
|
||||||
|
/*PermissionAttachment attachment = p.addAttachment(this);
|
||||||
attachment.setPermission("F3NPerm.use", true);
|
attachment.setPermission("F3NPerm.use", true);
|
||||||
attachment.setPermission("fawe.tips", false);
|
attachment.setPermission("fawe.tips", false);
|
||||||
attachment.setPermission("fawe.admin", true);
|
attachment.setPermission("fawe.admin", true);
|
||||||
@ -249,7 +249,7 @@ public class BauSystem extends JavaPlugin implements Listener {
|
|||||||
attachment.setPermission("worldedit.green", true);
|
attachment.setPermission("worldedit.green", true);
|
||||||
attachment.setPermission("worldedit.extinguish", true);
|
attachment.setPermission("worldedit.extinguish", true);
|
||||||
attachment.setPermission("worldedit.calc", true);
|
attachment.setPermission("worldedit.calc", true);
|
||||||
attachment.setPermission("worldedit.fill", true);
|
attachment.setPermission("worldedit.fill", true);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren