Realmlist
Материал из YTDB DataBase
Neggod (Обсуждение | вклад) (Новая страница: «{| align="right" | __TOC__ |} Category: Realm database tables Back to realm database list of tables. <big>'''The `realmlist` table'''</big> …») |
Neggod (Обсуждение | вклад) |
||
Строка 3: | Строка 3: | ||
|} | |} | ||
[[Category: Realm database tables]] | [[Category: Realm database tables]] | ||
- | + | Назад к списку таблиц [[realmdb_struct|realm database]]. | |
Строка 92: | Строка 92: | ||
- | <big>''' | + | <big>'''Описание полей'''</big> |
====id==== | ====id==== | ||
The realm ID. This number is unique for every realm and it MUST correlate with the RealmID configuration value in mangosd.conf. | The realm ID. This number is unique for every realm and it MUST correlate with the RealmID configuration value in mangosd.conf. |
Версия 18:15, 7 марта 2010
|
Назад к списку таблиц realm database.
The `realmlist` table
This table sets up information on all available realms. Each row controls a different realm.
Structure
Field | Type | Null | Key | Default | Extra |
id | int(11) unsigned | NO | PRI | auto_increment | |
name | varchar(32) | NO | UNI | ||
address | varchar(32) | NO | 127.0.0.1 | ||
port | int(11) | NO | 8085 | ||
icon | tinyint(3) unsigned | NO | 0 | ||
color | tinyint(3) unsigned | NO | 2 | ||
timezone | tinyint(3) unsigned | NO | 0 | ||
allowedSecurityLevel | tinyint(3) unsigned | NO | 0 | ||
population | float unsigned | NO | 0 | ||
realmbuilds | varchar(64) | NO | 0 |
Описание полей
id
The realm ID. This number is unique for every realm and it MUST correlate with the RealmID configuration value in mangosd.conf.
name
The name of the realm. This will appear in the realm selection list as well as in the character selection screen.
address
The public IP address of the world server. 127.0.0.1 works but only for LAN play.
port
The port that the world server is running on. If all world servers are on the same machine, they will all need to use a different port.
icon
The icon of the realm.
icon | type |
---|---|
0 | Normal |
1 | PvP |
4 | Normal |
6 | RP |
8 | RP PvP |
color
The color denoting how "full" you want the realm to be displayed as.
color | effect |
---|---|
0 | Yellow (Normal) |
1 | Red (Full) |
2 | Grey (Offline) |
timezone
The realm timezone, it will be displayed in the tabs of the realmlist.
timezone | displayed name |
---|---|
1 | Development |
2 | United States |
3 | Oceanic |
4 | Latin America |
5 | Tournament |
6 | Korea |
7 | Tournament |
8 | English |
9 | German |
10 | French |
11 | Spanish |
12 | Russian |
13 | Tournament |
14 | Taiwan |
15 | Tournament |
16 | China |
17 | CN1 |
18 | CN2 |
19 | CN3 |
20 | CN4 |
21 | CN5 |
22 | CN6 |
23 | CN7 |
24 | CN8 |
25 | Tournament |
26 | Test Server |
27 | Tournament |
28 | QA Server |
29 | CN9 |
allowedSecurityLevel
The minimum account gmlevel required for accounts to log in to this realm.
population
This field is automatically updated at regular intervals and will have the current population. The formula to calculate the value in this field is: playerCount / maxPlayerCount * 2.
population | effect |
---|---|
0.5 | Low |
1.0 | Medium |
2.0 | High |
realmbuilds
Added in rev. 9010. Allows realms with different client builds to be on the same realm list. Supports 1.12.1, 1.12.2, 2.4.3, 3.2.2a on the same realm list. Leave this blank.