LitheraRP now has a real code addon SDK.

With s&box Targeted Addons, addon projects can target LitheraRP directly, implement ILitherarpAddon, and hook into the gamemode without forking it. Addons get host/client lifecycle methods, host tick support, shutdown cleanup, logging, config access and runtime registration APIs.

Code loading is intentionally opt-in. Operators must enable code addons globally, then enable code per addon entry. Packages also need to be published against LitheraRP as their parent game, with local.* support for editor development.

Addons can now register runtime jobs, shop stock, weapon dealer items, food dealer items, NPCs, custom NPC kinds, clothing entries, runtime item definitions, localization, config files, public config sections, screen panels and chat commands.

That means addons can add real gameplay content instead of only patching JSON.

The update also includes an example addon project with a Courier job, an Energy Bar, a HUD panel, a /hello chat command, gameplay hooks, config, player data, and a custom vehicle vendor NPC.
A new gameplay event bus exposes both post-events and cancelable pre-hooks.

Addons can react to or block actions across player connection, spawning, jobs, economy, shop purchases, dealer purchases, combat, cuffs, jail, fines, warrants, bank operations, salaries, printers, properties, chat, items, votes, lottery, heists, laws, group banks, medical, taxi fares, hit contracts, drugs, props and phone activity.

Pre-hooks can deny actions with a visible reason, or adjust supported values such as salary amount, jail duration or damage.


Addons can now save their own per-player JSON data separately from core player saves.

They can also sync private per-player sections to only the owning client, which is perfect for addon HUDs, quests, XP, wallets or progression systems. The new status effect API supports timed effects, damage-over-time helpers, addon-scoped IDs and automatic cleanup.

Addon UI can register persistent ScreenPanels, and trusted addons can hide or restore non-protected core panels when replacing parts of the HUD.


Full SDK documentation and a runnable example addon are included for creators.
Addons Update
0.8.0
9 July 2026
🎁 Added
  • Code addon SDK for s&box Targeted Addons: ILitherarpAddon lifecycle, host/client activation, host tick hooks and shutdown teardown.
  • Code loading is opt-in at global and per-addon level, gated by trusted ParentPackage metadata, with local.* support for editor development.
  • Addon context can register runtime jobs, shop stock, NPCs, custom NPC kinds, clothing, runtime items, config files, localization, screen panels and chat commands.
  • Public addon config sections sync through the normal config snapshot, while per-player addon sections sync privately to the owning client.
  • Gameplay event bus exposes cancelable pre-hooks and post-events across connection, jobs, economy, combat, law, bank, salary, shops, dealers, property, chat, inventory, votes, heists, phone, taxi, drugs and props.
  • Per-addon player data persistence stores JSON under addon_data/<addon>/<steamId>.json, separate from core player saves.
  • Status effects API added with timed effects, damage-over-time helpers, addon-scoped ids and automatic cleanup.
  • Public host primitives added for player teleport, owned vehicle spawning, property-group release, group bank accounts and owned-object management.
  • Addon UI registry supports persistent addon panels and controlled hiding/restoring of non-protected core panels.
  • Example addon project ships with config, a job, food item, HUD panel, chat command, gameplay hooks, custom vehicle vendor NPC and compile-check project.
🧼 Improved
  • Added full Addon SDK documentation and updated creator documentation.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.