Skip to content

A mod that allows you to sync the whitelists and ops list from multiple Forge and Spigot servers together using one MySQL or SQlite database!

License

Notifications You must be signed in to change notification settings

newperson1746/Whitelist-Sync-2-Spigot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweaked to allow use on LuckPerms servers (no OPs)

Are you a server owner who is sick of adding individual players to each of your 100 forge servers? Wait you only have 2 forge servers? Well this mod can help you still!

Introducing Whitelist Sync!

A mod that allows you to sync the whitelists and ops list from multiple Forge and Spigot servers together using one MySQL or SQlite database!

This mod allows you to run a single /wl add <player> or /wlop op <player> on one of your servers and it will update all of your other forge servers running this mod connected to the proper database!

Looking for a forge mod? Find it on the WhitelistSync2 GitHub page.

News

[3/18/20] I am a college student and work a part time Software development job so those take my priority since I need money to pay the bills. Donations are appreciated and allow me to spend more time on this project. Otherwise I will make changes when I can. Thank you for understanding. :)

[7/31/20] Version 2.2.1 has been released and includes some bug fixes. PLEASE NOTE: Once you initially run this version on a MySQL database when using the op sync feature, the older versions of the mod will no longer work and will give SQL errors due to changes in the data structure. To still use older versions of this mod, disable the op sync feature of the older versions or contact me for specific changes.

Installation

For SQLite database config:

  • Download this mod and add it to your mods folder.
  • Run your server and setup the config (whitelistsync.cfg/whitelistsync.toml) and configure your update settings and timers.
  • NOTE: Be sure to make the database path the same for all of the servers you want to link together!
  • When the server runs it is going to make a new database. If you want to push your current whitelist to the database use "/wl copyServerToDatabase" then you can start all of your other servers and they will sync to the database.

For MySQL server database setup:

  • Download this mod and add it to your mods folder.
  • Run your server and setup the config (whitelistsync.cfg/whitelistsync.toml).
  • Setup your mySQL database IP, port, and authentication as well as mySQL Sync Timer.
  • Run server and make sure the database connects. Note: Mod will make it's own database and table for you or connect to an existing one.
  • Push your existing whitelist to the server (/wl copyServerToDatabase) or pull changes from your database (/wl sync).
  • Enjoy!

Commands

Whitelist Control

  • /wl add <player> | Adds a specified player to whitelist. (Use this instead of /whitelist add)
  • /wl remove<player> | Removes a specified player from the whitelist. (Use this instead of /whitelist remove)
  • /wl list | Lists users whitelisted across all servers.
  • /wl sync | Pulls whitelist from the database and updates the local server whitelist.
  • /wl copyServerToDatabase | Pushes local server whitelist to the database and merges them in.

Op Control

  • /wlop op <player> | Ops a specified player. (Use this instead of /op)
  • /wlop deop <player> | De-ops a specified player. (Use this instead of /deop)
  • /wlop list | Lists users who are ops across all servers.
  • /wlop sync | Pulls list of ops from the database and updates local server ops.
  • /wlop copyServerToDatabase | Pushes local server ops to database and merges them in.

Please post your bugs to GitHub or better yet make a pull request!

About

A mod that allows you to sync the whitelists and ops list from multiple Forge and Spigot servers together using one MySQL or SQlite database!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%