1

How to link servers via MySQL databases

1 emerald 0 replies 38 views | started 01/12/2018 3:44 pm by HyperShock
Hey, I'm HyperShock_

So I currently have 5 servers and operate them via Multicraft. I have one bungee server and then 4 minigame servers. I am trying to sync PermissionsEx across all of my servers. What I've done so far is: Install PEX into each server (excluding the bungee server of course), then i created a database in my bungee server. Then I used this code:

backend: sql
backends:
sql:
uri: MYURI
user: MYUSER
password: MYPASS

and installed it into each of the yml files for each server. So the yml files look like this:

multiserver:
use-netevents: true
permissions:
debug: false
allowOps: false
user-add-groups-last: false
log-players: false
createUserRecords: false
backend: file
informplayers:
changes: false
basedir: plugins/PermissionsEx
backends:
file:
type: file
file: permissions.yml
backend: sql
backends:
sql:
uri: MYURI
user: MYUSER
password: MYPASS
updater: true
alwaysUpdate: false


I then typed "pex import file" into the server consoles. And then "rl" to reload all of them.

In spite of all this, I didn't get the permissions.db file inside of the PEX folder.

Is what i did so far correct, and if not, what do I need to fix? And then what do I do after this, if there is anything?

Thanks!
Posted by avatar
HyperShock
Level 1 : New Miner
2

Search

Browse

Site

© planetminecraft.com

Welcome