nikosgram / gringotts

Gringotts is an item-based economy plugin for the Bukkit Minecraft server platform. Unlike earlier economy plugins, all currency value and money transactions are based on actual items in Minecraft, per default emeralds.
https://www.spigotmc.org/resources/gringotts.42071/
BSD 2-Clause "Simplified" License
43 stars 35 forks source link

Towny - "You don't have that much" when /t deposit 1 #85

Closed AbsDataStruct closed 1 year ago

AbsDataStruct commented 2 years ago

Describe the bug Using Gringotts-2.12.2 along with Towny-0.97.5.6 I could not succeed to make deposit on the town bank account : I have emerald items in my inventory, they are actually removed from my inventory but I've finally got the message "You don't have that much" and no money are deposited.

To Reproduce Steps to reproduce the behavior:

  1. Create a new town
  2. Get 64 emerald items
  3. make a deposit on the town account of 10 emeralds with /t deposit 10
  4. There is 54 emeralds left in my inventory
  5. see "You don't have that much" message
  6. No money are deposited
  7. the gringotts:balance displays : Your current balance: 54 Emeralds Vault balance: 0 Emeralds Invenroty balance: 54 Emeralds See Screenshot

Expected behavior Since the Emeralds are taken successfully from the inventory, other plugin should be able to receive the money using Vault

Screenshots emerald

Desktop (please complete the following information):

Additional context I thought first it was a problem with Towny, but they told me that they are using the vault virtual money manager to process the payment, so they suggest that Gringotts could not implement correctly vault virtualization of money ...

If I did something wrong, I don't understand what. It looks like Towny and Gringotts can work together. I really need help to understand the problem ... Thanks for any comment or suggestion in order to solve and improve this wonderful plugin.

kurkii commented 2 years ago

I have this same issue, paper 1.18.1, towny 0.97.5.11, gringotts 2.12.2

MetalPinguinInc commented 2 years ago

I also ran into this issue, in my case I did not have a Town Vault for the town I just made. You can make a Town Vault by placing a chest, putting a sign over it and typing [Town vault] on the sign (Including the [] brackets!)

The real issue seems to be that Gringotts does not send a proper error message and just takes the funds.

Frithy0 commented 2 years ago

Same for me with Towny 0.98.2.6

nikosgram commented 2 years ago

Hello,

That is an interesting issue. Looking into it. :)

AbsDataStruct commented 2 years ago

hey thanks !!!! ^_^ I still cannot make that server without it 😉


From: Nikolaos Grammatikos @.> Sent: Wednesday, July 6, 2022 6:54 PM To: nikosgram/gringotts @.> Cc: AbsDataStruct @.>; Author @.> Subject: Re: [nikosgram/gringotts] Towny - "You don't have that much" when /t deposit 1 (Issue #85)

Hello,

That is an interesting issue. Looking into it. :)

— Reply to this email directly, view it on GitHubhttps://github.com/nikosgram/gringotts/issues/85#issuecomment-1176454412, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS2TMEBFTJVMHVA2CZZIGGLVSW24FANCNFSM5K7IFFWA. You are receiving this because you authored the thread.Message ID: @.***>

OskarZyg commented 1 year ago

+1