aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/mods/modmanager.cpp
AgeCommit message (Collapse)Author
2023-12-14Add plugin dependency constants (#458)v1.21.0-rc1cat_or_not
Adds dependency constants for plugins so mods can rely on plugins without always producing script errors when the plugin is missing
2023-11-21Add mod versions when logging that a mod has loaded (#596)v1.20.1-rc5v1.20.1Cyn
Prints the version of the mod when loaded succesfully
2023-10-09Create mod entry in `enabledmods.json` if it doesn't exist (#410)Rémy Raes
Currently, when you add a new mod to your `mods/` directory, when there's no associated entry in the `enabledmods.json` file, it is considered enabled by default; mod entries are only written in `enabledmods.json` when toggling them via the mods interface. In this pull request, I propose to create mod entries in `enabledmods.json` on startup when detecting they don't exist.
2023-09-15feat: Enforce Thunderstore format for remote mods (#535)Rémy Raes
* feat: enforce Thunderstore format for remote mods * refactor: remove remote mods directory from "classic" mod loading --------- Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
2023-07-29Validate package pattern before checking for plugins (#525)v1.18.0-rc1v1.18.0Jan
Adds missing validation check to ensure that the package folder the plugin is included in matches the `AUTHOR-MOD-VERSION` pattern.
2023-07-29Warn about the package dir, not the mod dir (#526)Jan
2023-07-16Add support for loading Thunderstore mods natively (#503)GeckoEidechse
Allows for loading Thunderstore mods directly from a separate directory called `packages`.
2023-07-07Improve logging for mods (#445)v1.16.3-rc2v1.16.3-rc1v1.16.3v1.16.2-rc1v1.16.2v1.16.1-rc1v1.16.11.16.XJack
- Removes the log spam of "changing mod search path" - Logs mods as they are loaded, alongside their ConVars, Scripts, ConCommands, etc. - Warns in the console about errors in the mod.json instead of silently skipping things
2023-07-02Basic mods blacklisting (#474)v1.16.0-rc2v1.16.0F1F7Y
2023-04-19Fix incorrect script ConCommand argc (#446)Glacir
2023-04-11Plugin system v2 (#343)Emma Miler
* Some work * Rewrite gamestate presence * Add plugin system logger * Format changes * Format chjange * Fix gamestate stuff * some callback stuff * move around invite stuff * move invite to funcs * fix presence server data * Actually call InformSQVMCreated * bruh * Fix TODO's * Formatting * Fix filters * Add InformDLLLoads * Fix plugin handle always being 0 * Formatting * Fix merge issues * Formatting * Mods can add files compiled at SQVM init * Some Small Fixes * Add changes from review * Fix load failure * Add new squirrel functions * actually call InformSQVMDestroyed * add CreateObject function * answers to complaints * remove snake cases from GameStatePresence --------- Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2023-02-14Force-include `pch.h` to all files, remove explicit includes (#393)p0358
* force-include "pch.h" in all units, as it will error if it's not included anyways * remove #include "pch.h" from all files as it's not needed anymore now * fix size of NSUserAgent to be consistent (it's 256 in version.cpp, caused compile error) * Re-add explicit pch.h include to pch.cpp (and ran clang-format) * drop pch.h inclusion from new files
2023-02-09Add Destroy callback for squirrel scripts. (#383)v1.12.3-rc2v1.12.3-rc1v1.12.3Erlite
* Add Destroy callback for squirrel scripts. * Switch _call() to Call()
2023-01-30feat: Remote mods directory (#403)Rémy Raes
* feat: create remote mod directory * feat: look for mods in remote mods directory
2023-01-30Format content of `enabledmods.json` (#406)Glacir
Format enabledmods.json
2022-12-22Add script concommands (#373)Emma Miler
* Add script concommands * Fix indent * Formatting * Formatting stuff * Changes for review * Fix typo * Forgot to remove the return statement * Formatting
2022-12-19Restructuring (#365)Emma Miler
* Remove launcher proxy * Restructuring * More restructuring * Fix include dirs * Fix merge * Remove clang thing * Filters * Oops