LeaderOS
Search…
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):
1
DataSource:
2
# What type of database do you want to use?
3
# Valid values: SQLITE, MYSQL, POSTGRESQL
4
backend: 'MYSQL'
5
# Enable the database caching system, should be disabled on bungeecord environments
6
# or when a website integration is being used.
7
caching: false
8
# Database host address
9
mySQLHost: 'MYSQL_IP_ADRESI'
10
# Database port
11
mySQLPort: '3306'
12
# Connect to MySQL database over SSL
13
mySQLUseSSL: false
14
# Verification of server's certificate.
15
# We would not recommend to set this option to false.
16
# Set this option to false at your own risk if and only if you know what you're doing
17
mySQLCheckServerCertificate: true
18
# Username to connect to the MySQL database
19
mySQLUsername: 'MYSQL_KULLANICI_ADI'
20
# Password to connect to the MySQL database
21
mySQLPassword: 'MYSQL_ŞİFRE'
22
# Database Name, use with converters or as SQLITE database name
23
mySQLDatabase: 'MYSQL_VERITABANI_ADI'
24
# Table of the database
25
mySQLTablename: 'Accounts'
26
# Column of IDs to sort data
27
mySQLColumnId: 'id'
28
# Column for storing or checking players nickname
29
mySQLColumnName: 'username'
30
# Column for storing or checking players RealName
31
mySQLRealName: 'realname'
32
# Column for storing players passwords
33
mySQLColumnPassword: 'password'
34
# Column for storing players passwords salts
35
mySQLColumnSalt: ''
36
# Column for storing players emails
37
mySQLColumnEmail: 'email'
38
# Column for storing if a player is logged in or not
39
mySQLColumnLogged: 'isLogged'
40
# Column for storing if a player has a valid session or not
41
mySQLColumnHasSession: 'hasSession'
42
# Column for storing a player's TOTP key (for two-factor authentication)
43
mySQLtotpKey: 'totp'
44
# Column for storing the player's last IP
45
mySQLColumnIp: 'ip'
46
# Column for storing players lastlogins
47
mySQLColumnLastLogin: 'lastlogin'
48
# Column storing the registration date
49
mySQLColumnRegisterDate: 'regdate'
50
# Column for storing the IP address at the time of registration
51
mySQLColumnRegisterIp: 'regip'
52
# Column for storing player LastLocation - X
53
mySQLlastlocX: 'x'
54
# Column for storing player LastLocation - Y
55
mySQLlastlocY: 'y'
56
# Column for storing player LastLocation - Z
57
mySQLlastlocZ: 'z'
58
# Column for storing player LastLocation - World Name
59
mySQLlastlocWorld: 'world'
60
# Column for storing player LastLocation - Yaw
61
mySQLlastlocYaw: 'yaw'
62
# Column for storing player LastLocation - Pitch
63
mySQLlastlocPitch: 'pitch'
64
# Overrides the size of the DB Connection Pool, auto = -1, default = 10
65
poolSize: -1
66
# The maximum lifetime of a connection in the pool, default = 1800 seconds
67
# You should set this at least 30 seconds less than mysql server wait_timeout
68
maxLifetime: 1800
Copied!
Last modified 1yr ago
Copy link