Sync Example Config

Here are some example configs for setting up Ban Syncing. The example uses two servers, A is the SyncServer/Master and B is the Syncer/Slave. You may have any number of Syncer/Slave servers in a group, but only one SyncServer/Master server.

For each group of SyncServers, only one of them should have read-only: false in their config, if they are all connected to the same database. Otherwise, you'll end up with a lot of duplicates in your database, possibly dangerous!

For A Spigot Server With Bungee

ServerA (Main server, SyncServer)

bungee: false
sync:
    use: true
    server: true
    host: 127.0.0.1
    port: 2711
    pass: Spagheti
    debug: false

database:
    mysql: true
    user: root
    pass: Cookies
    host: localhost
    port: 3306
    name: maxbans
    read-only: false

Server B (Secondary Server, Syncer)

bungee: false
sync:
    use: true
    server: true
    host: 127.0.0.1
    port: 2711
    pass: Spagheti
    debug: false

database:
    mysql: true
    user: root
    pass: Cookies
    host: localhost
    port: 3306
    name: maxbans
    read-only: true

For A CraftBukkit Server With Bungee

ServerA (Main server, SyncServer)

bungee: true
sync:
    use: true
    server: true
    host: 127.0.0.1
    port: 2711
    pass: Spagheti
    debug: false

database:
    mysql: true
    user: root
    pass: Cookies
    host: localhost
    port: 3306
    name: maxbans
    read-only: false

Server B (Secondary Server, Syncer)

bungee: false
sync:
    use: true
    server: true
    host: 127.0.0.1
    port: 2711
    pass: Spagheti
    debug: false

database:
    mysql: true
    user: root
    pass: Cookies
    host: localhost
    port: 3306
    name: maxbans
    read-only: true

Any Server Without Bungee

ServerA (Main server, SyncServer)

bungee: false
sync:
    use: true
    server: true
    host: 127.0.0.1
    port: 2711
    pass: Spagheti
    debug: false

database:
    mysql: true
    user: root
    pass: Cookies
    host: localhost
    port: 3306
    name: maxbans
    read-only: false

Server B (Secondary Server, Syncer)

bungee: false
sync:
    use: true
    server: true
    host: 127.0.0.1
    port: 2711
    pass: Spagheti
    debug: false

database:
    mysql: true
    user: root
    pass: Cookies
    host: localhost
    port: 3306
    name: maxbans
    read-only: true

Comments

Posts Quoted:
Reply
Clear All Quotes