2011-07-16 00:38:22 +00:00
|
|
|
package com.earth2me.essentials;
|
|
|
|
|
|
|
|
import com.earth2me.essentials.commands.IEssentialsCommand;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
2011-11-25 06:12:21 +00:00
|
|
|
import java.util.Set;
|
2011-07-16 00:38:22 +00:00
|
|
|
import org.bukkit.ChatColor;
|
|
|
|
|
|
|
|
|
|
|
|
public interface ISettings extends IConf
|
|
|
|
{
|
|
|
|
boolean areSignsDisabled();
|
|
|
|
|
|
|
|
String format(String format, IUser user);
|
|
|
|
|
|
|
|
String getAnnounceNewPlayerFormat(IUser user);
|
|
|
|
|
|
|
|
boolean getAnnounceNewPlayers();
|
|
|
|
|
|
|
|
String getBackupCommand();
|
|
|
|
|
|
|
|
long getBackupInterval();
|
|
|
|
|
|
|
|
String getChatFormat(String group);
|
|
|
|
|
|
|
|
int getChatRadius();
|
|
|
|
|
|
|
|
double getCommandCost(IEssentialsCommand cmd);
|
|
|
|
|
|
|
|
double getCommandCost(String label);
|
|
|
|
|
|
|
|
String getCurrencySymbol();
|
|
|
|
|
2011-11-28 18:55:51 +00:00
|
|
|
int getOversizedStackSize();
|
2011-07-16 00:38:22 +00:00
|
|
|
|
|
|
|
double getHealCooldown();
|
|
|
|
|
|
|
|
Object getKit(String name);
|
|
|
|
|
|
|
|
Map<String, Object> getKits();
|
|
|
|
|
|
|
|
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 06:12:21 +00:00
|
|
|
|
2011-10-01 09:08:58 +00:00
|
|
|
List getMultipleHomes();
|
2011-11-25 06:12:21 +00:00
|
|
|
|
2011-10-01 09:08:58 +00:00
|
|
|
int getHomeLimit(String set);
|
2011-11-25 06:12:21 +00:00
|
|
|
|
2011-10-01 09:08:58 +00:00
|
|
|
int getHomeLimit(User user);
|
2011-07-16 00:38:22 +00: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 isCommandRestricted(IEssentialsCommand cmd);
|
|
|
|
|
|
|
|
boolean isCommandRestricted(String label);
|
|
|
|
|
|
|
|
boolean isDebug();
|
|
|
|
|
|
|
|
boolean isEcoDisabled();
|
|
|
|
|
|
|
|
boolean isTradeInStacks(int id);
|
|
|
|
|
|
|
|
List<Integer> itemSpawnBlacklist();
|
|
|
|
|
|
|
|
boolean permissionBasedItemSpawn();
|
|
|
|
|
|
|
|
boolean showNonEssCommandsInHelp();
|
|
|
|
|
|
|
|
boolean spawnIfNoHome();
|
|
|
|
|
|
|
|
boolean warnOnBuildDisallow();
|
|
|
|
|
|
|
|
boolean warnOnSmite();
|
2011-11-25 06:12:21 +00:00
|
|
|
|
2011-07-16 00:38:22 +00:00
|
|
|
double getMaxMoney();
|
|
|
|
|
|
|
|
boolean isEcoLogEnabled();
|
2011-11-25 06:12:21 +00:00
|
|
|
|
2011-07-16 00:38:22 +00:00
|
|
|
boolean removeGodOnDisconnect();
|
|
|
|
|
|
|
|
boolean changeDisplayName();
|
2011-07-16 02:05:43 +00:00
|
|
|
|
|
|
|
boolean isPlayerCommand(String string);
|
2011-07-17 22:30:39 +00:00
|
|
|
|
2011-08-23 00:46:19 +00:00
|
|
|
boolean useBukkitPermissions();
|
2011-07-22 23:43:02 +00:00
|
|
|
|
2011-08-23 00:46:19 +00:00
|
|
|
boolean addPrefixSuffix();
|
2011-11-25 06:12:21 +00:00
|
|
|
|
2011-10-27 05:17:18 +00:00
|
|
|
boolean disablePrefix();
|
2011-11-25 06:12:21 +00:00
|
|
|
|
2011-10-27 05:17:18 +00:00
|
|
|
boolean disableSuffix();
|
2011-08-23 00:46:19 +00:00
|
|
|
|
2011-08-27 11:59:39 +00:00
|
|
|
long getAutoAfk();
|
|
|
|
|
|
|
|
long getAutoAfkKick();
|
|
|
|
|
|
|
|
boolean getFreezeAfkPlayers();
|
2011-11-25 06:12:21 +00:00
|
|
|
|
2011-10-09 18:59:06 +00:00
|
|
|
boolean areDeathMessagesEnabled();
|
2011-11-04 01:43:43 +00:00
|
|
|
|
|
|
|
public void setDebug(boolean debug);
|
2011-11-25 06:12:21 +00:00
|
|
|
|
|
|
|
Set<String> getNoGodWorlds();
|
2011-07-16 00:38:22 +00:00
|
|
|
}
|