Vurv78 / Autorun-rs

Modern scripthook with lua execution and filesteal. Replacement for gluasteal and most lua executors
Apache License 2.0
104 stars 11 forks source link

Plugin / Addon system #36

Closed Vurv78 closed 2 years ago

Vurv78 commented 2 years ago

Have a folder dedicated for plugins/addons. You could enable, disable these at any time through the cli

Additional potential features that are non-blocking to this issue

Thinking of the structure being like this:

C:\Users\<User>\autorun
├── \plugins\ # Main plugins folder
│   ├── \Safety\
│   │   ├── \scripts\ # Localized \scripts\ folder like the current system.
│   │   └── main.lua # Entrypoint
│   │   └── plugin.toml # Defines name, author, source, license, settings, etc.
Vurv78 commented 2 years ago

Technically done with https://github.com/Vurv78/Autorun-rs/commit/431487fcbb9083d30e9e49c2e1b5943399daa3f0 but need to get Autorun.require sorted out and link the settings to the cli / menu.