promotional bannermobile promotional banner

Custom Achievements

Configure custom achievements and trophies

This mod is for modpack makers and not intended just to be installed because it needs configuration.

You can configure and add custom achievements and trophies through editing a json file.

If you add this to your modpack and start it once, this mod adds an example json file in your config folder which you should edit.

The example file should be self explanatory, but if not here is an overview over the attributes:

  • tabname - This is the tab name of your achievements in the Achievements Menu
  • uid - Unique identifier for your achievements, the name doesn't matter, it's only internal, just make sure it's unique
  • name - Name of the achievement
  • desc - Description of the achievement when you hover over its name
  • type - Can have one of those values
    • "Detect" - Triggers when you pick up an item
    • "Craft" - Triggers when you craft an item
    • "Interact" - Triggers when you right click a block (1.11 only)
    • "Use" - Triggers when you right click an item (1.11 only)
    • "Place" - Triggers when placing this block (1.11 only)
    • "Mine" - Triggers when breaking this block (1.11 only)
    • "Stat" - Triggers when a statistic value is reached (1.11 only)
      • needs "stat" - name of the statistic
      • needs "statValue" - value of the statistic
    • "Kill" - Triggers when a mob is killed by the player (1.11 only)
      • needs "mob" - name of the mob
  • item - Internal name of the item that you have to craft or pick up to trigger the achievement
  • meta - (optional) Metadata of the before mentioned item
  • ignoreMeta - Set to true if metadata should be ignored, otherwise false
  • parent - (optional) uid of the parent achievement that has to be completed to be able to trigger this achievement
  • trophy - Set to true if the player should get a trophy when triggering the achievement, otherwise false
  • xpos - Horizontal position of the achievement in the Achievement Menu
  • ypos - Vertical position of the achievement in the Achievement Menu 

This mod is work in progress, several things are still planned, including

  • backporting 1.11 features
  • better trophy model (contact me if you have an idea or can create nice textures)

I coded this mod for my modpack Age of Engineering, but you can use this of course for your own modpack, no need to ask me.

The Custom Achievements Team

profile avatar
  • 15
    Followers
  • 5
    Projects
  • 1.5M
    Downloads

More from davqvistView all

  • Q-tech project image

    Q-tech

    • 57.1K
    • Modpacks

    Light weight non-expert tech progression pack for 1.15.2

    • 57.1K
    • October 4, 2020
    • Modpacks
    • +1
  • Exoria project image

    Exoria

    • 158.2K
    • Modpacks

    Exiled on a volcanic planet

    • 158.2K
    • July 20, 2018
    • Modpacks
    • +4
  • Restriction project image

    Restriction

    • 232.8K
    • Mods

    Restrict the placement and access of blocks and machines

    • 232.8K
    • May 13, 2018
    • Mods
  • Age of Engineering project image

    Age of Engineering

    • 589.5K
    • Modpacks

    Tech-only modpack with guide and trophies. Focus in progression, divided in 15 ages

    • 589.5K
    • November 25, 2017
    • Modpacks
    • +3
  • Q-tech project image

    Q-tech

    • 57.1K
    • Modpacks

    Light weight non-expert tech progression pack for 1.15.2

    • 57.1K
    • October 4, 2020
    • Modpacks
    • +1
  • Exoria project image

    Exoria

    • 158.2K
    • Modpacks

    Exiled on a volcanic planet

    • 158.2K
    • July 20, 2018
    • Modpacks
    • +4
  • Restriction project image

    Restriction

    • 232.8K
    • Mods

    Restrict the placement and access of blocks and machines

    • 232.8K
    • May 13, 2018
    • Mods
  • Age of Engineering project image

    Age of Engineering

    • 589.5K
    • Modpacks

    Tech-only modpack with guide and trophies. Focus in progression, divided in 15 ages

    • 589.5K
    • November 25, 2017
    • Modpacks
    • +3