From a158fe5cff7d6fda1a8da44a79a109251771037e Mon Sep 17 00:00:00 2001 From: tastybento Date: Fri, 31 Aug 2018 05:37:22 +0900 Subject: [PATCH 1/4] Removed debug --- .../java/bentobox/addon/acidisland/listeners/AcidEffect.java | 3 --- 1 file changed, 3 deletions(-) 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; From bd72ef4282657b1f97bbf839bd0d3d9bba4056e6 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 1 Sep 2018 11:56:03 -0700 Subject: [PATCH 2/4] Added team coop and trust perms --- .../bentobox/addon/acidisland/commands/AiCommand.java | 8 ++++++++ src/main/resources/addon.yml | 6 ++++++ 2 files changed, 14 insertions(+) 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/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 From fbf10d44586d04f7dc069899a4b50677e6fa6249 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 1 Sep 2018 19:22:04 -0700 Subject: [PATCH 3/4] Version up --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From 635a347adef3aabee7124c632480365dd504afe3 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 1 Sep 2018 19:25:14 -0700 Subject: [PATCH 4/4] Added readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 README.md 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