2011-07-16 02:38:22 +02:00
|
|
|
package com.earth2me.essentials;
|
|
|
|
|
|
|
|
import com.earth2me.essentials.commands.IEssentialsCommand;
|
2012-01-29 01:12:38 +00:00
|
|
|
import com.earth2me.essentials.signs.EssentialsSign;
|
2012-02-18 21:09:18 +00:00
|
|
|
import com.earth2me.essentials.textreader.IText;
|
2012-01-19 02:03:20 +01:00
|
|
|
import java.text.MessageFormat;
|
2011-07-16 02:38:22 +02:00
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
2011-11-25 07:12:21 +01:00
|
|
|
import java.util.Set;
|
2011-07-16 02:38:22 +02:00
|
|
|
import org.bukkit.ChatColor;
|
2012-02-22 12:32:51 +00:00
|
|
|
import org.bukkit.configuration.ConfigurationSection;
|
2012-01-20 05:34:28 +01:00
|
|
|
import org.bukkit.event.EventPriority;
|
2011-07-16 02:38:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
public interface ISettings extends IConf
|
|
|
|
{
|
|
|
|
boolean areSignsDisabled();
|
|
|
|
|
2012-02-18 21:09:18 +00:00
|
|
|
IText getAnnounceNewPlayerFormat();
|
2011-07-16 02:38:22 +02:00
|
|
|
|
|
|
|
boolean getAnnounceNewPlayers();
|
|
|
|
|
2012-03-04 20:06:50 +00:00
|
|
|
String getNewPlayerKit();
|
|
|
|
|
2011-07-16 02:38:22 +02:00
|
|
|
String getBackupCommand();
|
|
|
|
|
|
|
|
long getBackupInterval();
|
|
|
|
|
2012-01-19 02:03:20 +01:00
|
|
|
MessageFormat getChatFormat(String group);
|
2011-07-16 02:38:22 +02:00
|
|
|
|
|
|
|
int getChatRadius();
|
|
|
|
|
|
|
|
double getCommandCost(IEssentialsCommand cmd);
|
|
|
|
|
|
|
|
double getCommandCost(String label);
|
|
|
|
|
|
|
|
String getCurrencySymbol();
|
|
|
|
|
2011-11-28 19:55:51 +01:00
|
|
|
int getOversizedStackSize();
|
2012-02-18 21:09:18 +00:00
|
|
|
|
2011-12-04 23:21:30 +01:00
|
|
|
int getDefaultStackSize();
|
2011-07-16 02:38:22 +02:00
|
|
|
|
|
|
|
double getHealCooldown();
|
|
|
|
|
2012-02-22 12:32:51 +00:00
|
|
|
Map<String, Object> getKit(String name);
|
2011-07-16 02:38:22 +02:00
|
|
|
|
2012-02-22 12:32:51 +00:00
|
|
|
ConfigurationSection getKits();
|
2011-07-16 02:38:22 +02:00
|
|
|
|
|
|
|
String getLocale();
|
|
|
|
|
|
|
|
String getNewbieSpawn();
|
|
|
|
|
|
|
|
String getNicknamePrefix();
|
|
|
|
|
|
|
|
ChatColor getOperatorColor() throws Exception;
|
|
|
|
|
|
|
|
boolean getPerWarpPermission();
|
|
|
|
|
|
|
|
boolean getProtectBoolean(final String configName, boolean def);
|
|
|
|
|
|
|
|
int getProtectCreeperMaxHeight();
|
|
|
|
|
|
|
|
List<Integer> getProtectList(final String configName);
|
|
|
|
|
|
|
|
boolean getProtectPreventSpawn(final String creatureName);
|
|
|
|
|
|
|
|
String getProtectString(final String configName);
|
|
|
|
|
|
|
|
boolean getRespawnAtHome();
|
2011-11-25 07:12:21 +01:00
|
|
|
|
2012-02-21 17:33:46 +01:00
|
|
|
Set getMultipleHomes();
|
2011-11-25 07:12:21 +01:00
|
|
|
|
2011-10-01 10:08:58 +01:00
|
|
|
int getHomeLimit(String set);
|
2011-11-25 07:12:21 +01:00
|
|
|
|
2011-10-01 10:08:58 +01:00
|
|
|
int getHomeLimit(User user);
|
2011-07-16 02:38:22 +02:00
|
|
|
|
|
|
|
boolean getSortListByGroups();
|
|
|
|
|
|
|
|
int getSpawnMobLimit();
|
|
|
|
|
|
|
|
int getStartingBalance();
|
|
|
|
|
|
|
|
double getTeleportCooldown();
|
|
|
|
|
|
|
|
double getTeleportDelay();
|
|
|
|
|
|
|
|
boolean hidePermissionlessHelp();
|
|
|
|
|
|
|
|
boolean isCommandDisabled(final IEssentialsCommand cmd);
|
|
|
|
|
|
|
|
boolean isCommandDisabled(String label);
|
|
|
|
|
|
|
|
boolean isCommandOverridden(String name);
|
|
|
|
|
|
|
|
boolean isDebug();
|
|
|
|
|
|
|
|
boolean isEcoDisabled();
|
|
|
|
|
|
|
|
boolean isTradeInStacks(int id);
|
|
|
|
|
|
|
|
List<Integer> itemSpawnBlacklist();
|
2012-02-18 21:09:18 +00:00
|
|
|
|
2012-01-29 01:12:38 +00:00
|
|
|
List<EssentialsSign> enabledSigns();
|
2011-07-16 02:38:22 +02:00
|
|
|
|
|
|
|
boolean permissionBasedItemSpawn();
|
|
|
|
|
|
|
|
boolean showNonEssCommandsInHelp();
|
|
|
|
|
|
|
|
boolean warnOnBuildDisallow();
|
|
|
|
|
|
|
|
boolean warnOnSmite();
|
2011-11-25 07:12:21 +01:00
|
|
|
|
2011-07-16 02:38:22 +02:00
|
|
|
double getMaxMoney();
|
2012-03-04 20:06:50 +00:00
|
|
|
|
2012-02-26 04:15:14 +00:00
|
|
|
double getMinMoney();
|
2011-07-16 02:38:22 +02:00
|
|
|
|
|
|
|
boolean isEcoLogEnabled();
|
2012-03-04 20:06:50 +00:00
|
|
|
|
2012-02-27 15:31:43 +00:00
|
|
|
boolean isEcoLogUpdateEnabled();
|
2011-11-25 07:12:21 +01:00
|
|
|
|
2011-07-16 02:38:22 +02:00
|
|
|
boolean removeGodOnDisconnect();
|
|
|
|
|
|
|
|
boolean changeDisplayName();
|
2012-05-06 23:38:04 +01:00
|
|
|
|
2012-03-23 00:15:22 +00:00
|
|
|
boolean changePlayerListName();
|
2011-07-16 04:05:43 +02:00
|
|
|
|
|
|
|
boolean isPlayerCommand(String string);
|
2011-07-18 00:30:39 +02:00
|
|
|
|
2011-08-23 02:46:19 +02:00
|
|
|
boolean useBukkitPermissions();
|
2011-07-23 01:43:02 +02:00
|
|
|
|
2011-08-23 02:46:19 +02:00
|
|
|
boolean addPrefixSuffix();
|
2011-11-25 07:12:21 +01:00
|
|
|
|
2011-10-27 06:17:18 +01:00
|
|
|
boolean disablePrefix();
|
2011-11-25 07:12:21 +01:00
|
|
|
|
2011-10-27 06:17:18 +01:00
|
|
|
boolean disableSuffix();
|
2011-08-23 02:46:19 +02:00
|
|
|
|
2011-08-27 13:59:39 +02:00
|
|
|
long getAutoAfk();
|
|
|
|
|
|
|
|
long getAutoAfkKick();
|
|
|
|
|
|
|
|
boolean getFreezeAfkPlayers();
|
2011-11-25 07:12:21 +01:00
|
|
|
|
2012-05-06 23:38:04 +01:00
|
|
|
boolean cancelAfkOnMove();
|
|
|
|
|
2011-10-09 20:59:06 +02:00
|
|
|
boolean areDeathMessagesEnabled();
|
2011-11-04 02:43:43 +01:00
|
|
|
|
|
|
|
public void setDebug(boolean debug);
|
2011-11-25 07:12:21 +01:00
|
|
|
|
|
|
|
Set<String> getNoGodWorlds();
|
2012-02-18 21:09:18 +00:00
|
|
|
|
2011-11-30 02:51:02 +01:00
|
|
|
boolean getUpdateBedAtDaytime();
|
2012-02-18 21:09:18 +00:00
|
|
|
|
2011-12-02 08:30:52 +01:00
|
|
|
boolean getRepairEnchanted();
|
2012-02-18 21:09:18 +00:00
|
|
|
|
2012-03-20 13:26:49 +00:00
|
|
|
boolean isWorldTeleportPermissions();
|
2012-08-26 17:12:18 +01:00
|
|
|
|
2012-05-22 17:54:19 +01:00
|
|
|
boolean isWorldHomePermissions();
|
2012-02-18 21:09:18 +00:00
|
|
|
|
2011-12-06 22:56:38 +00:00
|
|
|
boolean registerBackInListener();
|
2011-12-07 12:10:41 +01:00
|
|
|
|
2012-01-20 05:20:37 +01:00
|
|
|
boolean getDisableItemPickupWhileAfk();
|
2011-12-07 15:09:22 +01:00
|
|
|
|
2012-01-20 05:34:28 +01:00
|
|
|
EventPriority getRespawnPriority();
|
2012-02-18 21:09:18 +00:00
|
|
|
|
2011-12-08 23:43:09 +00:00
|
|
|
long getTpaAcceptCancellation();
|
2012-05-06 23:38:04 +01:00
|
|
|
|
2012-03-15 00:49:22 +00:00
|
|
|
boolean isMetricsEnabled();
|
2012-05-06 23:38:04 +01:00
|
|
|
|
2012-03-15 00:49:22 +00:00
|
|
|
void setMetricsEnabled(boolean metricsEnabled);
|
2012-03-27 21:14:38 +02:00
|
|
|
|
2012-03-30 21:44:14 +01:00
|
|
|
long getTeleportInvulnerability();
|
2012-05-06 23:38:04 +01:00
|
|
|
|
2012-03-30 21:44:14 +01:00
|
|
|
boolean isTeleportInvulnerability();
|
2012-08-26 17:12:18 +01:00
|
|
|
|
2012-05-22 01:29:47 +01:00
|
|
|
long getLoginAttackDelay();
|
2012-08-26 17:12:18 +01:00
|
|
|
|
2012-06-17 19:28:59 +01:00
|
|
|
int getSignUsePerSecond();
|
2012-08-26 17:12:18 +01:00
|
|
|
|
|
|
|
double getMaxFlySpeed();
|
|
|
|
|
|
|
|
double getMaxWalkSpeed();
|
2011-07-16 02:38:22 +02:00
|
|
|
}
|