PixelmonSync - Sync pixelmon data between sponge servers

This is a discussion topic for the Ore project, PixelmonSync. View the full project on Ore for downloads and more information.


PixelmonSync

This plugin sync pixelmon data between sponge servers.

It’s still unstable, so if you want to use this, backup first, it works fine for my bungecord servers.

You need to give your players permission node: “psync.base”, then their data will be sync.

Firstly, put it into plugins folder, start server, then stop server.
Secondly, find the setting.conf in config/pixelmonsync/ and open that, modify the MySQL setting.
You need to do this for every server you want to sync or just copy the setting.conf to the right place is also fine.

use /psync to see commands and permissions (you don’t need commands unless you want to sync data manual)

Currently, only tested on MySQL.

What data can be sync?

pc data

Notice

  • I suggest you do not use a remote database, because the delay of saving and loading data may cause problems.
  • The money may not always work(if you have this problem, pls tell me, the amount is right but sometimes it just displays zero)
  • if you find this plugin is useful to you, just give me a star and I appreciate that :sunglasses:
1 Like

A new version has been released for PixelmonSync, it is available for download here.


Sync Pixelmon Data Between Sponge Servers !!!

A new version has been released for PixelmonSync, it is available for download here.


Sync Pixelmon Data

A new version has been released for PixelmonSync, it is available for download here.


Fix the starter pick problem of new player

A new version has been released for PixelmonSync, it is available for download here.


Fix bug when there are too many pokemon in pc

A new version has been released for PixelmonSync, it is available for download here.


Fix bug when there are too many pokemon in pc

When I use the command /psync load JessieJ_ after saving I get this back.

23.01 17:29:00 [Server] Server thread/INFO [nucleus]: JessieJ_ ran the command: /psync load JessieJ_
23.01 17:29:00 [Server] Server thread/ERROR [Sponge]: Error occurred while executing command ‘psync load JessieJ_’ for source EntityPlayerMP[‘JessieJ_’/53, l=‘Wilderness’, x=672.09, y=70.00, z=725.29]: com/pixelmonmod/pixelmon/TickHandler
23.01 17:29:00 [Server] INFO java.lang.NoClassDefFoundError: com/pixelmonmod/pixelmon/TickHandler
23.01 17:29:00 [Server] INFO at com.github.ericliucn.pixelmonsync.command.CommandManager.lambda$null$2(CommandManager.java:35) ~[CommandManager.class:?]
23.01 17:29:00 [Server] INFO at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_111]
23.01 17:29:00 [Server] INFO at com.github.ericliucn.pixelmonsync.command.CommandManager.lambda$static$3(CommandManager.java:33) ~[CommandManager.class:?]
23.01 17:29:00 [Server] INFO at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:255) ~[ChildCommandElementExecutor.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at org.spongepowered.common.command.SpongeCommandDispatcher.process(SpongeCommandDispatcher.java:355) ~[SpongeCommandDispatcher.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:360) [SpongeCommandManager.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:665) [dh.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962) [pa.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941) [pa.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
23.01 17:29:00 [Server] INFO at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:219) [PacketPhaseUtil.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.redirect$zlf000$impl$redirectToPhaseTracker(SourceFile:540) [hv$1.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
23.01 17:29:00 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
23.01 17:29:00 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
23.01 17:29:00 [Server] INFO at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
23.01 17:29:00 [Server] INFO at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:310) [SpongeImplHooks.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at net.minecraft.server.MinecraftServer.redirect$zjj000$onRun(MinecraftServer.java:4682) [MinecraftServer.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
23.01 17:29:00 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]

I’m using the newest Pixelmon Generations* and suggested Forge. It creates a table on MySQL but its blank.

*If this does not support Pixelmon Generations. PLEASE think about supporting it.

1 Like

I don’t know if it needs to be updated for I’m doing something wrong. I seem to get this command when I try to use /psync load JessieJ_

23.01 17:29:00 [Server] Server thread/INFO [nucleus]: JessieJ_ ran the command: /psync load JessieJ_
23.01 17:29:00 [Server] Server thread/ERROR [Sponge]: Error occurred while executing command ‘psync load JessieJ_’ for source EntityPlayerMP[‘JessieJ_’/53, l=‘Wilderness’, x=672.09, y=70.00, z=725.29]: com/pixelmonmod/pixelmon/TickHandler
23.01 17:29:00 [Server] INFO java.lang.NoClassDefFoundError: com/pixelmonmod/pixelmon/TickHandler
23.01 17:29:00 [Server] INFO at com.github.ericliucn.pixelmonsync.command.CommandManager.lambda$null$2(CommandManager.java:35) ~[CommandManager.class:?]
23.01 17:29:00 [Server] INFO at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_111]
23.01 17:29:00 [Server] INFO at com.github.ericliucn.pixelmonsync.command.CommandManager.lambda$static$3(CommandManager.java:33) ~[CommandManager.class:?]
23.01 17:29:00 [Server] INFO at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:255) ~[ChildCommandElementExecutor.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at org.spongepowered.common.command.SpongeCommandDispatcher.process(SpongeCommandDispatcher.java:355) ~[SpongeCommandDispatcher.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:360) [SpongeCommandManager.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:665) [dh.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962) [pa.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941) [pa.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
23.01 17:29:00 [Server] INFO at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:219) [PacketPhaseUtil.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.redirect$zlf000$impl$redirectToPhaseTracker(SourceFile:540) [hv$1.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
23.01 17:29:00 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
23.01 17:29:00 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
23.01 17:29:00 [Server] INFO at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
23.01 17:29:00 [Server] INFO at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:310) [SpongeImplHooks.class:1.12.2-2838-7.3.0]
23.01 17:29:00 [Server] INFO at net.minecraft.server.MinecraftServer.redirect$zjj000$onRun(MinecraftServer.java:4682) [MinecraftServer.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
23.01 17:29:00 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
23.01 17:29:00 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]

I’m using the newest Pixelmon Generations* and the suggested Forge. It also creates the table on my MySQL its just blank.

Sorry, this plugin is created for Pixelmon Reforge, so it will not work for Generations, I will have a look at the Generations version if I got time, thank you for your feedback :stuck_out_tongue_winking_eye:

2 Likes

Everything seems to be working fine from install
i used economylite and enabled the bungee support for it,
money doesnt update until you earn some cash to update it (not a big problem)
only items on pokemon go which is nice. any future updates on items?

great plugin, excited to see where it goes

1 Like

Ya, I found out lol. I just switched to Reforged. It seems to have the most supported.