Vault

Vault

7M Downloads

Followup Question

ldfuller01 opened this issue ยท 1 comments

commented

I'm very sorry if I'm being a slight annoyance by doing this, but I felt that I needed to know this. In my previous issue (#562) I received a proper answer, but I didn't get as much information as I was looking for.

Although a plugin will use the highest-priority economy when it wishes to interact with Vault (I'm assuming that this should mean only one economy), why is it that both Essentials and iConomy (lol yes, I use both) have the same balances on my server? Is this because they both have an equal service priority and they're the only two economies, so the VaultAPI-using plugins interact with both of them as the highest-priority economy? Or is this something that was never intended to happen?

If it's the first one, with them both being equally prioritized and both of them being used, would my plugin work the same way in a trio if I use ServicePriority.HIGHEST when registering it to the server as an economy-management plugin?

Correct me on any of this if I'm wrong. I'm just a curious plugin developer who's eager to learn what it takes to create his new economy plugin.

commented

Essentials does a lot of things itself, if you're wanting to know more on how it handles it's economy you should direct questions about Essentials to them.

As far as Vault's side, service priority is just an ordering scheme. If 2 services have the same priority the registration system still only returns one of them. Also you're mistaken on the service priorities. iConomy is a High level priority, and Essentials Eco is a Low service priority.

As far as your last statement, please don't. There's enough economy plugins. Just contribute to one if you think something is missing features. There's already over 30 economy plugins because everyone thinks they need to make one.