AuthMe Bağlantısı

AuthMe bağlantısını kurma ve config yapılandırmasını yapma

AuthMe bağlantısı yapmadan önce AuthMe'nin en son sürümünü kullandığınızdan emin olunuz. Son sürüm için: https://www.spigotmc.org/resources/authmereloaded.6269/

AuthMe bağlantısı için config.yml kısmındaki mySQLTablename'ın değerini Accounts yapmalısınız.

Örnek config.yml dosyası (Sadece DataSource kısmıdır yani ExternalBoardOptions kısmına kadar olan ayarlardır):

DataSource:
    # What type of database do you want to use?
    # Valid values: SQLITE, MYSQL, POSTGRESQL
    backend: 'MYSQL'
    # Enable the database caching system, should be disabled on bungeecord environments
    # or when a website integration is being used.
    caching: false
    # Database host address
    mySQLHost: 'MYSQL_IP_ADRESI'
    # Database port
    mySQLPort: '3306'
    # Connect to MySQL database over SSL
    mySQLUseSSL: false
    # Verification of server's certificate.
    # We would not recommend to set this option to false.
    # Set this option to false at your own risk if and only if you know what you're doing
    mySQLCheckServerCertificate: true
    # Username to connect to the MySQL database
    mySQLUsername: 'MYSQL_KULLANICI_ADI'
    # Password to connect to the MySQL database
    mySQLPassword: 'MYSQL_ŞİFRE'
    # Database Name, use with converters or as SQLITE database name
    mySQLDatabase: 'MYSQL_VERITABANI_ADI'
    # Table of the database
    mySQLTablename: 'Accounts'
    # Column of IDs to sort data
    mySQLColumnId: 'id'
    # Column for storing or checking players nickname
    mySQLColumnName: 'username'
    # Column for storing or checking players RealName
    mySQLRealName: 'realname'
    # Column for storing players passwords
    mySQLColumnPassword: 'password'
    # Column for storing players passwords salts
    mySQLColumnSalt: ''
    # Column for storing players emails
    mySQLColumnEmail: 'email'
    # Column for storing if a player is logged in or not
    mySQLColumnLogged: 'isLogged'
    # Column for storing if a player has a valid session or not
    mySQLColumnHasSession: 'hasSession'
    # Column for storing a player's TOTP key (for two-factor authentication)
    mySQLtotpKey: 'totp'
    # Column for storing the player's last IP
    mySQLColumnIp: 'ip'
    # Column for storing players lastlogins
    mySQLColumnLastLogin: 'lastlogin'
    # Column storing the registration date
    mySQLColumnRegisterDate: 'regdate'
    # Column for storing the IP address at the time of registration
    mySQLColumnRegisterIp: 'regip'
    # Column for storing player LastLocation - X
    mySQLlastlocX: 'x'
    # Column for storing player LastLocation - Y
    mySQLlastlocY: 'y'
    # Column for storing player LastLocation - Z
    mySQLlastlocZ: 'z'
    # Column for storing player LastLocation - World Name
    mySQLlastlocWorld: 'world'
    # Column for storing player LastLocation - Yaw
    mySQLlastlocYaw: 'yaw'
    # Column for storing player LastLocation - Pitch
    mySQLlastlocPitch: 'pitch'
    # Overrides the size of the DB Connection Pool, auto = -1, default = 10
    poolSize: -1
    # The maximum lifetime of a connection in the pool, default = 1800 seconds
    # You should set this at least 30 seconds less than mysql server wait_timeout
    maxLifetime: 1800

Last updated