TriggerReactor

TriggerReactor

24.6k Downloads

Make a namespace

wysohn opened this issue ยท 1 comments

commented

Namespace is a folder plugin/TriggerReactor/NameSpace/

In the folder, users may create their own folder to be served as namespace, so they can add the codes in a more modular way

Example:

plugin
-> TriggerReactor 
    -> NameSpace
        -> <Some Name>
            -> CommandTrigger
            -> ClickTrigger
            -> WalkTrigger
            -> ...
            -> vars.yml
        -> MyAddon.zip

Things to consider

  • Executors, Placeholders, NamedTrigger, etc will need some way to store the namespace info
    • The previously used folders need some kind of default namespace like standard and previous codes written without specifying the namespace must use the standard as the default namespace
  • Prepare for Addon system where we can place zip files to be loaded
    • the zip file must follow the same folder structure as plugin/TriggerReactor/
commented

The Addon system can be used with #353