The Atomic Framework is a framework for Garry's Mod that manages the loading and lifecycle of your addons.
Instead of working with traditional addons, Atomic uses the concept of a package.
A package is a logical unit that may depend on other packages.
During development, you can specify which packages your project needs.
Atomic automatically determines the loading order and ensures that all dependencies are fully ready for use before your code runs.
This eliminates the need to write additional checks, timers, or hooks to wait for third-party libraries and other addons to load.
Atomic Framework includes built-in APIs for:
- Configuration
- Networking
- Localization (i18n)
- Webview (DHTML based UI)
- Commands
local package = current()
package:listen(function(self, player)
self.logger:info("%s has been dead :(", player)
end, "PlayerDeath")Also see the other examples
Download the latest release of Atomic Framework, and extract it to the garrysmod/addons folder.
We also recommend installing MySQLOO to work with MySQL.
Our ecosystem already includes awesome packages such as:
- MeadowsORM - Prisma-like ORM
- MeadowsUI - UI library
- Zen - Administration system
- CameraAPI - Shared interface for player view managment
- Meadows Bundler - GitHub Action for automatically minifying addons and packages
- RNDX for Atomic - Port of RNDX for Atomic Framework
We welcome all contributions - bug fixes, improvements, and new libraries are appreciated. Please follow the project’s coding style and submit a pull request through GitHub.
