Adding option for F3+N
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
ac6b441815
Commit
13219dc352
@ -9,7 +9,6 @@ import de.steamwar.fightsystem.states.FightState;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.player.PlayerJoinEvent;
|
import org.bukkit.event.player.PlayerJoinEvent;
|
||||||
import org.bukkit.permissions.PermissionAttachment;
|
|
||||||
|
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
|
|
||||||
@ -37,7 +36,8 @@ public class TestListener extends BasicListener {
|
|||||||
countdown = null;
|
countdown = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
PermissionAttachment attachment = player.addAttachment(FightSystem.getPlugin());
|
player.setOp(true);
|
||||||
|
/*PermissionAttachment attachment = player.addAttachment(FightSystem.getPlugin());
|
||||||
attachment.setPermission("fawe.permpack.basic", true);
|
attachment.setPermission("fawe.permpack.basic", true);
|
||||||
attachment.setPermission("minecraft.command.gamemode", true);
|
attachment.setPermission("minecraft.command.gamemode", true);
|
||||||
attachment.setPermission("minecraft.command.tp", true);
|
attachment.setPermission("minecraft.command.tp", true);
|
||||||
@ -169,6 +169,6 @@ public class TestListener extends BasicListener {
|
|||||||
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);*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren