mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)
This commit is contained in:
@@ -40,6 +40,31 @@ LOCK TABLES `account_data` WRITE;
|
||||
/*!40000 ALTER TABLE `account_data` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `account_instance_times`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `account_instance_times`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `account_instance_times` (
|
||||
`accountId` int(10) unsigned NOT NULL,
|
||||
`instanceId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`releaseTime` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`accountId`,`instanceId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `account_instance_times`
|
||||
--
|
||||
|
||||
LOCK TABLES `account_instance_times` WRITE;
|
||||
/*!40000 ALTER TABLE `account_instance_times` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `account_instance_times` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
--
|
||||
-- Table structure for table `addons`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user