diff --git a/addon.yml b/addon.yml index 1163b85..53f1699 100755 --- a/addon.yml +++ b/addon.yml @@ -62,6 +62,9 @@ permissions: acidisland.mod.tp: description: Allows teleport to an island default: op + acidisland.mod.bypasscooldowns: + description: Allow moderator to bypass cooldowns + default: op acidisland.mod.bypassprotect: description: Allow moderator to bypass island protection default: op diff --git a/config.yml b/config.yml index 41fc8f1..c08e0d9 100644 --- a/config.yml +++ b/config.yml @@ -201,10 +201,6 @@ island: # These set the minimum and maximum size of a name. min-length: 4 max-length: 20 - # How long a player must wait until they can rejoin a team island after being - # kicked in minutes. This slows the effectiveness of players repeating challenges - # by repetitively being invited to a team island. - invite-wait: 60 reset: # How many resets a player is allowed (override with /asadmin clearreset ) # Value of -1 means unlimited, 0 means hardcore - no resets. diff --git a/src/main/java/bentobox/addon/acidisland/AISettings.java b/src/main/java/bentobox/addon/acidisland/AISettings.java index aea5e2c..ee6b014 100644 --- a/src/main/java/bentobox/addon/acidisland/AISettings.java +++ b/src/main/java/bentobox/addon/acidisland/AISettings.java @@ -259,11 +259,6 @@ public class AISettings implements DataObject, WorldSettings { private int nameMinLength = 4; @ConfigEntry(path = "island.name.max-length") private int nameMaxLength = 20; - @ConfigComment("How long a player must wait until they can rejoin a team island after being") - @ConfigComment("kicked in minutes. This slows the effectiveness of players repeating challenges") - @ConfigComment("by repetitively being invited to a team island.") - @ConfigEntry(path = "island.invite-wait") - private int inviteWait = 60; // Reset @ConfigComment("How many resets a player is allowed (override with /asadmin clearreset )") @@ -542,13 +537,6 @@ public class AISettings implements DataObject, WorldSettings { public Map getEntityLimits() { return entityLimits; } - /** - * Number of minutes to wait - * @return the inviteWait - */ - public int getInviteWait() { - return inviteWait; - } /** * @return the islandDistance */ @@ -841,12 +829,6 @@ public class AISettings implements DataObject, WorldSettings { public void setImmediateTeleportOnIsland(boolean immediateTeleportOnIsland) { this.immediateTeleportOnIsland = immediateTeleportOnIsland; } - /** - * @param inviteWait the inviteWait to set - */ - public void setInviteWait(int inviteWait) { - this.inviteWait = inviteWait; - } /** * @param islandDistance the islandDistance to set */