YiC200333 / XConomy

An economy plugin that supports data synchronization between multiple servers
GNU General Public License v3.0
95 stars 33 forks source link

Couldn't pass PluginMessageEvent to xconomy #62

Closed dex2code closed 2 years ago

dex2code commented 2 years ago

Version of XConomy
XConomy V2.18.4

Server version
Paper 1.17.1

Storage-type MySQL

Describe the issues
Hello!

Faced the following error:

I have Velocity server (3.1.1-98) and two Minecraft servers (paper-1.17.1-411) XConomy-Bukkit-2.18.4 installed on all servers (velocity and both paper). Vault is installed on paper servers only (of course)

all 3 servers are installed on the same VPS (different ports)

BungeeCord: enable: true sign: E8

BC flag set to true on both paper servers. Sign is the same (E8) on both paper servers

Sometimes I see that economy operations are success even if player is offline and I see the following error on velocity:

[19:34:43 ERROR]: Exception in task me.yic.xconomy.listeners.VPlayerEvent$$Lambda$1214/0x00000008012b6668@367922dd by plugin XConomy java.lang.IllegalStateException: Not connected to server! at com.velocitypowered.proxy.connection.backend.VelocityServerConnection.ensureConnected(VelocityServerConnection.java:202) ~[velocity-3.1.1-98.jar:3.1.1] at com.velocitypowered.proxy.connection.backend.VelocityServerConnection.sendPluginMessage(VelocityServerConnection.java:254) ~[velocity-3.1.1-98.jar:3.1.1] at com.velocitypowered.proxy.server.VelocityRegisteredServer.sendPluginMessage(VelocityRegisteredServer.java:156) ~[velocity-3.1.1-98.jar:3.1.1] at com.velocitypowered.proxy.server.VelocityRegisteredServer.sendPluginMessage(VelocityRegisteredServer.java:141) ~[velocity-3.1.1-98.jar:3.1.1] at me.yic.xconomy.listeners.VPlayerEvent.SendMessTaskB(VPlayerEvent.java:68) ~[?:?] at me.yic.xconomy.listeners.VPlayerEvent.lambda$quit$1(VPlayerEvent.java:61) ~[?:?] at com.velocitypowered.proxy.scheduler.VelocityScheduler$VelocityTask.lambda$run$1(VelocityScheduler.java:203) ~[velocity-3.1.1-98.jar:3.1.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:833) [?:?]

is there any problem with my configuration or plugin problem?

Thank you!


(option)XConomy's config.yml UUID-mode: Default import-mode: false Settings: language: English check-update: true refresh-time: 300 eco-command: true disable-essentials: true initial-bal: 100 payment-tax: 0 ranking-size: 10 lines-per-page: 5 transaction-record: true offline-pay-transfer-tips: false username-ignore-case: true non-player-account: enable: false whitelist: enable: false fields-list:

(option)Screenshots