Skip to content

TeamMeadows/atomic-framework

Repository files navigation

About

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.

Dependency Management

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.

Other features

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")
Example of addon based on Atomic

Also see the other examples


Installation

Download the latest release of Atomic Framework, and extract it to the garrysmod/addons folder.
We also recommend installing MySQLOO to work with MySQL.

Ecosystem

Our ecosystem already includes awesome packages such as:


Contributing

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.

About

🪴Bringing some order to Garry's Mod coding via overengineering

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages