public double getCommandCost(String label) { double cost = config.getDouble("command-costs." + label, 0.0); if (cost == 0.0) cost = config.getDouble("cost-" + label, 0.0); return cost; }
public double getNetherRatio() { if (config.getBoolean("nether.use-1to1-ratio", false)) { return 1.0; } return config.getDouble("nether.ratio", 16.0); }
public double getHealCooldown() { return config.getDouble("heal-cooldown", 60); }
public double getTeleportDelay() { return config.getDouble("teleport-delay", 0); }
public double getTeleportCooldown() { return config.getDouble("teleport-cooldown", 60); }