Wiki 9Minecraft Wiki 9Minecraft

How to Format Values Correctly in ConfigLib148 Files

When you edit a mod's setup file by hand or adjust options in a menu, ConfigLib148 requires each setting to match one of its supported data types. Entering the wrong format in a text file can cause a setting to reset or fail to read.

Supported Number and Toggle Formats

  • Boolean: Handles simple on/off toggles. Enter only true or false in lowercase without adding numbers or extra words.
  • Integer and Long: Stores whole numbers of different sizes. Enter a number without any decimal points, commas, or fraction marks (for example, write a clean whole number rather than a decimal).
  • Float and Double: Manages decimal numbers for precise values. Always use a standard period (.) as the decimal separator when entering precise figures.

Supported Text and List Formats

  • String: Holds lines of plain text, such as custom messages or names. When editing a setup file manually, keep the plain text inside its existing quotation marks so the library reads the entire line properly.
  • Enum: Chooses from a set list of specific options defined by the mod. When changing an Enum value in a text file, you must type one of the exact option names supported by that mod, matching its spelling and capitalization.
Join 9Minecraft News & Guides