Note: This is a beta, and thus should be considered experimental. It should work, but properly test it before use on a production server.
And obviously report any bugs/exploits you can find.
PrimoSync
Multi-server Economy Synchronization using Redis. No MySQL database required. Syncs data every [configurable] seconds (default 3).
I wrote this plugin because other economy synchronization plugins I had found used MySQL databases or plugin messaging to handle the synchronization.
The problem with MySQL databases and loading/saving as the player moves around servers is that it's prone to exploits and bugs, the most noticeable bug being the desynchronization of balances.
The problem with plugin messaging is the fact that it doesn't work on servers with no players on it. So if I have 2 servers, Main and Creative and no people on Creative, then the balance won't be properly updated on Creative.
My plugin utilizes Redis' Pub-Sub system. This means when it syncs it actually syncs to each server right away, no matter how many people are on it. This isn't plagued by the bugs and exploits that come with plugin messaging and mysql saving/loading. Not to mention it's blazing fast.
All servers do need to be on-line for synchronization to function, though.
Installation instructions:
[Source]
And obviously report any bugs/exploits you can find.
PrimoSync
Multi-server Economy Synchronization using Redis. No MySQL database required. Syncs data every [configurable] seconds (default 3).
I wrote this plugin because other economy synchronization plugins I had found used MySQL databases or plugin messaging to handle the synchronization.
The problem with MySQL databases and loading/saving as the player moves around servers is that it's prone to exploits and bugs, the most noticeable bug being the desynchronization of balances.
The problem with plugin messaging is the fact that it doesn't work on servers with no players on it. So if I have 2 servers, Main and Creative and no people on Creative, then the balance won't be properly updated on Creative.
My plugin utilizes Redis' Pub-Sub system. This means when it syncs it actually syncs to each server right away, no matter how many people are on it. This isn't plagued by the bugs and exploits that come with plugin messaging and mysql saving/loading. Not to mention it's blazing fast.
All servers do need to be on-line for synchronization to function, though.
Installation instructions:
- Install redis-server on your server.
- If you are running Debian 8 or Ubuntu 14.04 and above, a suitable server can be installed by running apt-get install redis-server as root. (or sudo)
- If you are running CentOS 6, you'll need to compile Redis from source. The version in EPEL is not supported by RedisBungee as of 0.3.8.
- If you are running CentOS 7, a suitable server can be installed by running yum install redis.
- If you are running Windows 7 or higher, you can download the latest version here https://github.com/rgl/redis/downloads
- If you're using a shared host then you'll have to ask your host if Redis is available for you to use.
- If you are running Debian 8 or Ubuntu 14.04 and above, a suitable server can be installed by running apt-get install redis-server as root. (or sudo)
- Upload PrimoSync to every server you want to synchronize.
- Make sure vault and an economy plugin is installed on each server.
- Start each server, and shut each server down again.
- Edit the config files that were generated on each server. (make sure the redis information is correct)
- Start the servers up again.
- Enjoy.
[Source]
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
PrimoSync is a free Minecraft Java mod. Downloaded 639 times (via Spigot). Download it and open it directly in the game.