GDAddon ๐Ÿค”

July 25, 2026 ยท View on GitHub

This extension uses eval() for execution of Javascript, which is a security risk!!

GDAddon ๐Ÿค”

If you're looking for modding (not addons), then use gdmod instead of this.

Adds functionality for loading & deleting of addons. Each addon has a Name and a Source code, these are defined when the addon is first loaded. To run your addons, just add Execute (all) addons action into a separate event.

Basic example

Screenshot 2025-04-05 203529 Screenshot 2025-04-06 151347

Making addons

Every addon needs a Name and a Source, the Name is being used to access the addon later (for example if you want to remove it). And Source is the JavaScript that the extension will execute from this specific addon.

Websites i recommend when writing in Javascript for Gdevelop 5 are the gdjs documentation and the wiki (which has the basics)

List of features:

Actions

Load addon with name _PARAM1_ and source _PARAM2_
Remove addon with name _PARAM1_
Execute (all) addons

Expressions

GDA::IndexByName()
GDA::NameByIndex()
GDA::ListLength()