Skip to content

Feature Request: Allow plugins to be separate resources #831

@sn8to

Description

@sn8to

Is your feature request related to a problem? Please describe.
EasyAdmin has a pretty good plugin system that allows easily adding custom functionality, however these plugins have to be included within the EasyAdmin resource plugins folder. This prevents plugin authors from creating escrowed plugins, or implementing external dependencies within the plugin without modifying EasyAdmin's fxmanifest.lua

Describe the solution you'd like
Allow plugins to be registered and called from other resources. I think this is as simple as adding addPlugin to exports, but FiveM might throw a fit about passing functions around like that.

Describe alternatives you've considered

  • Don't create escrowed resources: if your resource is sold, then it's basically impossible to avoid someone leaking the code for free
  • Rely on server owners/developers to modify EasyAdmin's fxmanifest.lua to add dependencies: this can be done incorrectly by idiots less-knowledgeable users, and can cause issues in certain situations

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions