2024-09-01 13:04:31 -07:00
-- MySQL dump 10.13 Distrib 8.0.39, for Win64 (x86_64)
2008-10-02 16:23:55 -05:00
--
2024-09-01 13:04:31 -07:00
-- Host: localhost Database: z-auth
2008-10-02 16:23:55 -05:00
-- ------------------------------------------------------
2026-06-03 13:01:21 -05:00
-- Server version 8.0.39
2008-10-02 16:23:55 -05:00
/* !40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */ ;
/* !40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */ ;
/* !40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET NAMES utf8mb4 */ ;
2008-10-02 16:23:55 -05:00
/* !40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */ ;
/* !40103 SET TIME_ZONE='+00:00' */ ;
/* !40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */ ;
/* !40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */ ;
/* !40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ ;
/* !40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */ ;
2009-12-21 21:08:29 -06:00
--
2008-10-02 16:23:55 -05:00
-- Table structure for table `account`
--
DROP TABLE IF EXISTS ` account ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2008-10-02 16:23:55 -05:00
CREATE TABLE ` account ` (
2024-09-01 13:04:31 -07:00
` id ` int unsigned NOT NULL AUTO_INCREMENT COMMENT ' Identifier ' ,
2012-02-19 13:21:14 +01:00
` username ` varchar ( 32 ) NOT NULL DEFAULT ' ' ,
2024-09-01 13:04:31 -07:00
` salt ` binary ( 32 ) NOT NULL ,
` verifier ` binary ( 32 ) NOT NULL ,
` session_key ` binary ( 40 ) DEFAULT NULL ,
2013-08-25 14:02:40 +01:00
` token_key ` varchar ( 100 ) NOT NULL DEFAULT ' ' ,
2013-07-25 01:49:04 +02:00
` email ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` reg_mail ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
2026-08-04 18:14:45 -05:00
` email_login_converted ` tinyint unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 1 when the account self-converted to email login ' ,
2012-02-19 13:21:14 +01:00
` joindate ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ,
2012-05-30 08:01:02 +02:00
` last_ip ` varchar ( 15 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
2024-09-01 13:04:31 -07:00
` failed_logins ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` locked ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2013-04-15 14:56:00 +03:00
` lock_country ` varchar ( 2 ) NOT NULL DEFAULT ' 00 ' ,
2024-09-01 13:04:31 -07:00
` last_login ` timestamp NULL DEFAULT NULL ,
` online ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` expansion ` tinyint unsigned NOT NULL DEFAULT ' 4 ' ,
` mutetime ` bigint NOT NULL DEFAULT ' 0 ' ,
2013-02-04 16:08:07 +00:00
` mutereason ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` muteby ` varchar ( 50 ) NOT NULL DEFAULT ' ' ,
2024-09-01 13:04:31 -07:00
` locale ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2012-05-30 08:01:02 +02:00
` os ` varchar ( 3 ) NOT NULL DEFAULT ' ' ,
2024-09-01 13:04:31 -07:00
` recruiter ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` hasBoost ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY ( ` id ` ) ,
2009-12-22 15:03:33 -03:00
UNIQUE KEY ` idx_username ` ( ` username ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Account System ' ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `account`
--
LOCK TABLES ` account ` WRITE ;
/* !40000 ALTER TABLE `account` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account` ENABLE KEYS */ ;
UNLOCK TABLES ;
2026-08-03 21:20:11 -05:00
--
-- Table structure for table `account_login_identity`
--
DROP TABLE IF EXISTS ` account_login_identity ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` account_login_identity ` (
` id ` int unsigned NOT NULL AUTO_INCREMENT ,
` account_id ` int unsigned NOT NULL ,
` identity_type ` tinyint unsigned NOT NULL COMMENT ' 0 legacy username, 1 email ' ,
` identity ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` identity_canonical ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` salt ` binary ( 32 ) NOT NULL ,
` verifier ` binary ( 32 ) NOT NULL ,
` created_at ` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ,
` updated_at ` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP ,
PRIMARY KEY ( ` id ` ) ,
UNIQUE KEY ` idx_account_login_identity_canonical ` ( ` identity_type ` , ` identity_canonical ` ) ,
KEY ` idx_account_login_identity_account ` ( ` account_id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Account login SRP identities ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `account_login_identity`
--
LOCK TABLES ` account_login_identity ` WRITE ;
/* !40000 ALTER TABLE `account_login_identity` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account_login_identity` ENABLE KEYS */ ;
UNLOCK TABLES ;
2012-02-19 13:21:14 +01:00
--
-- Table structure for table `account_access`
--
DROP TABLE IF EXISTS ` account_access ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2012-02-19 13:21:14 +01:00
CREATE TABLE ` account_access ` (
2024-09-01 13:04:31 -07:00
` id ` int unsigned NOT NULL ,
` gmlevel ` tinyint unsigned NOT NULL ,
` RealmID ` int NOT NULL DEFAULT ' -1 ' ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY ( ` id ` , ` RealmID ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 ;
2012-02-19 13:21:14 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `account_access`
--
LOCK TABLES ` account_access ` WRITE ;
/* !40000 ALTER TABLE `account_access` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account_access` ENABLE KEYS */ ;
UNLOCK TABLES ;
2008-10-02 16:23:55 -05:00
--
-- Table structure for table `account_banned`
--
DROP TABLE IF EXISTS ` account_banned ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2008-10-02 16:23:55 -05:00
CREATE TABLE ` account_banned ` (
2024-09-01 13:04:31 -07:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Account id ' ,
` bandate ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` unbandate ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2008-10-02 16:23:55 -05:00
` bannedby ` varchar ( 50 ) NOT NULL ,
` banreason ` varchar ( 255 ) NOT NULL ,
2024-09-01 13:04:31 -07:00
` active ` tinyint unsigned NOT NULL DEFAULT ' 1 ' ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY ( ` id ` , ` bandate ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Ban List ' ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `account_banned`
--
LOCK TABLES ` account_banned ` WRITE ;
/* !40000 ALTER TABLE `account_banned` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `account_banned` ENABLE KEYS */ ;
UNLOCK TABLES ;
2013-06-02 19:28:53 +02:00
--
2013-09-10 23:21:27 +01:00
-- Table structure for table `autobroadcast`
2013-06-02 19:28:53 +02:00
--
DROP TABLE IF EXISTS ` autobroadcast ` ;
2013-09-10 23:21:27 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2013-06-02 19:28:53 +02:00
CREATE TABLE ` autobroadcast ` (
2024-09-01 13:04:31 -07:00
` realmid ` int NOT NULL DEFAULT ' -1 ' ,
` id ` tinyint unsigned NOT NULL AUTO_INCREMENT ,
` weight ` tinyint unsigned DEFAULT ' 1 ' ,
2013-06-02 19:28:53 +02:00
` text ` longtext NOT NULL ,
PRIMARY KEY ( ` id ` , ` realmid ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 ;
2013-09-10 23:21:27 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2013-06-02 19:28:53 +02:00
2008-10-02 16:23:55 -05:00
--
2013-09-10 23:21:27 +01:00
-- Dumping data for table `autobroadcast`
2008-10-02 16:23:55 -05:00
--
2013-09-10 23:21:27 +01:00
LOCK TABLES ` autobroadcast ` WRITE ;
/* !40000 ALTER TABLE `autobroadcast` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `autobroadcast` ENABLE KEYS */ ;
UNLOCK TABLES ;
2008-10-02 16:23:55 -05:00
2013-09-10 23:21:27 +01:00
--
-- Table structure for table `ip2nation`
--
2013-04-26 00:58:34 +03:00
DROP TABLE IF EXISTS ` ip2nation ` ;
2013-09-10 23:21:27 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2013-04-26 00:58:34 +03:00
CREATE TABLE ` ip2nation ` (
2024-09-01 13:04:31 -07:00
` ip ` int unsigned NOT NULL DEFAULT ' 0 ' ,
2013-04-26 00:58:34 +03:00
` country ` char ( 2 ) NOT NULL DEFAULT ' ' ,
KEY ` ip ` ( ` ip ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 ;
2013-09-10 23:21:27 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2013-04-26 00:58:34 +03:00
2013-09-10 23:21:27 +01:00
--
-- Dumping data for table `ip2nation`
--
2013-04-26 00:58:34 +03:00
2013-09-10 23:21:27 +01:00
LOCK TABLES ` ip2nation ` WRITE ;
/* !40000 ALTER TABLE `ip2nation` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `ip2nation` ENABLE KEYS */ ;
UNLOCK TABLES ;
2013-04-26 00:58:34 +03:00
2013-09-10 23:21:27 +01:00
--
2024-09-01 13:04:31 -07:00
-- Table structure for table `ip2nationcountries`
2013-09-10 23:21:27 +01:00
--
2024-09-01 13:04:31 -07:00
DROP TABLE IF EXISTS ` ip2nationcountries ` ;
2013-09-10 23:21:27 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` ip2nationcountries ` (
2013-04-26 00:58:34 +03:00
` code ` varchar ( 4 ) NOT NULL DEFAULT ' ' ,
` iso_code_2 ` varchar ( 2 ) NOT NULL DEFAULT ' ' ,
` iso_code_3 ` varchar ( 3 ) DEFAULT ' ' ,
` iso_country ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` country ` varchar ( 255 ) NOT NULL DEFAULT ' ' ,
` lat ` float NOT NULL DEFAULT ' 0 ' ,
` lon ` float NOT NULL DEFAULT ' 0 ' ,
PRIMARY KEY ( ` code ` ) ,
KEY ` code ` ( ` code ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 ;
2013-09-10 23:21:27 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2024-09-01 13:04:31 -07:00
-- Dumping data for table `ip2nationcountries`
2013-09-10 23:21:27 +01:00
--
2024-09-01 13:04:31 -07:00
LOCK TABLES ` ip2nationcountries ` WRITE ;
/* !40000 ALTER TABLE `ip2nationcountries` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `ip2nationcountries` ENABLE KEYS */ ;
2013-09-10 23:21:27 +01:00
UNLOCK TABLES ;
--
-- Table structure for table `ip_banned`
--
DROP TABLE IF EXISTS ` ip_banned ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2013-09-10 23:21:27 +01:00
CREATE TABLE ` ip_banned ` (
` ip ` varchar ( 15 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
2024-09-01 13:04:31 -07:00
` bandate ` int unsigned NOT NULL ,
` unbandate ` int unsigned NOT NULL ,
2013-09-10 23:21:27 +01:00
` bannedby ` varchar ( 50 ) NOT NULL DEFAULT ' [Console] ' ,
` banreason ` varchar ( 255 ) NOT NULL DEFAULT ' no reason ' ,
PRIMARY KEY ( ` ip ` , ` bandate ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Banned IPs ' ;
2013-09-10 23:21:27 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2013-04-26 00:58:34 +03:00
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `ip_banned`
--
LOCK TABLES ` ip_banned ` WRITE ;
/* !40000 ALTER TABLE `ip_banned` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `ip_banned` ENABLE KEYS */ ;
UNLOCK TABLES ;
2009-03-19 21:13:52 +01:00
--
-- Table structure for table `logs`
--
DROP TABLE IF EXISTS ` logs ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2009-03-19 21:13:52 +01:00
CREATE TABLE ` logs ` (
2024-09-01 13:04:31 -07:00
` time ` int unsigned NOT NULL ,
` realm ` int unsigned NOT NULL ,
2018-08-12 02:43:50 +02:00
` type ` varchar ( 250 ) DEFAULT NULL ,
2024-09-01 13:04:31 -07:00
` level ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2018-08-12 02:43:50 +02:00
` string ` text CHARACTER SET latin1 COLLATE latin1_swedish_ci
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2009-03-19 21:13:52 +01:00
--
-- Dumping data for table `logs`
--
LOCK TABLES ` logs ` WRITE ;
/* !40000 ALTER TABLE `logs` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `logs` ENABLE KEYS */ ;
UNLOCK TABLES ;
2026-06-21 19:36:17 -05:00
--
-- Table structure for table `gm_notes`
--
DROP TABLE IF EXISTS ` gm_notes ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !50503 SET character_set_client = utf8mb4 */ ;
CREATE TABLE ` gm_notes ` (
` id ` int unsigned NOT NULL AUTO_INCREMENT ,
` realm_id ` int NOT NULL DEFAULT ' 0 ' ,
` account_id ` int unsigned NOT NULL ,
` player_id ` int unsigned NOT NULL ,
` note_date ` date NOT NULL ,
` note_time ` time NOT NULL ,
` map_id ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` zone_id ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` area_id ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
` position_x ` float NOT NULL DEFAULT ' 0 ' ,
` position_y ` float NOT NULL DEFAULT ' 0 ' ,
` position_z ` float NOT NULL DEFAULT ' 0 ' ,
` orientation ` float NOT NULL DEFAULT ' 0 ' ,
` location ` varchar ( 128 ) NOT NULL DEFAULT ' ' ,
` note ` varchar ( 255 ) NOT NULL ,
PRIMARY KEY ( ` id ` ) ,
KEY ` idx_gm_notes_realm_date ` ( ` realm_id ` , ` note_date ` ) ,
KEY ` idx_gm_notes_account_id ` ( ` account_id ` ) ,
KEY ` idx_gm_notes_player_id ` ( ` player_id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' In-game GM notes ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `gm_notes`
--
LOCK TABLES ` gm_notes ` WRITE ;
/* !40000 ALTER TABLE `gm_notes` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `gm_notes` ENABLE KEYS */ ;
UNLOCK TABLES ;
2013-02-04 16:08:07 +00:00
--
-- Table structure for table `rbac_account_permissions`
--
DROP TABLE IF EXISTS ` rbac_account_permissions ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2013-02-04 16:08:07 +00:00
CREATE TABLE ` rbac_account_permissions ` (
2024-09-01 13:04:31 -07:00
` accountId ` int unsigned NOT NULL COMMENT ' Account id ' ,
` permissionId ` int unsigned NOT NULL COMMENT ' Permission id ' ,
2013-02-04 16:08:07 +00:00
` granted ` tinyint ( 1 ) NOT NULL DEFAULT ' 1 ' COMMENT ' Granted = 1, Denied = 0 ' ,
2024-09-01 13:04:31 -07:00
` realmId ` int NOT NULL DEFAULT ' -1 ' COMMENT ' Realm Id, -1 means all ' ,
2013-02-04 16:08:07 +00:00
PRIMARY KEY ( ` accountId ` , ` permissionId ` , ` realmId ` ) ,
KEY ` fk__rbac_account_roles__rbac_permissions ` ( ` permissionId ` ) ,
CONSTRAINT ` fk__rbac_account_permissions__account ` FOREIGN KEY ( ` accountId ` ) REFERENCES ` account ` ( ` id ` ) ON DELETE CASCADE ,
CONSTRAINT ` fk__rbac_account_roles__rbac_permissions ` FOREIGN KEY ( ` permissionId ` ) REFERENCES ` rbac_permissions ` ( ` id ` ) ON DELETE CASCADE
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Account-Permission relation ' ;
2013-02-04 16:08:07 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `rbac_account_permissions`
--
LOCK TABLES ` rbac_account_permissions ` WRITE ;
/* !40000 ALTER TABLE `rbac_account_permissions` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `rbac_account_permissions` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
2013-09-29 14:15:58 +02:00
-- Table structure for table `rbac_default_permissions`
2013-02-04 16:08:07 +00:00
--
2013-09-29 14:15:58 +02:00
DROP TABLE IF EXISTS ` rbac_default_permissions ` ;
2013-02-04 16:08:07 +00:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2013-09-29 14:15:58 +02:00
CREATE TABLE ` rbac_default_permissions ` (
2024-09-01 13:04:31 -07:00
` secId ` int unsigned NOT NULL COMMENT ' Security Level id ' ,
` permissionId ` int unsigned NOT NULL COMMENT ' permission id ' ,
2013-09-29 14:15:58 +02:00
PRIMARY KEY ( ` secId ` , ` permissionId ` ) ,
KEY ` fk__rbac_default_permissions__rbac_permissions ` ( ` permissionId ` ) ,
CONSTRAINT ` fk__rbac_default_permissions__rbac_permissions ` FOREIGN KEY ( ` permissionId ` ) REFERENCES ` rbac_permissions ` ( ` id ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Default permission to assign to different account security levels ' ;
2013-02-04 16:08:07 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2013-09-29 14:15:58 +02:00
-- Dumping data for table `rbac_default_permissions`
2013-02-04 16:08:07 +00:00
--
2013-09-29 14:15:58 +02:00
LOCK TABLES ` rbac_default_permissions ` WRITE ;
/* !40000 ALTER TABLE `rbac_default_permissions` DISABLE KEYS */ ;
INSERT INTO ` rbac_default_permissions ` VALUES ( 3 , 192 ) , ( 2 , 193 ) , ( 1 , 194 ) , ( 0 , 195 ) ;
/* !40000 ALTER TABLE `rbac_default_permissions` ENABLE KEYS */ ;
2013-02-04 16:08:07 +00:00
UNLOCK TABLES ;
--
2013-09-29 14:15:58 +02:00
-- Table structure for table `rbac_linked_permissions`
2013-02-04 16:08:07 +00:00
--
2013-09-29 14:15:58 +02:00
DROP TABLE IF EXISTS ` rbac_linked_permissions ` ;
2013-02-04 16:08:07 +00:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2013-09-29 14:15:58 +02:00
CREATE TABLE ` rbac_linked_permissions ` (
2024-09-01 13:04:31 -07:00
` id ` int unsigned NOT NULL COMMENT ' Permission id ' ,
` linkedId ` int unsigned NOT NULL COMMENT ' Linked Permission id ' ,
2013-09-29 14:15:58 +02:00
PRIMARY KEY ( ` id ` , ` linkedId ` ) ,
KEY ` fk__rbac_linked_permissions__rbac_permissions1 ` ( ` id ` ) ,
KEY ` fk__rbac_linked_permissions__rbac_permissions2 ` ( ` linkedId ` ) ,
CONSTRAINT ` fk__rbac_linked_permissions__rbac_permissions1 ` FOREIGN KEY ( ` id ` ) REFERENCES ` rbac_permissions ` ( ` id ` ) ON DELETE CASCADE ,
CONSTRAINT ` fk__rbac_linked_permissions__rbac_permissions2 ` FOREIGN KEY ( ` linkedId ` ) REFERENCES ` rbac_permissions ` ( ` id ` ) ON DELETE CASCADE
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Permission - Linked Permission relation ' ;
2013-02-04 16:08:07 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2013-09-29 14:15:58 +02:00
-- Dumping data for table `rbac_linked_permissions`
2013-02-04 16:08:07 +00:00
--
2013-09-29 14:15:58 +02:00
LOCK TABLES ` rbac_linked_permissions ` WRITE ;
/* !40000 ALTER TABLE `rbac_linked_permissions` DISABLE KEYS */ ;
2026-08-04 18:14:45 -05:00
INSERT INTO ` rbac_linked_permissions ` VALUES ( 192 , 21 ) , ( 192 , 42 ) , ( 192 , 43 ) , ( 192 , 193 ) , ( 192 , 196 ) , ( 192 , 805 ) , ( 192 , 806 ) , ( 192 , 807 ) , ( 193 , 48 ) , ( 193 , 194 ) , ( 193 , 197 ) , ( 194 , 1 ) , ( 194 , 2 ) , ( 194 , 11 ) , ( 194 , 13 ) , ( 194 , 14 ) , ( 194 , 15 ) , ( 194 , 16 ) , ( 194 , 17 ) , ( 194 , 18 ) , ( 194 , 19 ) , ( 194 , 20 ) , ( 194 , 22 ) , ( 194 , 23 ) , ( 194 , 25 ) , ( 194 , 26 ) , ( 194 , 27 ) , ( 194 , 28 ) , ( 194 , 29 ) , ( 194 , 30 ) , ( 194 , 31 ) , ( 194 , 32 ) , ( 194 , 33 ) , ( 194 , 34 ) , ( 194 , 35 ) , ( 194 , 36 ) , ( 194 , 37 ) , ( 194 , 38 ) , ( 194 , 39 ) , ( 194 , 40 ) , ( 194 , 41 ) , ( 194 , 44 ) , ( 194 , 46 ) , ( 194 , 47 ) , ( 194 , 195 ) , ( 194 , 198 ) , ( 195 , 3 ) , ( 195 , 4 ) , ( 195 , 5 ) , ( 195 , 6 ) , ( 195 , 24 ) , ( 195 , 49 ) , ( 195 , 199 ) , ( 196 , 200 ) , ( 196 , 201 ) , ( 196 , 226 ) , ( 196 , 227 ) , ( 196 , 230 ) , ( 196 , 231 ) , ( 196 , 239 ) , ( 196 , 240 ) , ( 196 , 241 ) , ( 196 , 242 ) , ( 196 , 243 ) , ( 196 , 244 ) , ( 196 , 245 ) , ( 196 , 246 ) , ( 196 , 247 ) , ( 196 , 248 ) , ( 196 , 249 ) , ( 196 , 250 ) , ( 196 , 251 ) , ( 196 , 252 ) , ( 196 , 253 ) , ( 196 , 254 ) , ( 196 , 255 ) , ( 196 , 256 ) , ( 196 , 257 ) , ( 196 , 258 ) , ( 196 , 259 ) , ( 196 , 260 ) , ( 196 , 261 ) , ( 196 , 262 ) , ( 196 , 264 ) , ( 196 , 265 ) , ( 196 , 266 ) , ( 196 , 267 ) , ( 196 , 268 ) , ( 196 , 269 ) , ( 196 , 270 ) , ( 196 , 271 ) , ( 196 , 272 ) , ( 196 , 279 ) , ( 196 , 280 ) , ( 196 , 283 ) , ( 196 , 287 ) , ( 196 , 288 ) , ( 196 , 289 ) , ( 196 , 290 ) , ( 196 , 291 ) , ( 196 , 292 ) , ( 196 , 293 ) , ( 196 , 294 ) , ( 196 , 295 ) , ( 196 , 296 ) , ( 196 , 297 ) , ( 196 , 298 ) , ( 196 , 299 ) , ( 196 , 302 ) , ( 196 , 303 ) , ( 196 , 304 ) , ( 196 , 305 ) , ( 196 , 306 ) , ( 196 , 307 ) , ( 196 , 308 ) , ( 196 , 309 ) , ( 196 , 310 ) , ( 196 , 313 ) , ( 196 , 314 ) , ( 196 , 319 ) , ( 196 , 320 ) , ( 196 , 321 ) , ( 196 , 322 ) , ( 196 , 323 ) , ( 196 , 324 ) , ( 196 , 326 ) , ( 196 , 327 ) , ( 196 , 328 ) , ( 196 , 329 ) , ( 196 , 330 ) , ( 196 , 331 ) , ( 196 , 332 ) , ( 196 , 333 ) , ( 196 , 334 ) , ( 196 , 335 ) , ( 196 , 336 ) , ( 196 , 337 ) , ( 196 , 338 ) , ( 196 , 339 ) , ( 196 , 340 ) , ( 196 , 341 ) , ( 196 , 342 ) , ( 196 , 343 ) , ( 196 , 344 ) , ( 196 , 345 ) , ( 196 , 346 ) , ( 196 , 347 ) , ( 196 , 348 ) , ( 196 , 349 ) , ( 196 , 350 ) , ( 196 , 351 ) , ( 196 , 352 ) , ( 196 , 353 ) , ( 196 , 354 ) , ( 196 , 355 ) , ( 196 , 356 ) , ( 196 , 357 ) , ( 196 , 358 ) , ( 196 , 359 ) , ( 196 , 360 ) , ( 196 , 361 ) , ( 196 , 362 ) , ( 196 , 363 ) , ( 196 , 364 ) , ( 196 , 365 ) , ( 196 , 366 ) , ( 196 , 373 ) , ( 196 , 375 ) , ( 196 , 400 ) , ( 196 , 401 ) , ( 196 , 402 ) , ( 196 , 403 ) , ( 196 , 404 ) , ( 196 , 405 ) , ( 196 , 406 ) , ( 196 , 407 ) , ( 196 , 417 ) , ( 196 , 418 ) , ( 196 , 419 ) , ( 196 , 420 ) , ( 196 , 421 ) , ( 196 , 422 ) , ( 196 , 423 ) , ( 196 , 424 ) , ( 196 , 425 ) , ( 196 , 426 ) , ( 196 , 427 ) , ( 196 , 428 ) , ( 196 , 429 ) , ( 196 , 434 ) , ( 196 , 435 ) , ( 196 , 436 ) , ( 196 , 437 ) , ( 196 , 438 ) , ( 196 , 439 ) , ( 196 , 440 ) , ( 196 , 441 ) , ( 196 , 442 ) , ( 196 , 443 ) , ( 196 , 444 ) , ( 196 , 445 ) , ( 196 , 446 ) , ( 196 , 447 ) , ( 196 , 448 ) , ( 196 , 449 ) , ( 196 , 450 ) , ( 196 , 451 ) , ( 196 , 452 ) , ( 196 , 453 ) , ( 196 , 454 ) , ( 196 , 455 ) , ( 196 , 456 ) , ( 196 , 457 ) , ( 196 , 458 ) , ( 196 , 459 ) , ( 196 , 461 ) , ( 196 , 463 ) , ( 196 , 464 ) , ( 196 , 465 ) , ( 196 , 472 ) , ( 196 , 473 ) , ( 196 , 474 ) , ( 196 , 475 ) , ( 196 , 476 ) , ( 196 , 477 ) , ( 196 , 478 ) , ( 196 , 488 ) , ( 196 , 489 ) , ( 196 , 491 ) , ( 196 , 492 ) , ( 196 , 493 ) , ( 196 , 495 ) , ( 196 , 497 ) , ( 196 , 498 ) , ( 196 , 499 ) , ( 196 , 500 ) , ( 196 , 502 ) , ( 196 , 503 ) , ( 196 , 505 ) , ( 196 , 508 ) , ( 196 , 511 ) , ( 196 , 513 ) , ( 196 , 514 ) , ( 196 , 516 ) , ( 196 , 519 ) , ( 196 , 522 ) , ( 196 , 523 ) , ( 196 , 526 ) , ( 196 , 527 ) , ( 196 , 529 ) , ( 196 , 530 ) , ( 196 , 533 ) , ( 196 , 535 ) , ( 196 , 536 ) , ( 196 , 537 ) , ( 196 , 538 ) , ( 196 , 539 ) , ( 196 , 540 ) , ( 196 , 541 ) , ( 196 , 556 ) , ( 196 , 581 ) , ( 196 , 582 ) , ( 196 , 592 ) , ( 196 , 593 ) , ( 196 , 596 ) , ( 196 , 602 ) , ( 196 , 603 ) , ( 196 , 604 ) , ( 196 , 605 ) , ( 196 , 606 ) , ( 196 , 607 ) , ( 196 , 608 ) , ( 196 , 609 ) , ( 196 , 610 ) , ( 196 , 611 ) , ( 196 , 612 ) , ( 196 , 613 ) , ( 196 , 614 ) , ( 196 , 615 ) , ( 196 , 616 ) , ( 196 , 617 ) , ( 196 , 618 ) , ( 196 , 619 ) , ( 196 , 620 ) , ( 196 , 621 ) , ( 196 , 622 ) , ( 196 , 623 ) , ( 196 , 624 ) , ( 196 , 625 ) , ( 196 , 626 ) , ( 196 , 627 ) , ( 196 , 628 ) , ( 196 , 629 ) , ( 196 , 630 ) , ( 196 , 631 ) , ( 196 , 632 ) , ( 196 , 633 ) , ( 196 , 634 ) , ( 196 , 635 ) , ( 196 , 636 ) , ( 196 , 637 ) , ( 196 , 638 ) , ( 196 , 639 ) , ( 196 , 640 ) , ( 196 , 641 ) , ( 196 , 642 ) , ( 196 , 643 ) , ( 196 , 644 ) , ( 196 , 645 ) , ( 196 , 646 ) , ( 196 , 647 ) , ( 196 , 648 ) , ( 196 , 649 ) , ( 196 , 650 ) , ( 196 , 651 ) , ( 196 , 652 ) , ( 196 , 653 ) , ( 196 , 654 ) , ( 196 , 655 ) , ( 196 , 656 ) , ( 196 , 657 ) , ( 196 , 658 ) , ( 196 , 659 ) , ( 196 , 660 ) , ( 196 , 661 ) , ( 196 , 662 ) , ( 196 , 663 ) , ( 196 , 664 ) , ( 196 , 665 ) , ( 196 , 666 ) , ( 196 , 667 ) , ( 196 , 668 ) , ( 196 , 669 ) , ( 196 , 670 ) , ( 196 , 671 ) , ( 196 , 672 ) , ( 196 , 673 ) , ( 196 , 674 ) , ( 196 , 675 ) , ( 196 , 676 ) , ( 196 , 677 ) , ( 196 , 678 ) , ( 196 , 679 ) , ( 196 , 680 ) , ( 196 , 681 ) , ( 196 , 682 ) , ( 196 , 683 ) , ( 196 , 684 ) , ( 196 , 685 ) , ( 196 , 686 ) , ( 196 , 687 ) , ( 196 , 688 ) , ( 196 , 689 ) , ( 196 , 690 ) , ( 196 , 691 ) , ( 196 , 692 ) , ( 196 , 693 ) , ( 196 , 694 ) , ( 196 , 695 ) , ( 196 , 696 ) , ( 196 , 697 ) , ( 196 , 698 ) , ( 196 , 699 ) , ( 196 , 700 ) , ( 196 , 701 ) , ( 196 , 702 ) , ( 196 , 703 ) , ( 196 , 704 ) , ( 196 , 705 ) , ( 196 , 706 ) , ( 196 , 707 ) , ( 196 , 708 ) , ( 196 , 709 ) , ( 196 , 710 ) , ( 196 , 711 ) , ( 196 , 712 ) , ( 196 , 713 ) , ( 196 , 714 ) , ( 196 , 715 ) , ( 196 , 716 ) , ( 196 , 717 ) , ( 196 , 718 ) , ( 196 , 719 ) , ( 196 , 721 ) , ( 196 , 722 ) , ( 196 , 723 ) , ( 196 , 724 ) , ( 196 , 725 ) , ( 196 , 726 ) , ( 196 , 727 ) , ( 196 , 728 ) , ( 196 , 729 ) , ( 196 , 730 ) , ( 196 , 733 ) , ( 196 , 734 ) , ( 196 , 735 ) , ( 196 , 736 ) , ( 196 , 738 ) , ( 196 , 739 ) , ( 196 , 748 ) , ( 196 , 753 ) , ( 196 , 757 ) , ( 196 , 773 ) , ( 196 , 800 ) , ( 196 , 801 ) , ( 196 , 802 ) , ( 196 , 803 ) , ( 196 , 804 ) , ( 197 , 273 ) , ( 197 , 274 )
2026-06-28 19:47:07 -05:00
INSERT INTO ` rbac_linked_permissions ` VALUES ( 198 , 809 ) ;
2026-08-04 18:14:45 -05:00
INSERT INTO ` rbac_linked_permissions ` VALUES ( 198 , 775 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 196 , 278 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 196 , 281 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 196 , 282 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 196 , 776 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1000 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1001 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1002 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1003 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1004 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1005 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1006 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1007 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1008 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1009 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1010 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 197 , 1011 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 198 , 525 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 199 , 232 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 199 , 233 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 199 , 524 ) ;
INSERT INTO ` rbac_linked_permissions ` VALUES ( 232 , 233 ) ;
2013-09-29 14:15:58 +02:00
/* !40000 ALTER TABLE `rbac_linked_permissions` ENABLE KEYS */ ;
2013-02-04 16:08:07 +00:00
UNLOCK TABLES ;
--
-- Table structure for table `rbac_permissions`
--
DROP TABLE IF EXISTS ` rbac_permissions ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2013-02-04 16:08:07 +00:00
CREATE TABLE ` rbac_permissions ` (
2024-09-01 13:04:31 -07:00
` id ` int unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' Permission id ' ,
2013-02-04 16:08:07 +00:00
` name ` varchar ( 100 ) NOT NULL COMMENT ' Permission name ' ,
PRIMARY KEY ( ` id ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Permission List ' ;
2013-02-04 16:08:07 +00:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `rbac_permissions`
--
LOCK TABLES ` rbac_permissions ` WRITE ;
/* !40000 ALTER TABLE `rbac_permissions` DISABLE KEYS */ ;
2026-08-04 18:14:45 -05:00
INSERT INTO ` rbac_permissions ` VALUES ( 1 , ' Instant logout ' ) , ( 2 , ' Skip Queue ' ) , ( 3 , ' Join Normal Battleground ' ) , ( 4 , ' Join Random Battleground ' ) , ( 5 , ' Join Arenas ' ) , ( 6 , ' Join Dungeon Finder ' ) , ( 11 , ' Log GM trades ' ) , ( 13 , ' Skip Instance required bosses check ' ) , ( 14 , ' Skip character creation team mask check ' ) , ( 15 , ' Skip character creation class mask check ' ) , ( 16 , ' Skip character creation race mask check ' ) , ( 17 , ' Skip character creation reserved name check ' ) , ( 18 , ' Skip character creation heroic min level check ' ) , ( 19 , ' Skip needed requirements to use channel check ' ) , ( 20 , ' Skip disable map check ' ) , ( 21 , ' Skip reset talents when used more than allowed check ' ) , ( 22 , ' Skip spam chat check ' ) , ( 23 , ' Skip over-speed ping check ' ) , ( 24 , ' Two side faction characters on the same account ' ) , ( 25 , ' Allow say chat between factions ' ) , ( 26 , ' Allow channel chat between factions ' ) , ( 27 , ' Two side mail interaction ' ) , ( 28 , ' See two side who list ' ) , ( 29 , ' Add friends of other faction ' ) , ( 30 , ' Save character without delay with .save command ' ) , ( 31 , ' Use params with .unstuck command ' ) , ( 32 , ' Can be assigned tickets with .assign ticket command ' ) , ( 33 , ' Notify if a command was not found ' ) , ( 34 , ' Check if should appear in list using .gm ingame command ' ) , ( 35 , ' See all security levels with who command ' ) , ( 36 , ' Filter whispers ' ) , ( 37 , ' Use staff badge in chat ' ) , ( 38 , ' Resurrect with full Health Points ' ) , ( 39 , ' Restore saved gm setting states ' ) , ( 40 , ' Allows to add a gm to friend list ' ) , ( 41 , ' Use Config option START_GM_LEVEL to assign new character level ' ) , ( 42 , ' Allows to use CMSG_WORLD_TELEPORT opcode ' ) , ( 43 , ' Allows to use CMSG_WHOIS opcode ' ) , ( 44 , ' Receive global GM messages/texts ' ) , ( 45 , ' Join channels without announce ' ) , ( 46 , ' Change channel settings without being channel moderator ' ) , ( 47 , ' Enables lower security than target check ' ) , ( 48 , ' Enable IP, Last Login and EMail output in pinfo ' ) , ( 49 , ' Forces to enter the email for confirmation on password change ' ) , ( 50 , ' Allow user to check his own email with .account ' ) , ( 192 , ' Role: Sec Level Administrator ' ) , ( 193 , ' Role: Sec Level Gamemaster ' ) , ( 194 , ' Role: Sec Level Moderator ' ) , ( 195 , ' Role: Sec Level Player ' ) , ( 196 , ' Role: Administrator Commands ' ) , ( 197 , ' Role: Gamemaster Commands ' ) , ( 198 , ' Role: Moderator Commands ' ) , ( 199 , ' Role: Player Commands ' ) , ( 200 , ' Command: rbac ' ) , ( 201 , ' Command: rbac account ' ) , ( 202 , ' Command: rbac account list ' ) , ( 203 , ' Command: rbac account grant ' ) , ( 204 , ' Command: rbac account deny ' ) , ( 205 , ' Command: rbac account revoke ' ) , ( 206 , ' Command: rbac list ' ) , ( 217 , ' Command: account ' ) , ( 218 , ' Command: account addon ' ) , ( 219 , ' Command: account create ' ) , ( 220 , ' Command: account delete ' ) , ( 221 , ' Command: account lock ' ) , ( 222 , ' Command: account lock country ' ) , ( 223 , ' Command: account lock ip ' ) , ( 224 , ' Command: account onlinelist ' ) , ( 225 , ' Command: account password ' ) , ( 226 , ' Command: account set ' ) , ( 227 , ' Command: account set addon ' ) , ( 228 , ' Command: account set gmlevel ' ) , ( 229 , ' Command: account set password ' ) , ( 230 , ' Command: achievement ' ) , ( 231 , ' Command: achievement add ' ) , ( 239 , ' Command: ban ' ) , ( 240 , ' Command: ban account ' ) , ( 241 , ' Command: ban character ' ) , ( 242 , ' Command: ban ip ' ) , ( 243 , ' Command: ban playeraccount ' ) , ( 244 , ' Command: baninfo ' ) , ( 245 , ' Command: baninfo account ' ) , ( 246 , ' Command: baninfo character ' ) , ( 247 , ' Command: baninfo ip ' ) , ( 248 , ' Command: banlist ' ) , ( 249 , ' Command: banlist account ' ) , ( 250 , ' Command: banlist character ' ) , ( 251 , ' Command: banlist ip ' ) , ( 252 , ' Command: unban ' ) , ( 253 , ' Command: unban account ' ) , ( 254 , ' Command: unban character ' ) , ( 255 , ' Command: unban ip ' ) , ( 256 , ' Command: unban playeraccount ' ) , ( 257 , ' Command: bf ' ) , ( 258 , ' Command: bf start ' ) , ( 259 , ' Command: bf stop ' ) , ( 260 , ' Command: bf switch ' ) , ( 261 , ' Command: bf timer ' ) , ( 262 , ' Command: bf enable ' ) , ( 263 , ' Command: account email ' ) , ( 264 , ' Command: account set sec ' ) , ( 265 , ' Command: account set sec email ' ) , ( 266 , ' Command: account set sec regmail ' ) , ( 267 , ' Command: cast ' ) , ( 268 , ' Command: cast back ' ) , ( 269 , ' Command: cast dist ' ) , ( 270 , ' Command: cast self ' ) , ( 271 , ' Command: cast target ' ) , ( 272 , ' Command: cast dest ' ) , ( 273 , ' Command: character ' ) , ( 274 , ' Command: character customize ' ) , ( 275 , ' Command: character changefaction ' ) , ( 276 , ' Command: character changerace ' ) , ( 277 , ' Command: character deleted ' ) , ( 279 , '
INSERT INTO ` rbac_permissions ` VALUES ( 232 , ' Command: account convert ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 233 , ' Command: account convert email ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 278 , ' Command: character deleted delete ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 281 , ' Command: character deleted old ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 282 , ' Command: character erase ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 775 , ' Command: modify currency ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 776 , ' Command: server uptime ' ) ;
2026-06-21 19:36:17 -05:00
INSERT INTO ` rbac_permissions ` VALUES ( 808 , ' Command: gm note ' ) ;
2026-06-28 19:47:07 -05:00
INSERT INTO ` rbac_permissions ` VALUES ( 809 , ' Command: debug rest ' ) ;
2026-08-04 18:14:45 -05:00
INSERT INTO ` rbac_permissions ` VALUES ( 1000 , ' Command: battlepet ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1001 , ' Command: battlepet levelup ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1002 , ' Command: battlepet heal ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1003 , ' Command: battlepet debug ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1004 , ' Command: packet ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1005 , ' Command: packet start ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1006 , ' Command: packet stop ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1007 , ' Command: packet char ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1008 , ' Command: packet char start ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1009 , ' Command: packet char stop ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1010 , ' Command: debug lfg requirements ' ) ;
INSERT INTO ` rbac_permissions ` VALUES ( 1011 , ' Command: debug lfg flex ' ) ;
2013-02-04 16:08:07 +00:00
/* !40000 ALTER TABLE `rbac_permissions` ENABLE KEYS */ ;
UNLOCK TABLES ;
2008-10-02 16:23:55 -05:00
--
-- Table structure for table `realmcharacters`
--
DROP TABLE IF EXISTS ` realmcharacters ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2008-10-02 16:23:55 -05:00
CREATE TABLE ` realmcharacters ` (
2024-09-01 13:04:31 -07:00
` realmid ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` acctid ` int unsigned NOT NULL ,
` numchars ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY ( ` realmid ` , ` acctid ` ) ,
KEY ` acctid ` ( ` acctid ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Realm Character Tracker ' ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `realmcharacters`
--
LOCK TABLES ` realmcharacters ` WRITE ;
/* !40000 ALTER TABLE `realmcharacters` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `realmcharacters` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `realmlist`
--
DROP TABLE IF EXISTS ` realmlist ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2008-10-02 16:23:55 -05:00
CREATE TABLE ` realmlist ` (
2024-09-01 13:04:31 -07:00
` id ` int unsigned NOT NULL AUTO_INCREMENT ,
2012-02-19 13:21:14 +01:00
` name ` varchar ( 32 ) NOT NULL DEFAULT ' ' ,
2012-04-05 17:38:13 +01:00
` address ` varchar ( 255 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
2013-01-27 17:33:01 +01:00
` localAddress ` varchar ( 255 ) NOT NULL DEFAULT ' 127.0.0.1 ' ,
` localSubnetMask ` varchar ( 255 ) NOT NULL DEFAULT ' 255.255.255.0 ' ,
2024-09-01 13:04:31 -07:00
` port ` smallint unsigned NOT NULL DEFAULT ' 8085 ' ,
` icon ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` flag ` tinyint unsigned NOT NULL DEFAULT ' 2 ' ,
` timezone ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
` allowedSecurityLevel ` tinyint unsigned NOT NULL DEFAULT ' 0 ' ,
2012-02-19 13:21:14 +01:00
` population ` float unsigned NOT NULL DEFAULT ' 0 ' ,
2024-09-01 13:04:31 -07:00
` gamebuild ` int unsigned NOT NULL DEFAULT ' 18414 ' ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY ( ` id ` ) ,
2008-10-02 16:23:55 -05:00
UNIQUE KEY ` idx_name ` ( ` name ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8mb3 COMMENT = ' Realm System ' ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2008-10-02 16:23:55 -05:00
--
-- Dumping data for table `realmlist`
--
LOCK TABLES ` realmlist ` WRITE ;
/* !40000 ALTER TABLE `realmlist` DISABLE KEYS */ ;
2014-06-17 20:15:55 +02:00
INSERT INTO ` realmlist ` VALUES ( 1 , ' Skyfire MoP ' , ' 127.0.0.1 ' , ' 127.0.0.1 ' , ' 255.255.255.0 ' , 8085 , 1 , 0 , 1 , 0 , 0 , 18414 ) ;
2008-10-02 16:23:55 -05:00
/* !40000 ALTER TABLE `realmlist` ENABLE KEYS */ ;
UNLOCK TABLES ;
2009-03-26 14:02:11 -06:00
--
-- Table structure for table `uptime`
--
DROP TABLE IF EXISTS ` uptime ` ;
2010-02-01 18:52:42 +01:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
2024-09-01 13:04:31 -07:00
/* !50503 SET character_set_client = utf8mb4 */ ;
2009-03-26 14:02:11 -06:00
CREATE TABLE ` uptime ` (
2024-09-01 13:04:31 -07:00
` realmid ` int unsigned NOT NULL ,
` starttime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` uptime ` int unsigned NOT NULL DEFAULT ' 0 ' ,
` maxplayers ` smallint unsigned NOT NULL DEFAULT ' 0 ' ,
2013-11-15 17:49:49 -06:00
` revision ` varchar ( 255 ) NOT NULL DEFAULT ' SkyFire ' ,
2012-02-19 13:21:14 +01:00
PRIMARY KEY ( ` realmid ` , ` starttime ` )
2024-09-01 13:04:31 -07:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb3 COMMENT = ' Uptime system ' ;
2010-02-01 18:52:42 +01:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2009-03-26 14:02:11 -06:00
--
-- Dumping data for table `uptime`
--
LOCK TABLES ` uptime ` WRITE ;
/* !40000 ALTER TABLE `uptime` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `uptime` ENABLE KEYS */ ;
UNLOCK TABLES ;
2008-10-02 16:23:55 -05:00
/* !40103 SET TIME_ZONE=@OLD_TIME_ZONE */ ;
/* !40101 SET SQL_MODE=@OLD_SQL_MODE */ ;
/* !40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */ ;
/* !40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */ ;
/* !40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */ ;
/* !40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */ ;
/* !40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */ ;
/* !40111 SET SQL_NOTES=@OLD_SQL_NOTES */ ;
2024-09-01 13:04:31 -07:00
-- Dump completed on 2024-09-01 12:38:53