Tips

This mod will put tip messages about the game on loading screens. By default these messages are about vanilla mechanics, however other mods can easily add their own tips. Modpacks can also use this mod to add their own tips that are specific to their pack.

 

Adding Tip

If you are making a modpack, you can can add new tips by editing the config/tips.cfg file. Each line in the customTips section will be read as a new tip that can be displayed.

    # A list of custom tips added by the user or modpack. [default: ]
    S:customTips <
        This line of text will show up as a new tipe.
        This line of text is another seperate tip.
	This tip will have a custom title in game.#SPLIT#Custom TIP
     >

If you are a mod author and would like to add tips to your mod, you can simply add mods.tips.modid.1=Your tip here. to your lang file. This mod can automatically detect when mods have defined custom tooltips and will load them without you having to add any code! Your mod can add as many tooltips as you want, just make a new entry to the lang file with an increased number at the end. Please note that the detection code will stop detecting new tips if the next number in the sequence can not be found. For example if you have tips for the numbers 1, 2, 4, and 5, only tips 1 and 2 will be loaded because tip 3 can not be found. Modpack authors can disable all tips detected this way by setting allowDefaultTips to false in the config file.

Mod API

Please refer to this section on GitHub for information about the code based modding API and what it can do. 

 

 

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files