Merge branch '2.x' into custom-currency-formatting

This commit is contained in:
Ali Moghnieh 2016-07-05 18:46:01 +01:00
commit d37433e81c
37 changed files with 364 additions and 40 deletions

View file

@ -12,7 +12,9 @@ import java.math.BigDecimal;
import java.text.NumberFormat;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.regex.Pattern;
public interface ISettings extends IConf {
@ -247,6 +249,16 @@ public interface ISettings extends IConf {
boolean isWorldTimePermissions();
boolean isSpawnOnJoin();
boolean isTeleportToCenterLocation();
boolean isCommandCooldownsEnabled();
long getCommandCooldownMs(String label);
Entry<Pattern, Long> getCommandCooldownEntry(String label);
boolean isCommandCooldownPersistent(String label);
NumberFormat getCurrencyFormat();
}