292 lines
7.5 KiB
Java
292 lines
7.5 KiB
Java
//
|
|
// Created by BONNe
|
|
// Copyright - 2020
|
|
//
|
|
|
|
|
|
package world.bentobox.challenges.utils;
|
|
|
|
|
|
/**
|
|
* This class contains String constants used in messages and guis.
|
|
*/
|
|
public class Constants
|
|
{
|
|
/**
|
|
* Reference string to ADDON_NAME in translations.
|
|
*/
|
|
public static final String ADDON_NAME = "challenges.";
|
|
|
|
// ---------------------------------------------------------------------
|
|
// Section: Commands
|
|
// ---------------------------------------------------------------------
|
|
|
|
|
|
/**
|
|
* Reference string to Commands in translations.
|
|
*/
|
|
public static final String COMMANDS = ADDON_NAME + "commands.";
|
|
|
|
/**
|
|
* Reference string to Admin in translations.
|
|
*/
|
|
public static final String ADMIN_COMMANDS = COMMANDS + "admin.";
|
|
|
|
/**
|
|
* Reference string to Player in translations.
|
|
*/
|
|
public static final String PLAYER_COMMANDS = COMMANDS + "player.";
|
|
|
|
// ---------------------------------------------------------------------
|
|
// Section: GUI
|
|
// ---------------------------------------------------------------------
|
|
|
|
/**
|
|
* Reference string to GUI in translations.
|
|
*/
|
|
public static final String GUI = ADDON_NAME + "gui.";
|
|
|
|
/**
|
|
* Reference string to TITLE in translations.
|
|
*/
|
|
public static final String TITLE = GUI + "titles.";
|
|
|
|
/**
|
|
* Reference string to BUTTON in translations.
|
|
*/
|
|
public static final String BUTTON = GUI + "buttons.";
|
|
|
|
/**
|
|
* Reference string to Biome group Buttons in translations.
|
|
*/
|
|
public static final String BIOME_GROUP_BUTTON = BUTTON + "biome-groups.";
|
|
|
|
/**
|
|
* Reference string to generator type Buttons in translations.
|
|
*/
|
|
public static final String GENERATOR_TYPE_BUTTON = BUTTON + "generator-types.";
|
|
|
|
/**
|
|
* Reference string to TIPS in translations.
|
|
*/
|
|
public static final String TIPS = GUI + "tips.";
|
|
|
|
/**
|
|
* Reference string to DESCRIPTION in translations.
|
|
*/
|
|
public static final String DESCRIPTIONS = GUI + "descriptions.";
|
|
|
|
/**
|
|
* Reference string to Messages in translations.
|
|
*/
|
|
public static final String MESSAGES = ADDON_NAME + "messages.";
|
|
|
|
/**
|
|
* Reference string to Errors in translations.
|
|
*/
|
|
public static final String ERRORS = ADDON_NAME + "errors.";
|
|
|
|
/**
|
|
* Reference string to Questions in translations.
|
|
*/
|
|
public static final String CONVERSATIONS = ADDON_NAME + "conversations.";
|
|
|
|
// ---------------------------------------------------------------------
|
|
// Section: Other
|
|
// ---------------------------------------------------------------------
|
|
|
|
/**
|
|
* Reference string to Biomes in translations.
|
|
*/
|
|
public static final String BIOMES = ADDON_NAME + "biomes.";
|
|
|
|
/**
|
|
* Reference string to materials in translations.
|
|
*/
|
|
public static final String MATERIALS = ADDON_NAME + "materials.";
|
|
|
|
/**
|
|
* Reference string to entities in translations.
|
|
*/
|
|
public static final String ENTITIES = ADDON_NAME + "entities.";
|
|
|
|
/**
|
|
* Reference string to Types in translations.
|
|
*/
|
|
public static final String TYPES = ADDON_NAME + "types.";
|
|
|
|
// ---------------------------------------------------------------------
|
|
// Section: Parameters
|
|
// ---------------------------------------------------------------------
|
|
|
|
/**
|
|
* Reference string to generator parameter in translations.
|
|
*/
|
|
public static final String GENERATOR = "[generator]";
|
|
|
|
/**
|
|
* Reference string to bundle parameter in translations.
|
|
*/
|
|
public static final String BUNDLE = "[bundle]";
|
|
|
|
/**
|
|
* Reference string to gamemode parameter in translations.
|
|
*/
|
|
public static final String GAMEMODE = "[gamemode]";
|
|
|
|
/**
|
|
* Reference string to world parameter in translations.
|
|
*/
|
|
public static final String WORLD = "[world]";
|
|
|
|
/**
|
|
* Reference string to value parameter in translations.
|
|
*/
|
|
public static final String VALUE = "[value]";
|
|
|
|
/**
|
|
* Reference string to block parameter in translations.
|
|
*/
|
|
public static final String BLOCK = "[material]";
|
|
|
|
/**
|
|
* Reference string to file parameter in translations.
|
|
*/
|
|
public static final String FILE = "[file]";
|
|
|
|
/**
|
|
* Reference string to id parameter in translations.
|
|
*/
|
|
public static final String ID = "[id]";
|
|
|
|
/**
|
|
* Reference string to min parameter in translations.
|
|
*/
|
|
public static final String MIN = "[min]";
|
|
|
|
/**
|
|
* Reference string to max parameter in translations.
|
|
*/
|
|
public static final String MAX = "[max]";
|
|
|
|
/**
|
|
* Reference to an author parameter in translation.
|
|
*/
|
|
public static final String AUTHOR = "[author]";
|
|
|
|
/**
|
|
* Reference to an lang parameter in translation.
|
|
*/
|
|
public static final String LANG = "[lang]";
|
|
|
|
/**
|
|
* Reference to an version parameter in translation.
|
|
*/
|
|
public static final String VERSION = "[version]";
|
|
|
|
/**
|
|
* Reference to an generators parameter in translation.
|
|
*/
|
|
public static final String GENERATORS = "[generators]";
|
|
|
|
/**
|
|
* Reference to an bundles parameter in translation.
|
|
*/
|
|
public static final String BUNDLES = "[bundles]";
|
|
|
|
/**
|
|
* Reference to number formant in 0.X
|
|
*/
|
|
public static final String TENS = "[#.#]";
|
|
|
|
/**
|
|
* Reference to number formant in 0.0X
|
|
*/
|
|
public static final String HUNDREDS = "[#.##]";
|
|
|
|
/**
|
|
* Reference to number formant in 0.00X
|
|
*/
|
|
public static final String THOUSANDS = "[#.###]";
|
|
|
|
/**
|
|
* Reference to number formant in 0.000X
|
|
*/
|
|
public static final String TEN_THOUSANDS = "[#.####]";
|
|
|
|
/**
|
|
* Reference to number formant in 0.0000X
|
|
*/
|
|
public static final String HUNDRED_THOUSANDS = "[#.#####]";
|
|
|
|
/**
|
|
* Reference to island in translations.
|
|
*/
|
|
public static final String ISLAND = "[island]";
|
|
|
|
/**
|
|
* Reference string to number parameter in translations.
|
|
*/
|
|
public static final String NUMBER = "[number]";
|
|
|
|
/**
|
|
* Reference string to type parameter in translations.
|
|
*/
|
|
public static final String TYPE = "[type]";
|
|
|
|
/**
|
|
* Reference string to permission parameter in translations.
|
|
*/
|
|
public static final String PERMISSION = "[permission]";
|
|
|
|
/**
|
|
* Reference string to biome parameter in translations.
|
|
*/
|
|
public static final String BIOME = "[biome]";
|
|
|
|
/**
|
|
* Reference string to player parameter in translations.
|
|
*/
|
|
public static final String PLAYER = "[player]";
|
|
|
|
/**
|
|
* Reference string to owner parameter in translations.
|
|
*/
|
|
public static final String OWNER = "[owner]";
|
|
|
|
/**
|
|
* Reference string to members parameter in translations.
|
|
*/
|
|
public static final String MEMBERS = "[members]";
|
|
|
|
/**
|
|
* Reference string to name parameter in translations.
|
|
*/
|
|
public static final String NAME = "[name]";
|
|
|
|
/**
|
|
* Reference string to description parameter in translations.
|
|
*/
|
|
public static final String DESCRIPTION = "[description]";
|
|
|
|
public static final String CHALLENGE = "[challenge]";
|
|
|
|
public static final String REQUIREMENTS = "[requirements]";
|
|
|
|
public static final String REWARDS = "[rewards]";
|
|
|
|
public static final String STATUS = "[status]";
|
|
|
|
public static final String LEVEL = "[level]";
|
|
|
|
public static final String ENVIRONMENT = "[environment]";
|
|
|
|
public static final String TYPE_REQUIREMENT = "[type-requirement]";
|
|
|
|
public static final String PERMISSIONS = "[permissions]";
|
|
|
|
public static final String MATERIAL = "[material]";
|
|
|
|
public static final String ENTITY = "[entity]";
|
|
}
|