mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Warden: Base implementation for Warden functionality
Note: The default config file action for clients failing the checks can be changed for each check via the characters.warden_action table Credits to TOM_RUS
This commit is contained in:
@@ -1953,11 +1953,11 @@ DROP TABLE IF EXISTS `lfg_data`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `lfg_data` (
|
||||
`guid` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`dungeon` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`state` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`dungeon` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`state` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`)
|
||||
) ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT='LFG Data';
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='LFG Data';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
@@ -2214,6 +2214,29 @@ LOCK TABLES `reserved_name` WRITE;
|
||||
/*!40000 ALTER TABLE `reserved_name` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `warden_action`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `warden_action`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `warden_action` (
|
||||
`wardenId` smallint(5) unsigned NOT NULL,
|
||||
`action` tinyint(3) unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`wardenId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `warden_action`
|
||||
--
|
||||
|
||||
LOCK TABLES `warden_action` WRITE;
|
||||
/*!40000 ALTER TABLE `warden_action` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `warden_action` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `worldstates`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user