diff --git a/README.md b/README.md new file mode 100644 index 0000000..8d93de6 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# addon-acidisland +AcidIsland add-on for BentoBox + +## Installing + +1. Place this jar into the addon folder of the BentoBox plugin. +2. Reload/restart the server +3. Adjust the config.yml how you like diff --git a/pom.xml b/pom.xml index 1745e27..a459568 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ us.tastybento AcidIsland - 0.1.0-SNAPSHOT + 0.2.0-SNAPSHOT AcidIsland AcidIsland is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like ASkyBlock or AcidIsland. diff --git a/src/main/java/bentobox/addon/acidisland/commands/AiCommand.java b/src/main/java/bentobox/addon/acidisland/commands/AiCommand.java index 9dba2ba..ff46b91 100755 --- a/src/main/java/bentobox/addon/acidisland/commands/AiCommand.java +++ b/src/main/java/bentobox/addon/acidisland/commands/AiCommand.java @@ -18,6 +18,10 @@ import world.bentobox.bentobox.api.commands.island.IslandSetnameCommand; import world.bentobox.bentobox.api.commands.island.IslandSettingsCommand; import world.bentobox.bentobox.api.commands.island.IslandUnbanCommand; import world.bentobox.bentobox.api.commands.island.team.IslandTeamCommand; +import world.bentobox.bentobox.api.commands.island.team.IslandTeamCoopCommand; +import world.bentobox.bentobox.api.commands.island.team.IslandTeamTrustCommand; +import world.bentobox.bentobox.api.commands.island.team.IslandTeamUncoopCommand; +import world.bentobox.bentobox.api.commands.island.team.IslandTeamUntrustCommand; import world.bentobox.bentobox.api.user.User; public class AiCommand extends CompositeCommand { @@ -53,6 +57,10 @@ public class AiCommand extends CompositeCommand { new IslandBanlistCommand(this); // Team commands new IslandTeamCommand(this); + new IslandTeamTrustCommand(this); + new IslandTeamUntrustCommand(this); + new IslandTeamCoopCommand(this); + new IslandTeamUncoopCommand(this); } /* (non-Javadoc) diff --git a/src/main/java/bentobox/addon/acidisland/listeners/AcidEffect.java b/src/main/java/bentobox/addon/acidisland/listeners/AcidEffect.java index a980e2e..85303ff 100644 --- a/src/main/java/bentobox/addon/acidisland/listeners/AcidEffect.java +++ b/src/main/java/bentobox/addon/acidisland/listeners/AcidEffect.java @@ -132,7 +132,6 @@ public class AcidEffect implements Listener { } // If they are already burning in acid then return if (burningPlayers.contains(player)) { - // plugin.getLogger().info("DEBUG: no acid water is false"); return; } if (isSafeFromAcid(player)) { @@ -233,8 +232,6 @@ public class AcidEffect implements Listener { // Check if player has an active water potion or not Collection activePotions = player.getActivePotionEffects(); for (PotionEffect s : activePotions) { - // plugin.getLogger().info("Potion is : " + - // s.getType().toString()); if (s.getType().equals(PotionEffectType.WATER_BREATHING)) { // Safe! return true; diff --git a/src/main/resources/addon.yml b/src/main/resources/addon.yml index ef404e2..2b50cb1 100755 --- a/src/main/resources/addon.yml +++ b/src/main/resources/addon.yml @@ -50,6 +50,12 @@ permissions: acidisland.island.team: description: Let a player use team commands default: true + acidisland.island.team.trust: + description: Let a player use team trust commands + default: true + acidisland.island.team.coop: + description: Let a player use team coop commands + default: true acidisland.settings.*: description: Allow access to settings panel items default: true