
Commands4Configs
The Commands4Configs mod allows you to edit configuration files directly during Minecraft gameplay using the special /config
command. This significantly simplifies the mod configuration process without needing to exit the game and manually edit text files.
Main Features
Using the /config
command, you can perform various operations with settings:
- Getting values: View current configuration parameters
- Changing settings: Set new values for existing parameters
- Adding elements: Insert new entries into configuration files
- Removing parameters: Remove unnecessary settings from configuration
Command Syntax
The basic command format looks like this:
/config <modid> <side> <get|set|add|remove> <key> [value]
Command parameters:
modid
- the mod identifier whose configuration needs to be changedside
- determines the execution side (COMMON or SERVER, client side not currently supported)get|set|add|remove
- operation typekey
- path to the configuration parameter using dots (for example:category.subcategory.key
)value
- new value (only for set/add operations)
Important Features
- For parameters containing spaces, be sure to use quotes
- Changes are applied instantly and saved automatically
- Supports working with most popular Forge mods