Atlas Core
Library for Atlas Projects
This simple library provides developers with a convenient command system and a reliable configuration system, although some features are still under development. Over time, the functionality will be expanded and existing capabilities will be improved.
Command System
Currently, the command library includes a special argument type that allows using interchangeable parameters. This means that if certain arguments are not required, the user can specify only the necessary parameters in the format <argument_name>=<value> with appropriate suggestions.
In the future, command-line parameters supporting the syntax [--parameter value -anotherParameter] with intelligent input suggestions are planned. Work with standard argument types and additional options added by Atlas Core will also be simplified.
Configuration System
Configuration files are by default saved in the folder ./config/<mod_id>/<config_path>.json, where they can be edited manually.
If the configuration supports a graphical interface, it will be available in the "Atlas Configs" menu in the settings section both on the pause screen and on the main screen. With the Mod Menu mod installed, the Atlas Configs menu is displayed as settings for Atlas Core. If a mod has its own configuration with a settings screen, it will become available through Mod Menu for that mod.
Configuration management is also possible through the /atlas_config command, which allows:
- Resetting, reading, or reloading all configurations simultaneously
- Working with a specific configuration
- Editing, resetting, or retrieving values of individual options
For Mod Developers
Want to use this library in your project? We recommend reviewing the documentation for implementation information.