1
0

Hub is now working...partially im lazy to add hub games and "secret areas" those will be added soon, also premade hub world!

This commit is contained in:
labalityowo
2023-05-21 19:00:25 +07:00
parent 10c0c0ef6f
commit 1b907cb3b4
18 changed files with 163 additions and 9 deletions

View File

@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 20, 2023 at 05:51 PM
-- Generation Time: May 21, 2023 at 09:35 AM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 7.4.27
@ -242,6 +242,18 @@ CREATE TABLE `accounttasks` (
-- --------------------------------------------------------
--
-- Table structure for table `accountteamspeak`
--
CREATE TABLE `accountteamspeak` (
`accountId` int(11) NOT NULL,
`teamspeakId` int(11) NOT NULL,
`linkDate` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `accountthanktransactions`
--
@ -302,6 +314,22 @@ CREATE TABLE `bonus` (
-- --------------------------------------------------------
--
-- Table structure for table `botspam`
--
CREATE TABLE `botspam` (
`id` int(11) NOT NULL,
`text` varchar(200) NOT NULL,
`punishments` int(11) NOT NULL,
`enabled` tinyint(1) NOT NULL,
`createdBy` varchar(100) NOT NULL,
`enabledBy` varchar(100) NOT NULL,
`disabledBy` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `communities`
--
@ -407,6 +435,17 @@ CREATE TABLE `forumlink` (
-- --------------------------------------------------------
--
-- Table structure for table `hubnews`
--
CREATE TABLE `hubnews` (
`newsId` int(11) NOT NULL,
`newsValue` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `incognitostaff`
--
@ -567,6 +606,18 @@ CREATE TABLE `preferences` (
-- --------------------------------------------------------
--
-- Table structure for table `rankbenefits`
--
CREATE TABLE `rankbenefits` (
`id` int(11) NOT NULL,
`accountId` int(11) DEFAULT NULL,
`benefit` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `reporthandlers`
--
@ -728,12 +779,24 @@ ALTER TABLE `accounts`
ADD UNIQUE KEY `uuidIndex` (`uuid`),
ADD UNIQUE KEY `nameIndex` (`name`);
--
-- Indexes for table `accountteamspeak`
--
ALTER TABLE `accountteamspeak`
ADD PRIMARY KEY (`accountId`);
--
-- Indexes for table `bonus`
--
ALTER TABLE `bonus`
ADD PRIMARY KEY (`accountId`);
--
-- Indexes for table `botspam`
--
ALTER TABLE `botspam`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `communities`
--
@ -746,6 +809,12 @@ ALTER TABLE `communities`
ALTER TABLE `forumlink`
ADD PRIMARY KEY (`accountId`);
--
-- Indexes for table `hubnews`
--
ALTER TABLE `hubnews`
ADD PRIMARY KEY (`newsId`);
--
-- Indexes for table `incognitostaff`
--
@ -765,6 +834,13 @@ ALTER TABLE `items`
ALTER TABLE `polls`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `rankbenefits`
--
ALTER TABLE `rankbenefits`
ADD PRIMARY KEY (`id`),
ADD KEY `accountId` (`accountId`);
--
-- Indexes for table `reports`
--
@ -809,19 +885,25 @@ ALTER TABLE `accountpunishments`
-- AUTO_INCREMENT for table `accountranks`
--
ALTER TABLE `accountranks`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `accounts`
--
ALTER TABLE `accounts`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `bonus`
--
ALTER TABLE `bonus`
MODIFY `accountId` int(11) NOT NULL AUTO_INCREMENT;
MODIFY `accountId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `botspam`
--
ALTER TABLE `botspam`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `communities`
@ -829,6 +911,12 @@ ALTER TABLE `bonus`
ALTER TABLE `communities`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `hubnews`
--
ALTER TABLE `hubnews`
MODIFY `newsId` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `items`
--
@ -841,6 +929,12 @@ ALTER TABLE `items`
ALTER TABLE `polls`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `rankbenefits`
--
ALTER TABLE `rankbenefits`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `reports`
--
@ -877,11 +971,23 @@ ALTER TABLE `accountpolls`
ADD CONSTRAINT `accountpolls_ibfk_1` FOREIGN KEY (`accountId`) REFERENCES `accounts` (`id`),
ADD CONSTRAINT `accountpolls_ibfk_2` FOREIGN KEY (`pollId`) REFERENCES `polls` (`id`);
--
-- Constraints for table `accountteamspeak`
--
ALTER TABLE `accountteamspeak`
ADD CONSTRAINT `accountTeamspeak_accounts_null_fk` FOREIGN KEY (`accountId`) REFERENCES `accounts` (`id`);
--
-- Constraints for table `bonus`
--
ALTER TABLE `bonus`
ADD CONSTRAINT `bonus_ibfk_1` FOREIGN KEY (`accountId`) REFERENCES `accounts` (`id`);
--
-- Constraints for table `rankbenefits`
--
ALTER TABLE `rankbenefits`
ADD CONSTRAINT `rankbenefits_ibfk_1` FOREIGN KEY (`accountId`) REFERENCES `accounts` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;