MilkBowl / Vault

Vault of common APIs for Bukkit Plugins
GNU Lesser General Public License v3.0
495 stars 350 forks source link

Economy Provider issue #905

Closed DaRacci closed 1 year ago

DaRacci commented 1 year ago

Theres an issue with the provider system, It means that all economy plugins must specify that they should load before whatever plugin may be using the provider method when loading as this would provide the default abstract economy. Is this just how it works or am i missing something here?

Geolykt commented 1 year ago

There is an implicit contract that economy providers must load as early as possible and employ all means to do so (initializing in clinit is a way to do it for example) and economy consumers must load as late as possible (use the service registration events!)

DaRacci commented 1 year ago

I suppose that makes sense, well guess it isn't an issue then really so ill be closing this.