AppleDash / SaneEconomy

Finally, a sane economy plugin for Bukkit.
https://www.spigotmc.org/resources/saneeconomy-simple-but-featureful-economy.26223/
GNU General Public License v3.0
19 stars 24 forks source link

Balance changes between servers not reflected immediately #57

Closed ghost closed 4 years ago

ghost commented 6 years ago

If a player gets paid by someone on another server, the expected behavior is that they should be able to see their updated balance immediately with /bal. Instead, the recipient doesn't see their new balance until they relog. This leads to confusion and inconvenience for players. Ideally, players would even receive a notification in chat when they are paid by someone from another server, but I understand that that might not be a trivial addition.

AppleDash commented 6 years ago

That's.... hmm, not entirely supported at the moment. I can probably make it work, but it may require a BungeeCord plugin.

ghost commented 6 years ago

The simplest solution I can think of is to fetch the player's balance from the database for every query/change of their balance, but that might pose some performance problems.

AppleDash commented 6 years ago

Can't do that, that's a major reason most economy plug-ins are slow and bad

On September 17, 2017 7:50:17 PM EDT, Carter notifications@github.com wrote:

The simplest solution I can think of is to fetch the player's balance from the database for every query/change of their balance, but that might pose some performance problems.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/AppleDash/SaneEconomy/issues/57#issuecomment-330102572

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

sgdc3 commented 6 years ago

That's.... hmm, not entirely supported at the moment. I can probably make it work, but it may require a BungeeCord plugin.

Nope, you can do that with broadcast plugin messages. https://www.spigotmc.org/wiki/bukkit-bungee-plugin-messaging-channel/#forward

sgdc3 commented 6 years ago

Without any bungee-side plugin

AppleDash commented 6 years ago

@sgdc3 Cool, I'll look into it!

AppleDash commented 6 years ago

Can you give this a try for me? https://github.com/AppleDash/SaneEconomy/releases/tag/0.13.0

AppleDash commented 6 years ago

Any luck? Try latest release (not that link I gave you.)