Allow plugins to self-configure when they are loaded
luxaritas opened this issue · comments
Jonathan Romano commented
Currently, we load plugins by folder depending on what type of server we boot. Instead, we should have a class parameter or decorator that specifies which types of server it should be loaded for. This could be done using a syntax like:
*
(always loaded)auth
(auth only)master
(master only)world:*
(any world server)world:char
(char only)world:<zoneid>
(only world servers of a zone with the given numeric ID - perhaps we add an enum with common world names)