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