v3.1.0 - Config JSONs, Manifest, Maintenance
Includes many fixes and improvements, and some major breaking changes.
New Features
Config JSONs:
- You can now access user-defined settings in from a mod-specific JSON file.
- You can also set your mod's default settings in its manifest.
- Usage docs on the wiki: Config JSON
- API docs:
get_mod_config
- More details in PR #31
Breaking Changes
- All funcs have been converted to snake_case. See the required replacements in PR #32
- meta.json is renamed to manifest.json, and its required keys have changed
- See
REQUIRED_MANIFEST_KEYS_ROOT
andREQUIRED_MANIFEST_KEYS_EXTRA
inmod_loader.gdmod_manifest.gd
- See
What's Changed
- Fix not getting mod ID from
extra.godot.id
in PR #27 by @ithinkandicode in #30 - Add cli argument for mod folder path by @otDan in #28
- Convert to snake case by @ithinkandicode in #32
- Return an empty dictionary on error for
_get_json_as_dict
by @ithinkandicode in #43 - Add named subfolder support to
_get_local_folder_dir
by @ithinkandicode in #44 - Fix
dev_log
using an empty string as the default formod_name
by @ithinkandicode in #41 - Add required tag:
namespace
by @ithinkandicode in #39 - Migrate bulky README content to Wiki by @ithinkandicode in #37
- Add required tag:
compatible_modloader_version
by @ithinkandicode in #40 - Improve Comments by @ithinkandicode in #42
- Rename CLI arg
mod-dev
tolog-dev
by @ithinkandicode in #38 - Log resource path in
add_translation_from_resource
by @ithinkandicode in #46 - Fix not using camelcase for
save_scene
by @ithinkandicode in #45 - improve date padding and formatting for logs by @Qubus0 in #49
- fix local folder for osx by @Qubus0 in #48
- add basic gitignore by @Qubus0 in #47
- Readme fixes (compatible modloader version, indent with tabs) by @ithinkandicode in #52
- Config JSON by @ithinkandicode in #31
- Remove
id
meta tag and validate mod ID by @ithinkandicode in #51 - README - remove
id
from example json by @ithinkandicode in #55
New Contributors
Full Changelog: v3.0.0...v3.1.0