mirror of
https://github.com/BentoBoxWorld/AcidIsland.git
synced 2024-11-22 02:25:55 +01:00
Added perm to bypass cooldowns.
Removed old reference to invite wait in config.yml and settings.
This commit is contained in:
parent
70d540d7bf
commit
0d564d94b2
@ -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
|
||||
|
@ -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 <player>)
|
||||
# Value of -1 means unlimited, 0 means hardcore - no resets.
|
||||
|
@ -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 <player>)")
|
||||
@ -542,13 +537,6 @@ public class AISettings implements DataObject, WorldSettings {
|
||||
public Map<EntityType, Integer> 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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user