Spigot PlayerSQL 2.12.3

Synchronize data between servers.

  1. I was afraid your plugin will makes my players losing their inventory sometimes, but it works great, so thank you so much! I had so much trouble with the first plugin I tested... The only thing to do is a version wich supports 1.9 tools now :D good job, really^^
  2. THX:)
  3. Hi nice plugins , but what is the permissions for /psql ? , and i have some issue in my console : (spigot 1.9.2)

  4. /psql not impl in 2.x version. I'll review your report, thx:)
  5. Try 2.3-b1 :) and let my known if resolved.
  6. Seem to have come across a bug with the experience levels saving. Whenever the data is loaded I will get a lower xp level then I had before I switched server or logged off.

    You can replicate this by having some XP, noting your XP on the GUI, relogging back in and watching the bar drop as your data is loaded.

    Edit: To clarify this is on 1.10.2
    #849 danjono, Jul 2, 2016
    Last edited: Jul 4, 2016
  7. Yes. I fixed it 2day ago. use latest snapshot version on my ci. http://ci.mengcraft.com:8080/job/Pl...ld/artifact/target/playersql-2.3-SNAPSHOT.jar
  8. #851 danjono, Jul 4, 2016
    Last edited: Jul 5, 2016
  9. THX:)
  10. No worries! It was a simple fix anyways ;)
  11. Is there any way to disable the sound of receiving XP when you join the server? Disabling sync for XP fixes the problem, but I need the XP to be synced....And the sound every time you connect is very annoying.
  12. Weird, since /xp command from essentials does not
    Hey, i'v fixed some dup bugs with this update :


    But in the latest version of your plugin we can see that event 'PlayerInteractAtEntityEvent' is no longer blocked. This is ultra important since it allow players to dupe item with armor stand during the sync.



    Also it seems there's a dupe bug.

    If you have a big database (so long to sync). You just have to get for exemple 5 Stone, in WORLD 1, You go in WORLD 2, your inv is sync minecraft-side on WORLD-1 and WORLD-2, Okay ?.

    You go To World-1, you put your 5 Stone in a Chest, now you go in WORLD-2 and as soon as connect, you have to disconnect. So Before PlayerSQL could even sync, playerSQL will RE-Sync cause the player disconnect. So we have to block the sync if player disconnect and sync wasn't finished.

    So i don't know if this case was fixed cause i used an old version. but yeah.
    #856 Kouki, Jul 25, 2016
    Last edited: Jul 25, 2016
  13. Spam of errors with the latest build :
    (my spigot version is 1.7.10)
    Code (Text):
    [05:43:23] [Craft Scheduler Thread - 12/WARN]: [PlayerSQL] com.mengcraft.playersql.PluginException: User 681b43a0-0073-335a-aa55-3afec1ba0fac not found!
    com.mengcraft.playersql.PluginException: User 681b43a0-0073-335a-aa55-3afec1ba0fac not found!
        at com.mengcraft.playersql.UserManager.lambda$pend$2(UserManager.java:164) ~[?:?]
        at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) [minage2.jar:git-PaperSpigot-1f7d532]
        at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [minage2.jar:git-PaperSpigot-1f7d532]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_101]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_101]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
    Code (Text):
    [15:40:32] [Server thread/WARN]: [PlayerSQL] Task #1094 for PlayerSQL v2.3-SNAPSHOT generated an exception
        at com.mengcraft.playersql.UserManager.getUserData(UserManager.java:92) ~[?:?]
        at com.mengcraft.playersql.UserManager.getUserData(UserManager.java:87) ~[?:?]
        at com.mengcraft.playersql.task.DailySaveTask.run(DailySaveTask.java:22) ~[?:?]
        at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) ~[minage2.jar:git-PaperSpigot-1f7d532]
        at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [minage2.jar:git-PaperSpigot-1f7d532]
        at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:701) [minage2.jar:git-PaperSpigot-1f7d532]
        at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:282) [minage2.jar:git-PaperSpigot-1f7d532]
        at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:643) [minage2.jar:git-PaperSpigot-1f7d532]
        at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:549) [minage2.jar:git-PaperSpigot-1f7d532]
        at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [minage2.jar:git-PaperSpigot-1f7d532]
    [15:40:49] [Server thread/INFO]: [PlayerSQL] Save user 74b18009-4140-36cf-a441-491bc2505d7b count 10.
    (fucking spam)
    fix this fast please :D
  14. fixed by myself ^^ please use ((Damageable)player).getHealth()
  15. I never said anything about /xp command.... I was referring to hearing a 'ding' noise of xp on join of the server caused by the plugin giving the player xp.
  16. I know.