Package com.minigameworld.util
Class Setting
java.lang.Object
com.minigameworld.util.Setting
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
static int
static int
static boolean
static boolean
static String
static DateTimeFormatter
static String
static boolean
static org.bukkit.Sound
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static boolean
static boolean
static boolean
static String
static String
static String
static String
static String
static int
static String
static int
static int
static String
static String
static boolean
static boolean
static int
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static org.bukkit.Sound
static String
static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
instanceDirFormat(String templateWorldName, MiniGame game)
Ref: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html<world name>_<game title>_<yyyy-MM-dd'T'H-mm-ss>_<game id>
-
Field Details
-
API_VERSION
-
MENU_INV_TITLE
- See Also:
- Constant Field Values
-
BSTATS_PLUGIN_ID
public static final int BSTATS_PLUGIN_ID- See Also:
- Constant Field Values
-
MINIGAMES_DIR
- See Also:
- Constant Field Values
-
MESSAGES_DIR
- See Also:
- Constant Field Values
-
URL_WIKI_README
- See Also:
- Constant Field Values
-
URL_WIKI_COMMAND
- See Also:
- Constant Field Values
-
DIR_DATE_TIME_FORMAT
- See Also:
- Constant Field Values
-
DIR_ELEMENT_SEPARATOR
- See Also:
- Constant Field Values
-
DIR_DATE_TIME_FORMATTER
-
PLAYER_EXCEPTION_QUIT_SERVER
- See Also:
- Constant Field Values
-
PLAYER_EXCEPTION_INGAME_LEAVE
- See Also:
- Constant Field Values
-
GAME_EXCEPTION_DATA_UPDATE
- See Also:
- Constant Field Values
-
SERVER_EXCEPTION_STOP_BY_PLAYER
- See Also:
- Constant Field Values
-
SERVER_EXCEPTION_STOP_BY_NON_PLAYER
- See Also:
- Constant Field Values
-
SERVER_EXCEPTION_PLUGIN_DISABLED
- See Also:
- Constant Field Values
-
MESSAGE_PREFIX
-
DEBUG_MODE
public static boolean DEBUG_MODE -
BACKUP_DELAY
public static int BACKUP_DELAY -
ISOLATED_CHAT
public static boolean ISOLATED_CHAT -
ISOLATED_JOIN_QUIT_MESSAGE
public static boolean ISOLATED_JOIN_QUIT_MESSAGE -
JOIN_SIGN_CAPTION
-
LEAVE_SIGN_CAPTION
-
SCOREBOARD
public static boolean SCOREBOARD -
SCOREBOARD_UPDATE_DELAY
public static int SCOREBOARD_UPDATE_DELAY -
MIN_LEAVE_TIME
public static int MIN_LEAVE_TIME -
START_SOUND
public static org.bukkit.Sound START_SOUND -
FINISH_SOUND
public static org.bukkit.Sound FINISH_SOUND -
REMOVE_NOT_NECESSARY_KEYS
public static boolean REMOVE_NOT_NECESSARY_KEYS -
CHECK_UPDATE
public static boolean CHECK_UPDATE -
EDIT_MESSAGES
public static boolean EDIT_MESSAGES -
INGAME_LEAVE
public static boolean INGAME_LEAVE -
TEMPLATE_WORLDS
-
JOIN_PRIORITY
-
PARTY_INVITE_TIMEOUT
public static int PARTY_INVITE_TIMEOUT -
PARTY_ASK_TIMEOUT
public static int PARTY_ASK_TIMEOUT -
SETTINGS_MESSAGE_PREFIX
- See Also:
- Constant Field Values
-
SETTINGS_DEBUG_MODE
- See Also:
- Constant Field Values
-
SETTINGS_BACKUP_DELAY
- See Also:
- Constant Field Values
-
SETTINGS_ISOLATED_CHAT
- See Also:
- Constant Field Values
-
SETTINGS_ISOLATED_JOIN_QUIT_MESSAGE
- See Also:
- Constant Field Values
-
SETTINGS_JOIN_SIGN_CAPTION
- See Also:
- Constant Field Values
-
SETTINGS_LEAVE_SIGN_CAPTION
- See Also:
- Constant Field Values
-
SETTINGS_SCOREBOARD
- See Also:
- Constant Field Values
-
SETTINGS_SCOREBOARD_UPDATE_DELAY
- See Also:
- Constant Field Values
-
SETTINGS_MIN_LEAVE_TIME
- See Also:
- Constant Field Values
-
SETTINGS_START_SOUND
- See Also:
- Constant Field Values
-
SETTINGS_FINISH_SOUND
- See Also:
- Constant Field Values
-
SETTINGS_REMOVE_NOT_NECESSARY_KEYS
- See Also:
- Constant Field Values
-
SETTINGS_CHECK_UPDATE
- See Also:
- Constant Field Values
-
SETTINGS_EDIT_MESSAGES
- See Also:
- Constant Field Values
-
SETTINGS_INGAME_LEAVE
- See Also:
- Constant Field Values
-
SETTINGS_TEMPLATE_WORLDS
- See Also:
- Constant Field Values
-
SETTINGS_JOIN_PRIORITY
- See Also:
- Constant Field Values
-
SETTINGS_PARTY_INVITE_TIMEOUT
- See Also:
- Constant Field Values
-
SETTINGS_PARTY_ASK_TIMEOUT
- See Also:
- Constant Field Values
-
GAMES_TITLE
- See Also:
- Constant Field Values
-
GAMES_INSTANCES
- See Also:
- Constant Field Values
-
GAMES_INSTANCE_WORLD
- See Also:
- Constant Field Values
-
GAMES_LOCATIONS
- See Also:
- Constant Field Values
-
GAMES_MIN_PLAYERS
- See Also:
- Constant Field Values
-
GAMES_MAX_PLAYERS
- See Also:
- Constant Field Values
-
GAMES_WAITING_TIME
- See Also:
- Constant Field Values
-
GAMES_PLAY_TIME
- See Also:
- Constant Field Values
-
GAMES_FINISH_DELAY
- See Also:
- Constant Field Values
-
GAMES_ACTIVE
- See Also:
- Constant Field Values
-
GAMES_TUTORIAL
- See Also:
- Constant Field Values
-
GAMES_CUSTOM_DATA
- See Also:
- Constant Field Values
-
GAMES_ICON
- See Also:
- Constant Field Values
-
GAMES_VIEW
- See Also:
- Constant Field Values
-
GAMES_SCOREBOARD
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Setting
public Setting()
-
-
Method Details
-
instanceDirFormat
Ref: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html<world name>_<game title>_<yyyy-MM-dd'T'H-mm-ss>_<game id>
- Parameters:
templateWorldName
- Template world namegame
- game instance- Returns:
- Instance directory name
-