PEXPlugins / PermissionsEx

A powerful permissions plugin for Minecraft
https://permissionsex.stellardrift.ca
Apache License 2.0
479 stars 298 forks source link

MySQL Backend: user groups not synced #2332

Closed saiismad closed 8 years ago

saiismad commented 8 years ago

So I have setup PEX to use the mysql backend on multiple servers.. They all connect and authenticate with the sql database But when I promote a player in one server that players rank is not changed in the other servers even though pex is installed on all servers and they all are using the same database. Obviously the username and password I have censored but in the real configs they are correct and authenticates fine.

Here is my config if it helps:

permissions:
  backend: sql
  backends:
    sql:
      uri: mysql://10.0.88.6/permissionsex
      user: <censored>
      password: <censored>
      type: sql
  debug: false
  allowOps: false
  user-add-groups-last: false
  log-players: false
  createUserRecords: false
  informplayers:
    changes: false
  basedir: plugins/PermissionsEx
multiserver:
  use-netevents: false
updater: true
alwaysUpdate: true
Stormbow commented 8 years ago

Are you also using NetEvents which passes the info to the other servers? I would guess 'No' since you have use-netevents false. Try it out. ;)

saiismad commented 8 years ago

@Stormbow

Can you link me to some real documentation on this plugin? i.e How it works and how to configure it? I have read through the server configuration wiki (https://github.com/zml2008/netevents/wiki/Server-Configuration) But when the server starts netevents spits out an error: "Error while connecting to remote servers. Address already in use."

I have searched for tutorials and better documentation but cannot find any..

zml2008 commented 8 years ago

Are you trying to have NetEvents run on the sever port? iirc that error message occurs when you try to have more that one thing bind to the same port.