Vendetta/API/activate mod

From Quasar-RCE
Revision as of 06:33, 3 March 2025 by Wikiadmin (talk | contribs) (Created activate_mod)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Definition

lib.activate_plugin (id, version, verification_key) :: nil

Description

Attempts to activate a mod in the registry

Arguments

  1. string id: name of the mod to be activated
  2. string version: version of the mod to be activated
  3. verification_key: a security key given to Neoloader's active management system

Returns

  1. nil

Other notes

  • Added in LME 3.x.x (Initial design)
    • Edited in 3.4.x: plugins can now manually activate other plugins if they have the authorization token
  • Mods shouldn't try to self-load; mods are meant to be controlled by the user.