Account banned

Материал из YTDB DataBase

(Различия между версиями)
Перейти к: навигация, поиск
(Новая страница: «{| align="right" | __TOC__ |} Category: Realm database tables Back to realm database list of tables. <big>'''The `account_banned` table'''</…»)
 
(13 промежуточных версий не показаны.)
Строка 2: Строка 2:
| __TOC__
| __TOC__
|}
|}
-
[[Category: Realm database tables]]
+
[[Category: Mangos realmd database tables]]
-
Back to [[realmdb_struct|realm database]] list of tables.
+
Назад к списку таблиц  [[realmdb_struct|realm database]].
-
<big>'''The `account_banned` table'''</big>
+
<big>'''Таблица `account_banned`'''</big>
-
This table lists all of the accounts that have been banned along with the date when (or if) the ban will expire.
+
Эта таблица содержит полную информацию о действующей блокировке по учетным записям.
-
<big>'''Structure'''</big>
+
<big>'''Структура'''</big>
{| border="1"
{| border="1"
|'''Field'''
|'''Field'''
|'''Type'''
|'''Type'''
 +
|'''Attributes'''
|'''Null'''
|'''Null'''
|'''Key'''
|'''Key'''
|'''Default'''
|'''Default'''
-
|'''Extra'''
+
|'''Comment'''
|-
|-
|[[#id|id]]
|[[#id|id]]
|int(11)
|int(11)
 +
|AUTO_INCREMENT
|NO
|NO
|PRI
|PRI
-
|0
+
|
|
|
|-
|-
-
|[[#bandate|bandate]]
+
|[[#account_id|account_id]]
 +
|int(11)
 +
|
 +
|NO
 +
|
 +
|
 +
|Account id
 +
|-
 +
|[[#banned_at|banned_at]]
|bigint(40)
|bigint(40)
 +
|
|NO
|NO
|PRI
|PRI
-
|0
+
|NULL
|
|
|-
|-
-
|[[#unbandate|unbandate]]
+
|[[#expires_at|expires_at]]
|bigint(40)
|bigint(40)
 +
|
 +
|YES
 +
|
 +
|NULL
 +
|
 +
|-
 +
|[[#banned_by|banned_by]]
 +
|varchar(50)
 +
|
 +
|YES
 +
|
 +
|NULL
 +
|
 +
|-
 +
|[[#unbanned_at|unbanned_at]]
 +
|bigint(40)
 +
|
|NO
|NO
|
|
Строка 41: Строка 69:
|
|
|-
|-
-
|[[#bannedby|bannedby]]
+
|[[#unbanned_by|unbanned_by]]
|varchar(50)
|varchar(50)
-
|NO
 
|
|
 +
|YES
|
|
 +
|NULL
|
|
|-
|-
-
|[[#banreason|banreason]]
+
|[[#reason|reason]]
|varchar(255)
|varchar(255)
-
|NO
 
|
|
 +
|YES
|
|
 +
|NULL
|
|
|-
|-
|[[#active|active]]
|[[#active|active]]
|tinyint(4)
|tinyint(4)
 +
|
|NO
|NO
|
|
Строка 64: Строка 95:
-
<big>'''Description of the fields'''</big>
+
<big>'''Описание полей'''</big>
====id====
====id====
-
The account ID. See [[account#id|account.id]]
+
 
-
====bandate====
+
====account_id====
-
The date when the account was banned, in Unix time.
+
Идентификатор забаненного аккаунта. См. [[account#id|account.id]]
-
====unbandate====
+
====banned_at====
-
The date when the account will be automatically unbanned, in Unix time. A value less than the current date means, in effect, a permanent ban.
+
Дата выдачи бана аккаунту, в Unix-формате.
-
====bannedby====
+
====expires_at====
-
The character with the rights to the .ban command that banned the account.
+
Дата снятия бана с аккаунта в Unix-формате. Если в этом поле значение меньше даты выдачи - бан выдается перманентно(навсегда).
-
====banreason====
+
====banned_by====
-
The reason for the ban.
+
Ник забанившего аккаунт. Персонаж должен иметь аккаунт с правами на команду .ban в игре. [[Command#security|Command.security]]
 +
====unbanned_at====
 +
====unbanned_by====
 +
====reason====
 +
Причина, по которой забанен аккаунт.
====active====
====active====
-
Boolean 0 or 1 controlling if the ban is currently active or not.
+
Логическое значение 0 или 1 устанавливающее активен бан или нет.

Текущая версия на 11:02, 1 февраля 2020

Содержание

Назад к списку таблиц realm database.


Таблица `account_banned`

Эта таблица содержит полную информацию о действующей блокировке по учетным записям.


Структура

Field Type Attributes Null Key Default Comment
id int(11) AUTO_INCREMENT NO PRI
account_id int(11) NO Account id
banned_at bigint(40) NO PRI NULL
expires_at bigint(40) YES NULL
banned_by varchar(50) YES NULL
unbanned_at bigint(40) NO 0
unbanned_by varchar(50) YES NULL
reason varchar(255) YES NULL
active tinyint(4) NO 1


Описание полей

id

account_id

Идентификатор забаненного аккаунта. См. account.id

banned_at

Дата выдачи бана аккаунту, в Unix-формате.

expires_at

Дата снятия бана с аккаунта в Unix-формате. Если в этом поле значение меньше даты выдачи - бан выдается перманентно(навсегда).

banned_by

Ник забанившего аккаунт. Персонаж должен иметь аккаунт с правами на команду .ban в игре. Command.security

unbanned_at

unbanned_by

reason

Причина, по которой забанен аккаунт.

active

Логическое значение 0 или 1 устанавливающее активен бан или нет.

Личные инструменты