42 lines
1.3 KiB
Java
Executable File
42 lines
1.3 KiB
Java
Executable File
package us.tastybento.askyblock.config;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
|
|
import us.tastybento.askyblock.database.ASBDatabase.DatabaseType;
|
|
import us.tastybento.askyblock.database.OfflineHistoryMessages.HistoryMessageType;
|
|
import us.tastybento.askyblock.database.objects.Island.SettingsFlag;
|
|
|
|
/**
|
|
* All the plugin settings are here
|
|
* @author Tastybento
|
|
*/
|
|
public class Settings {
|
|
|
|
public static final String PERMPREFIX = "askyblock.";
|
|
|
|
public static String defaultLanguage;
|
|
|
|
public static int backupPeriod;
|
|
|
|
public static boolean useEconomy;
|
|
public static boolean useMinishop;
|
|
|
|
public static boolean useControlPanel;
|
|
|
|
public static int defaultResetLimit;
|
|
|
|
public static boolean metrics;
|
|
|
|
public static DatabaseType databaseType;
|
|
|
|
public static int minIslandNameLength;
|
|
public static int maxIslandNameLength;
|
|
|
|
public static HashMap<SettingsFlag, Boolean> defaultWorldSettings = new HashMap<SettingsFlag, Boolean>();
|
|
public static HashMap<SettingsFlag, Boolean> defaultIslandSettings = new HashMap<SettingsFlag, Boolean>();
|
|
public static HashMap<SettingsFlag, Boolean> defaultSpawnSettings = new HashMap<SettingsFlag, Boolean>();
|
|
|
|
public static List<HistoryMessageType> historyMessagesTypes;
|
|
}
|