package me.MiniDigger.VoxelGamesLib.api.lang;

/**
 * Created by Martin on 12.10.2016.
 *
 * Style note: the members needs to be sorted alphabeticly! TODO figure out how to do that..........
 */
public enum LangKey {

    WORLD_CREATOR_IN_USE("The user %s is currently using the world creator!", 1),
    WORLD_CREATOR_ENTER_NAME("Click here and enter the name of the world that you want to create.", 0),
    WORLD_CREATOR_ENTER_DISPLAY_NAME("Radius set. Click here and enter the display name for the world.", 0),
    WORLD_CREATOR_WRONG_STEP("You are trying to do the wrong step! You are at step %s, you want to do step %s!", 2),
    WORLD_CREATOR_DONE("Done creating the world! Restart the game to be able to play the map.", 0),
    WORLD_CREATOR_ENTER_AUTHOR("Name set to %s, click here and enter the author", 1),
    WORLD_CREATOR_EDIT_MODE_ON("Click here to enter map editing mode", 0),
    WORLD_CREATOR_EDIT_MODE_OFF("Click here when you are done", 0),
    WORLD_CREATOR_AUTHOR_SET("Author set to %s.", 1),
    WORLD_CREATOR_GAME_MODE_DONE_BUTTON("Done.", 0),
    WORLD_CREATOR_DONE_QUESTIONMARK("Click here if you are done.", 0),
    WORLD_CREATOR_GAME_MODE_ADDED("Added gamemode, press another or press done to continue.", 0),
    WORLD_CREATOR_ENTER_CENTER("World loaded. Walk to the middle of the world and click here to mark it.", 0),
    WORLD_CREATOR_ENTER_RADIUS("Center set. Click here and enter the radius of this world (in which we should search for markers and load chunks and stuff).", 0),
    WORLD_CREATOR_INFO("TODO: Enter a nice info message about the world creator", 0),//TODO world creator info

    WORLD_UNKNOWN_MAP("Could not find a map called %s :/", 1),

    GENERAL_NOT_A_NUMBER("%s is not a valid number!", 1),
    GENERAL_INVALID_ARGUMENT("u w00t m8? %s is not an accepted argument!", 1),

    LANG_INSTALLED("The following languages are installed and available on this server: %s", 1),
    LANG_USING("You are currently using langauge %s, use /lang set <language> to set it to another language.", 1),
    LANG_SET("You are now receiving messages in %s!", 1),
    LANG_UNKNOWN("Unknown language %s! Use /lang to see which languages are available!", 1),

    DATA_NOT_LOADED("Your data has not been loaded, please join again!", 0),

    COMMAND_NO_PERMISSION("You don't have the required permission %s to execute this command!", 1),
    COMMAND_NO_CONSOLE("This command can't be executed via console!", 0),
    COMMAND_TO_FEW_ARGUMENTS("You entered to few arguments! Minimum is %s, you entered &s", 2),
    COMMAND_TO_MANY_ARGUMENTS("You entered to many arguments! Maximum is %s, you entered &s", 2);

    private String defaultValue;
    private int args;

    LangKey(String defaultValue, int args) {
        this.defaultValue = defaultValue;
        this.args = args;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public int getArgs() {
        return args;
    }
}

package me.MiniDigger.VoxelGamesLib.api.lang;

/**
 * Created by Martin on 12.10.2016.
 *
 * Style note: the members needs to be sorted alphabeticly! TODO figure out how to do that..........
 */
public enum LangKey {

    WORLD_CREATOR_IN_USE("The user %s is currently using the world creator!", 1),
    WORLD_CREATOR_ENTER_NAME("Click here and enter the name of the world that you want to create.", 0),
    WORLD_CREATOR_ENTER_DISPLAY_NAME("Radius set. Click here and enter the display name for the world.", 0),
    WORLD_CREATOR_WRONG_STEP("You are trying to do the wrong step! You are at step %s, you want to do step %s!", 2),
    WORLD_CREATOR_DONE("Done creating the world! Restart the game to be able to play the map.", 0),
    WORLD_CREATOR_ENTER_AUTHOR("Name set to %s, click here and enter the author", 1),
    WORLD_CREATOR_EDIT_MODE_ON("Click here to enter map editing mode", 0),
    WORLD_CREATOR_EDIT_MODE_OFF("Click here when you are done", 0),
    WORLD_CREATOR_AUTHOR_SET("Author set to %s.", 1),
    WORLD_CREATOR_GAME_MODE_DONE_BUTTON("Done.", 0),
    WORLD_CREATOR_DONE_QUESTIONMARK("Click here if you are done.", 0),
    WORLD_CREATOR_GAME_MODE_ADDED("Added gamemode, press another or press done to continue.", 0),
    WORLD_CREATOR_ENTER_CENTER("World loaded. Walk to the middle of the world and click here to mark it.", 0),
    WORLD_CREATOR_ENTER_RADIUS("Center set. Click here and enter the radius of this world (in which we should search for markers and load chunks and stuff).", 0),
    WORLD_CREATOR_INFO("TODO: Enter a nice info message about the world creator", 0),//TODO world creator info

    WORLD_UNKNOWN_MAP("Could not find a map called %s :/", 1),

    GENERAL_NOT_A_NUMBER("%s is not a valid number!", 1),
    GENERAL_INVALID_ARGUMENT("u w00t m8? %s is not an accepted argument!", 1),

    LANG_INSTALLED("The following languages are installed and available on this server: %s", 1),
    LANG_USING("You are currently using langauge %s, use /lang set <language> to set it to another language.", 1),
    LANG_SET("You are now receiving messages in %s!", 1),
    LANG_UNKNOWN("Unknown language %s! Use /lang to see which languages are available!", 1),

    DATA_NOT_LOADED("Your data has not been loaded, please join again!", 0),

    COMMAND_NO_PERMISSION("You don't have the required permission %s to execute this command!", 1),
    COMMAND_NO_CONSOLE("This command can't be executed via console!", 0),
    COMMAND_TO_FEW_ARGUMENTS("You entered to few arguments! Minimum is %s, you entered %s", 2),
    COMMAND_TO_MANY_ARGUMENTS("You entered to many arguments! Maximum is %s, you entered %s", 2);

    private String defaultValue;
    private int args;

    LangKey(String defaultValue, int args) {
        this.defaultValue = defaultValue;
        this.args = args;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public int getArgs() {
        return args;
    }
}

fix wrong placeholder char...