I have a zones plugin i want to make so i start with zones.py and such but say I wanted to add a menu for zoning capabilities but don't want to clutter the zones.py file. I made a file structure such as
Code: Select all
zones/
zones.py
core/
menus/
triggers.py
The issue is triggers.py never gets loaded since i never need to actually import anything from it since i put the SayCommands and such into it, i guess almost like its own plugin. I found that i can use import_module("zones.core.menus.triggers") to force load it but that seems like a hack so maybe I am looking at this wrong.
I could put the SayCommands into zones.py and interact with the triggers.py file so that i would have to import it but seems.. not optimal? I tried looking at the gungame plugin but that is... a lot of confusing stuff going on.
Thanks!