MilkBowl / Vault

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

Economy got wiped? #922

Open NoFailStudios opened 1 year ago

NoFailStudios commented 1 year ago

For some reason my whole server's economy got wiped and no one has money anymore. Is there a specifc reason of this issue and is there any way to prevent it?

Geolykt commented 1 year ago

Not a Vault issue. This is related to the backend. Either you now use a different backend or the economy plugin broke

NoFailStudios commented 1 year ago

We don’t use any other economy plugins.

On Tue, 12 Sep 2023 at 16:07, Geolykt @.***> wrote:

Not a Vault issue. This is related to the backend. Either you now use a different backend or the economy plugin broke

— Reply to this email directly, view it on GitHub https://github.com/MilkBowl/Vault/issues/922#issuecomment-1715799129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7HBYYSKGRWYAGOHR7ZAGDX2BUDNANCNFSM6AAAAAA4TZIQUY . You are receiving this because you authored the thread.Message ID: @.***>

Geolykt commented 1 year ago

... then you haven't read the description of what Vault does - no wonder you are getting these issues.

This plugin is an abstract LIBRARY. Libraries don't do anything on their own unless the developers of said library explicitly claim it can do more (they do not in this case). However for reasons beyond me 50% of issues created on this issue page can be traced to people not (properly) installing an economy provider alongside Vault. The other 50% are people asking about version X support.

NoFailStudios commented 1 year ago

Okay I use essentialsX but what plugin stores the data for each player, EssentialsX or Vault? Like which of them also acts like a DB?

On Tue, 12 Sep 2023 at 16:19, Geolykt @.***> wrote:

... then you haven't read the description of what Vault does - no wonder you are getting these issues.

This plugin is an abstract LIBRARY. Libraries don't do anything on their own unless the developers of said library explicitly claim it can do more (they do not in this case). However for reasons beyond me 50% of issues created on this issue page can be traced to people not (properly) installing an economy provider alongside Vault. The other 50% are people asking about version X support.

— Reply to this email directly, view it on GitHub https://github.com/MilkBowl/Vault/issues/922#issuecomment-1715819585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7HBY43ZVVU2GKMFH2CGH3X2BVO5ANCNFSM6AAAAAA4TZIQUY . You are receiving this because you authored the thread.Message ID: @.***>

Geolykt commented 1 year ago

Vault only provides the abstraction layer so plugins can communicate with each other.

Vault does NOT store data. Vault does NOT act as a DB. Vault does NOT register economies. Vault does NOT provide a fallback economy. Vault does NOT enforce any DB schemes.

NoFailStudios commented 1 year ago

Yeah but that is the issue, it for some reason wiped the server’s economy when I reloaded a completely different plugin, which has nothing to do with economy buy does communicate with vault in order to get LuckPerms' data about playername, prefixes and suffixes. So my theory is because Vault is like a middleman in between all the plugins, it bugged out.

On Tue, 12 Sep 2023 at 17:18, Geolykt @.***> wrote:

Vault only provides the abstraction layer so plugins can communicate with each other.

Vault does NOT store data. Vault does NOT act as a DB. Vault does NOT register economies. Vault does NOT provide a fallback economy. Vault does NOT enforce any DB schemes.

— Reply to this email directly, view it on GitHub https://github.com/MilkBowl/Vault/issues/922#issuecomment-1715928274, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7HBY3MJK6QQSW3LNPOAD3X2B4NJANCNFSM6AAAAAA4TZIQUY . You are receiving this because you authored the thread.Message ID: @.***>