Make a namespace
wysohn opened this issue ยท 1 comments
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 thestandard
as the default namespace
- The previously used folders need some kind of default namespace like
- 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/
The Addon
system can be used with #353