mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-18 22:49:45 +00:00
139 lines
2.4 KiB
Java
139 lines
2.4 KiB
Java
package com.earth2me.essentials;
|
|
|
|
import com.earth2me.essentials.commands.IEssentialsCommand;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
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();
|
|
|
|
boolean getBedSetsHome();
|
|
|
|
String getChatFormat(String group);
|
|
|
|
int getChatRadius();
|
|
|
|
double getCommandCost(IEssentialsCommand cmd);
|
|
|
|
double getCommandCost(String label);
|
|
|
|
String getCurrencySymbol();
|
|
|
|
int getDefaultStackSize();
|
|
|
|
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 getReclaimSetting();
|
|
|
|
boolean getRespawnAtHome();
|
|
|
|
List getMultipleHomes();
|
|
|
|
int getHomeLimit(String set);
|
|
|
|
int getHomeLimit(User user);
|
|
|
|
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();
|
|
|
|
double getMaxMoney();
|
|
|
|
boolean isEcoLogEnabled();
|
|
|
|
boolean removeGodOnDisconnect();
|
|
|
|
boolean changeDisplayName();
|
|
|
|
boolean isPlayerCommand(String string);
|
|
|
|
boolean useBukkitPermissions();
|
|
|
|
boolean addPrefixSuffix();
|
|
|
|
boolean disablePrefix();
|
|
|
|
boolean disableSuffix();
|
|
|
|
long getAutoAfk();
|
|
|
|
long getAutoAfkKick();
|
|
|
|
boolean getFreezeAfkPlayers();
|
|
|
|
boolean areDeathMessagesEnabled();
|
|
}
|