Wiki

Clone wiki

Triumph / Home

Config Reference:

Having no config will write one with a couple example achievements.

"Achievements To Remove": This string array can be filled with achievement ids in order to have them removed.

"Achievements": This object array is where you make all your achievements.

    "Name":
            This string will be used as both the display name and statid for the achievement. THIS MUST BE UNIQUE.

    "Description":
            This string will be used for the achievement's description. This is what shows up when you hover over an achievement.

    "XPos":
            This int is used for the X position of the achievement on the page.

    "YPos":
            This int is used for the Y position of the achievement on the page.

    "Icon":
            This string is the name of the item to be used for the achievement's icon.

    "Color":
            This enum is the color to be displayed in chat when the achievement is achieved. See below for Allowed Colors.

    "Special":
            This boolean sets if the achievement is "special". This will give it a fancy spikey border instead of a square one.

    "Count":
            This int is the number of times the achievement must be completed before it is given to the player.

    "Triggers"
            This object array is where you make all of the triggers for the achievement. A trigger is something that must happen in order for the achievement to be completed.

            "Name":
                    This string will be used as the id for the trigger. This will be used internally only and it will not be shown anywhere in-game. THIS MUST BE UNIQUE WITHIN THE ACHIEVEMENT.

            "Usage":
                    This string is the way you want the trigger to be used. There are currently two options, "AND", "OR".
                    "AND" This means that the trigger must be completed for the achievement to complete.
                    "OR" Only ONE trigger with the "OR" type for an achievement must be completed for the achievement to complete.
                    Example: If you have 2 "OR" triggers and 2 "AND" triggers for the achievement, both "AND" triggers must be completed, but only one of the "OR" triggers must be completed.

            "Count":
                    This int is the number of times the trigger must be completed for the achievement to complete.

            "Trigger Type":
                    This string is the type of trigger this is. See Trigger Type Reference below for list of types.

            Depending on the type of trigger, you can adds an object array of various types of data here. The data is used to add guidelines to the trigger on what is acceptable for completion. Adding them is completely optional.
                    Example:
                            "Block Data": [
                                    {
                                            "Name": "minecraft:dirt",
                                            "Metas": [
                                                    2
                                            ]
                                    }
                            ]

"Achievement Pages": This object array is where you make all your achievement pages.

    "Name":
            This string is the name of the page.

    "Achievement List":
            This string array can be filled with the ids of achievements you want to add to the page.

Trigger Type Reference:

    BLOCK_BREAK:
            This trigger type is for when a player breaks a block.
            Available data types: "Block Data", "Item Data"

    BLOCK_PLACE:
            This trigger type is for when a player places a block.
            Available data types: "Block Data"

    BLOCK_INTERACT:
            This trigger type is for when a player interacts with a block. (clicks on it)
            Available data types: "Block Data"

    ITEM_CRAFT:
            This trigger type is for when a player crafts an item.
            Available data types: "Item Data"

    ITEM_PICKUP:
            This trigger type is for when a player picks up an item.
            Available data types: "Item Data"

    ITEM_TOSS:
            This trigger type is for when a player "tosses" an item(pressing Q, dragging it out of inventory, etc).
            Available data types: "Item Data"

    ITEM_SMELT:
            This trigger type is for when a player takes a smelted item out of a furnace.
            Available data types: "Item Data"

    ITEM_USE_START:
            This trigger type is for when a player starts using an item.
            Available data types: "Item Data"

    ITEM_USE_STOP:
            This trigger type is for when a player stops using an item.
            Available data types: "Item Data"

    ITEM_USE_FINISH:
            This trigger type is for when a player finishes using an item.
            Available data types: "Item Data"

    DIMENSION_CHANGE:
            This trigger type is for when a player changes dimensions.
            Available data types: "Dimension Data"

    PLAYER_RESPAWN:
            This trigger type is for when a player respawns.
            Available data types: "Dimension Data"

    PLAYER_JUMP:
            This trigger type is for when a player jumps.
            Available data types: none

    PLAYER_FALL:
            This trigger type is for when a player falls.
            Available data types: "Movement Data"

    PLAYER_ATTACKED:
            This trigger type is for when a player is attacked by another entity.
            Available data types: "Entity Data"

    PLAYER_DEATH:
            This trigger type is for when a player is killed.
            Available data types: "Entity Data"

    PLAYER_LOGIN:
       This trigger type if for when a player logs in.
       Available data types: none

    SERVER_COMMAND:
            This trigger type is for when a player uses a server command.
            Available data types: "Command Data"

    SERVER_CHAT:
            This trigger type is for when a player says something in the chat.
            Available data types: "Chat Data"

    CHUNK_ENTER:
            This trigger type is for when a player enters a chunk.
            Available data types: "Location Data"

    LIGHTNING_STRIKE:
            This trigger type is for when a player is struck by lightning. (Unfortunately, as I have no way to make lightning happen, I have been unable to confirm that this one works)
            Available data types: none

    ENDER_TELEPORT:
            This trigger type is for when a player teleports using an ender pearl.
            Available data types: none

    ATTACK_ENTITY:
            This trigger type is for when a player attacks an entity.
            Available data types: "Entity Data"

    KILL_ENTITY:
            This trigger type is for when a player kills an entity.
            Available data types: "Entity Data"

    DAMAGE_ENTITY:
            This trigger type is for when a player damages an entity.
            Available data types: "Entity Data"

    ENTITY_INTERACT:
            This trigger type is for when a player interacts with an entity. (clicks on it)
            Available data types: "Entity Data"

    NOCK_ARROW:
            This trigger type is for when a player "nocks an arrow". (Begins pulling back on a bow)
            Available data types: none

    LOOSE_ARROW:
            This trigger type is for when a player looses an arrow.
            Available data types: none

    PICKUP_XP:
            This trigger type is for when a player picks up XP.
            Available data types: none

    OPEN_CONTAINER:
            THIS TYPE IS NOT YET PROPERLY IMPLEMENTED AND WILL NOT WORK.

Data Type Reference:

    "Block Data":
            This data object is for block related data.

            "Name":
                    This string is the name of the block.

            "Metas":
                    This int array is the list of metadata for the block.


    "Item Data":
            This data object is for item related data.

            "Name":
                    This string is the name of the item.

            "Metas":
                    This int array is the list of metadata/damage for the item.


    "Entity Data":
            This data object is for entity related data.

            "Name":
                    This string is the name of the entity.


    "Dimension Data"
            This data object is for dimension related data.

            "Current Dimensions":
                    This int array is for current dimensions.

            "Destination Dimensions":
                    This int array is for destination dimensions.

            "Origin Dimensions":
                    This int array is for origin dimensions.


    "Location Data":
            This data object is for location related data.

            "X":
                    This int array is for x positions.

            "Y":
                    This int array is for y positions.

            "Z":
                    This int array is for z positions.


    "Movement Data":
            This data object is for movement related data.

            "Minimum X Change":
                    This int is for a minimum change in x position.

            "Minimum Y Change":
                    This int is for minimum change in y position.

            "Minimum Z Change":
                    This int is for minimum change in z position.

            "Minimum Movement":
                    This int is for minimum general movement. It may be used by triggers which only handle one type of movement.


    "Command Data":
            This data object is for command related data.

            "Name":
                    This string is the name of the command.


    "Chat Data":
            This data object is for chat related data.

            "Message":
                    This string is the chat message.

Allowed Colors:

    BLACK
    DARK_BLUE
    DARK_GREEN
    DARK_AQUA
    DARK_RED
    DARK_PURPLE
    GOLD
    GRAY
    DARK_GRAY
    BLUE
    GREEN
    AQUA
    RED
    LIGHT_PURPLE
    YELLOW
    WHITE

Updated