Summary
Core framework for HAC mods: JSON config management, unified logging, chat notifications, role/permission system with inheritance, and dynamic in-game help commands.
Description
HAC Core is the shared foundation for all HAC mods and can also be used by other modders.
Features:
- ConfigManager: standardized and simplified JSON config handling
- Logger: unified logging interface with timestamps and module names
- Notification System: a single interface to send color-coded, multi-line messages to chat
- Permission System: role-based permissions with inheritance, configurable via JSON
- Dynamic Help: a #help command that adapts to the player’s permissions and loaded modules
Chat Commands - #command - Description (Permission):
#hac - Prints a list of loaded modules (hac.hac)
#help (Module) - Prints a help message (hac.help)
#myrole - Prints your current role (hac.role.myrole)
#listroles - Prints a list of all roles (hac.role.list)
#setrole <Player> <Role> - Sets the role of the player (hac.role.set)
License
Arma Public License (APL)