Stránka 1 z 1

[PermissionsEx] - MySQL

Napsal: 13 dub 2016, 17:51
od jakub1000
Server: IP: 82.208.17.41:27423


Zdravím,
Chtěl bych se zeptat, jak napojit PermissionsEx na MySQL databazi.
Již jsem zkoušel tento návod : viewtopic.php?f=85&t=7854
Ale vyhodilo mi to celý plugin i Authme (přepisování celého config souboru)

config.yml

Kód: Vybrat vše

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
updater: true
alwaysUpdate: false


Database : 216895_mysql_db
Heslo : ****

Děkuji za rady (vyplnění)

Re: [PermissionsEx] - MySQL

Napsal: 13 dub 2016, 18:40
od MinfasCZE

Kód: Vybrat vše

permissions:
    backend: sql
    backends:
        sql:
            uri: mysql://localhost/databasename
            user: username
            password: password


-- 13 dub 2016, 17:40 --

Více informací: https://github.com/PEXPlugins/Permissio ... figuration

Re: [PermissionsEx] - MySQL

Napsal: 13 dub 2016, 18:41
od zikl

Kód: Vybrat vše

permissions:
  basedir: plugins/PermissionsEx
  backend: sql
  backends:
    sql:
      driver: mysql
      uri: mysql://localhost:3306/216895_mysql_db
      user: 216895_mysql_db
      password: ******
      type: sql
  superperms:
    disable-unmatched: false
    enable: true
    matched-permissions: true
    debug: false
    raw-permissions: true
    strict-mode: false
    parent-nodes: true
  createUserRecords: false
  allowOps: true
  debug: false