GithubHelp home page GithubHelp logo

newperson1746 / whitelist-sync-2-spigot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rmnaderdev/whitelist-sync-2-spigot

0.0 1.0 0.0 50.2 MB

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: Apache License 2.0

Java 100.00%

whitelist-sync-2-spigot's Introduction

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!

whitelist-sync-2-spigot's People

Contributors

newperson1746 avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.