TF-EssentialsX/Essentials/src/com/earth2me/essentials/ISettings.java

183 lines
3.3 KiB
Java
Raw Normal View History

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;
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;
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();
IText getAnnounceNewPlayerFormat();
2011-07-16 02:38:22 +02:00
boolean getAnnounceNewPlayers();
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();
int getOversizedStackSize();
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();
2012-02-21 17:33:46 +01:00
Set getMultipleHomes();
int getHomeLimit(String set);
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-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-07-16 02:38:22 +02:00
double getMaxMoney();
double getMinMoney();
2011-07-16 02:38:22 +02:00
boolean isEcoLogEnabled();
boolean isEcoLogUpdateEnabled();
2011-07-16 02:38:22 +02:00
boolean removeGodOnDisconnect();
boolean changeDisplayName();
boolean changePlayerListName();
boolean isPlayerCommand(String string);
2011-08-23 02:46:19 +02:00
boolean useBukkitPermissions();
2011-08-23 02:46:19 +02:00
boolean addPrefixSuffix();
boolean disablePrefix();
boolean disableSuffix();
2011-08-23 02:46:19 +02:00
long getAutoAfk();
long getAutoAfkKick();
boolean getFreezeAfkPlayers();
boolean cancelAfkOnMove();
boolean areDeathMessagesEnabled();
public void setDebug(boolean debug);
Set<String> getNoGodWorlds();
boolean getUpdateBedAtDaytime();
boolean getRepairEnchanted();
2012-03-20 13:26:49 +00:00
boolean isWorldTeleportPermissions();
boolean isWorldHomePermissions();
boolean registerBackInListener();
boolean getDisableItemPickupWhileAfk();
2012-01-20 05:34:28 +01:00
EventPriority getRespawnPriority();
long getTpaAcceptCancellation();
boolean isMetricsEnabled();
void setMetricsEnabled(boolean metricsEnabled);
2012-03-27 21:14:38 +02:00
2012-03-30 21:44:14 +01:00
long getTeleportInvulnerability();
2012-03-30 21:44:14 +01:00
boolean isTeleportInvulnerability();
long getLoginAttackDelay();
int getSignUsePerSecond();
double getMaxFlySpeed();
double getMaxWalkSpeed();
2011-07-16 02:38:22 +02:00
}