-- https://www.phpmyadmin.net/
--




--
-- Database: `goodblox_servers`
--

-- --------------------------------------------------------

--
-- Table structure for table `games_starting_reroute`
--

CREATE TABLE `games_starting_reroute` (
  `id` int(11) NOT NULL,
  `pcID` int(11) NOT NULL,
  `gjr_id` int(11) NOT NULL,
  `seen` tinyint(1) NOT NULL,
  `whenUsed` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `games_starting_reroute`
--

INSERT INTO `games_starting_reroute` (`id`, `pcID`, `gjr_id`, `seen`, `whenUsed`) VALUES
(1, 4, 1, 1, 1546464283),
(2, 4, 2, 1, 1546464857),
(3, 4, 3, 1, 1546464974),
(4, 4, 4, 1, 1546465396),
(5, 4, 9, 1, 1546696165),
(6, 4, 10, 1, 1546696548),
(7, 4, 11, 1, 1546696739),
(8, 4, 12, 1, 1546696996),
(9, 4, 13, 1, 1546698302),
(10, 4, 14, 1, 1546707677),
(11, 4, 15, 1, 1546707677),
(12, 4, 16, 0, 1546707742),
(13, 2, 17, 1, 1546707842),
(14, 2, 18, 1, 1546708156);

-- --------------------------------------------------------

--
-- Table structure for table `game_join_requests`
--

CREATE TABLE `game_join_requests` (
  `id` int(11) NOT NULL,
  `userID` int(11) NOT NULL,
  `placeID` int(11) NOT NULL,
  `serverID` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL,
  `dependOn` int(11) DEFAULT NULL COMMENT 'depend on another gjr',
  `seenit` int(11) NOT NULL,
  `started` int(11) NOT NULL,
  `lastrequest` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `game_join_requests`
--

INSERT INTO `game_join_requests` (`id`, `userID`, `placeID`, `serverID`, `status`, `dependOn`, `seenit`, `started`, `lastrequest`) VALUES
(1, 2, 1, 1, 3, NULL, 1, 1546464283, 1546464283),
(2, 2, 1, 2, 3, NULL, 1, 1546464856, 1546464856),
(3, 2, 1, 3, 3, NULL, 1, 1546464973, 1546464973),
(4, 2, 1, 4, 3, NULL, 1, 1546465392, 1546465392),
(5, 15, 1, NULL, 5, NULL, 0, 1546484661, 1546632889),
(6, 6, 1, NULL, 5, NULL, 0, 1546557838, 1546632890),
(7, 2, 1, NULL, 5, NULL, 0, 1546629084, 1546632891),
(8, 2, 1, NULL, 5, NULL, 0, 1546680884, 1546695940),
(9, 2, 1, 5, 3, NULL, 1, 1546696164, 1546696164),
(10, 2, 1, 6, 3, NULL, 1, 1546696547, 1546696547),
(11, 2, 1, 7, 3, NULL, 1, 1546696738, 1546696738),
(12, 2, 1, 8, 3, NULL, 1, 1546696995, 1546696995),
(13, 2, 1, 9, 3, NULL, 1, 1546698301, 1546698301),
(14, 2, 1, 10, 3, NULL, 0, 1546705942, 1546705942),
(15, 2, 1, 11, 3, NULL, 0, 1546707645, 1546707645),
(16, 2, 1, NULL, 2, NULL, 0, 1546707742, 1546707742),
(17, 2, 1, 12, 3, NULL, 1, 1546707842, 1546707842),
(18, 2, 1, 13, 3, NULL, 1, 1546708155, 1546708155),
(19, 3, 1, NULL, 0, NULL, 0, 1547304833, 1547304833),
(20, 10, 1, NULL, 0, NULL, 0, 1547565193, 1547565193),
(21, 13, 1, NULL, 0, NULL, 0, 1547777741, 1547777741),
(22, 13, 1, NULL, 0, NULL, 0, 1549823873, 1549823873),
(23, 5, 1, NULL, 0, NULL, 0, 1550359653, 1550359653),
(24, 37, 1, NULL, 0, NULL, 0, 1550375953, 1550375953),
(25, 24, 1, NULL, 0, NULL, 0, 1550376264, 1550376264),
(26, 20, 1, NULL, 0, NULL, 0, 1550376276, 1550376276),
(27, 20, 1, NULL, 0, NULL, 0, 1550376338, 1550376338),
(28, 20, 1, NULL, 0, NULL, 0, 1550376341, 1550376341),
(29, 8, 1, NULL, 0, NULL, 0, 1550376348, 1550376348),
(30, 6, 1, NULL, 0, NULL, 0, 1550376363, 1550376363),
(31, 50, 1, NULL, 0, NULL, 0, 1550392127, 1550392127),
(32, 53, 1, NULL, 0, NULL, 0, 1550398065, 1550398065),
(33, 53, 1, NULL, 0, NULL, 0, 1550398093, 1550398093),
(34, 54, 1, NULL, 0, NULL, 0, 1550399431, 1550399431),
(35, 54, 1, NULL, 0, NULL, 0, 1550401997, 1550401997),
(36, 55, 1, NULL, 0, NULL, 0, 1550402376, 1550402376),
(37, 52, 1, NULL, 0, NULL, 0, 1550402873, 1550402873),
(38, 54, 1, NULL, 0, NULL, 0, 1550407208, 1550407208),
(39, 20, 1, NULL, 0, NULL, 0, 1550410374, 1550410374),
(40, 58, 1, NULL, 0, NULL, 0, 1550410587, 1550410587),
(41, 62, 1, NULL, 0, NULL, 0, 1550410836, 1550410836),
(42, 64, 1, NULL, 0, NULL, 0, 1550411006, 1550411006),
(43, 63, 1, NULL, 0, NULL, 0, 1550411394, 1550411394),
(44, 61, 1, NULL, 0, NULL, 0, 1550411398, 1550411398),
(45, 58, 1, NULL, 0, NULL, 0, 1550414340, 1550414340),
(46, 74, 1, NULL, 0, NULL, 0, 1550414871, 1550414871),
(47, 74, 1, NULL, 0, NULL, 0, 1550414884, 1550414884),
(48, 75, 1, NULL, 0, NULL, 0, 1550414954, 1550414954),
(49, 80, 1, NULL, 0, NULL, 0, 1550415560, 1550415560),
(50, 85, 1, NULL, 0, NULL, 0, 1550415659, 1550415659),
(51, 55, 1, NULL, 0, NULL, 0, 1550416636, 1550416636),
(52, 91, 1, NULL, 0, NULL, 0, 1550417193, 1550417193),
(53, 91, 1, NULL, 0, NULL, 0, 1550417231, 1550417231),
(54, 62, 1, NULL, 0, NULL, 0, 1550421876, 1550421876),
(55, 87, 1, NULL, 0, NULL, 0, 1550423406, 1550423406),
(56, 98, 1, NULL, 0, NULL, 0, 1550426847, 1550426847),
(57, 112, 1, NULL, 0, NULL, 0, 1550427710, 1550427710),
(58, 112, 1, NULL, 0, NULL, 0, 1550427863, 1550427863),
(59, 8, 1, NULL, 0, NULL, 0, 1550433062, 1550433062),
(60, 115, 1, NULL, 0, NULL, 0, 1550435335, 1550435335),
(61, 117, 1, NULL, 0, NULL, 0, 1550435522, 1550435522),
(62, 118, 1, NULL, 0, NULL, 0, 1550436241, 1550436241),
(63, 14, 1, NULL, 0, NULL, 0, 1550436271, 1550436271),
(64, 120, 1, NULL, 0, NULL, 0, 1550436867, 1550436867),
(65, 41, 1, NULL, 0, NULL, 0, 1550437077, 1550437077),
(66, 101, 1, NULL, 0, NULL, 0, 1550437659, 1550437659),
(67, 123, 1, NULL, 0, NULL, 0, 1550444269, 1550444269),
(68, 118, 1, NULL, 0, NULL, 0, 1550446375, 1550446375),
(69, 45, 1, NULL, 0, NULL, 0, 1550451580, 1550451580),
(70, 61, 1, NULL, 0, NULL, 0, 1550456376, 1550456376),
(71, 130, 1, NULL, 0, NULL, 0, 1550464352, 1550464352),
(72, 131, 1, NULL, 0, NULL, 0, 1550465025, 1550465025),
(73, 130, 1, NULL, 0, NULL, 0, 1550466741, 1550466741),
(74, 132, 1, NULL, 0, NULL, 0, 1550467653, 1550467653),
(75, 129, 1, NULL, 0, NULL, 0, 1550469164, 1550469164),
(76, 129, 1, NULL, 0, NULL, 0, 1550469180, 1550469180),
(77, 117, 1, NULL, 0, NULL, 0, 1550474284, 1550474284),
(78, 58, 1, NULL, 0, NULL, 0, 1550492699, 1550492699),
(79, 42, 1, NULL, 0, NULL, 0, 1550499806, 1550499806),
(80, 103, 1, NULL, 0, NULL, 0, 1550508077, 1550508077),
(81, 26, 1, NULL, 0, NULL, 0, 1550517747, 1550517747),
(82, 26, 1, NULL, 0, NULL, 0, 1550517751, 1550517751),
(83, 21, 1, NULL, 0, NULL, 0, 1550526631, 1550526631),
(84, 61, 1, NULL, 0, NULL, 0, 1550528357, 1550528357),
(85, 28, 1, NULL, 0, NULL, 0, 1550533556, 1550533556),
(86, 19, 1, NULL, 0, NULL, 0, 1550533604, 1550533604),
(87, 28, 1, NULL, 0, NULL, 0, 1550539977, 1550539977),
(88, 130, 1, NULL, 0, NULL, 0, 1550558523, 1550558523);

-- --------------------------------------------------------

--
-- Table structure for table `ip_login_attempts`
--

CREATE TABLE `ip_login_attempts` (
  `id` int(11) NOT NULL,
  `ip` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `attempts` int(11) NOT NULL,
  `last_attempt` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `kill_server`
--

CREATE TABLE `kill_server` (
  `id` int(11) NOT NULL,
  `serverid` int(11) NOT NULL,
  `pc` int(11) NOT NULL,
  `killed` int(11) NOT NULL,
  `when_requested` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `kill_server`
--

INSERT INTO `kill_server` (`id`, `serverid`, `pc`, `killed`, `when_requested`) VALUES
(1, 1, 4, 1, 1546464847),
(2, 2, 4, 1, 1546464971),
(3, 2, 4, 1, 1546465381),
(4, 3, 4, 1, 1546465384),
(5, 4, 4, 1, 1546465532),
(6, 5, 4, 1, 1546696545),
(7, 6, 4, 1, 1546696671),
(8, 7, 4, 1, 1546696873),
(9, 8, 4, 1, 1546697776),
(10, 9, 4, 1, 1546702563),
(11, 10, 4, 1, 1546707729),
(12, 11, 4, 1, 1546707828),
(13, 12, 2, 1, 1546707888),
(14, 13, 2, 1, 1546708199);

-- --------------------------------------------------------

--
-- Table structure for table `logs`
--

CREATE TABLE `logs` (
  `id` int(11) NOT NULL,
  `who` int(11) NOT NULL,
  `action` text COLLATE utf8_unicode_ci NOT NULL,
  `timestamp` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `signals`
--

CREATE TABLE `signals` (
  `id` int(11) NOT NULL,
  `pc` int(11) NOT NULL,
  `seen` int(11) NOT NULL,
  `when_seen` int(11) NOT NULL,
  `when_given` int(11) NOT NULL,
  `signaltype` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `signals`
--

INSERT INTO `signals` (`id`, `pc`, `seen`, `when_seen`, `when_given`, `signaltype`) VALUES
(1, 4, 1, 1546464283, 1546464283, 3),
(2, 4, 1, 1546464847, 1546464847, 4),
(3, 4, 1, 1546464857, 1546464857, 3),
(4, 4, 1, 1546464971, 1546464971, 4),
(5, 4, 1, 1546464974, 1546464974, 3),
(6, 4, 1, 1546465381, 1546465381, 4),
(7, 4, 1, 1546465384, 1546465384, 4),
(8, 4, 1, 1546465396, 1546465396, 3),
(9, 4, 1, 1546465532, 1546465532, 4),
(10, 4, 1, 1546696166, 1546696165, 3),
(11, 4, 1, 1546696545, 1546696545, 4),
(12, 4, 1, 1546696548, 1546696548, 3),
(13, 4, 1, 1546696671, 1546696671, 4),
(14, 4, 1, 1546696739, 1546696739, 3),
(15, 4, 1, 1546696873, 1546696873, 4),
(16, 4, 1, 1546696996, 1546696996, 3),
(17, 4, 1, 1546697776, 1546697776, 4),
(18, 4, 1, 1546698303, 1546698303, 3),
(19, 4, 1, 1546702564, 1546702563, 4),
(20, 4, 1, 1546707677, 1546707677, 3),
(21, 4, 1, 1546707677, 1546707677, 3),
(22, 4, 1, 1546707738, 1546707729, 4),
(23, 4, 1, 1546707742, 1546707742, 3),
(24, 4, 1, 1546707828, 1546707828, 4),
(25, 2, 1, 1546707842, 1546707842, 3),
(26, 2, 1, 1546707888, 1546707888, 4),
(27, 2, 1, 1546708156, 1546708156, 3),
(28, 2, 1, 1546708199, 1546708199, 4);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `games_starting_reroute`
--
ALTER TABLE `games_starting_reroute`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `game_join_requests`
--
ALTER TABLE `game_join_requests`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `ip_login_attempts`
--
ALTER TABLE `ip_login_attempts`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `kill_server`
--
ALTER TABLE `kill_server`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `logs`
--
ALTER TABLE `logs`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `signals`
--
ALTER TABLE `signals`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `games_starting_reroute`
--
ALTER TABLE `games_starting_reroute`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `game_join_requests`
--
ALTER TABLE `game_join_requests`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=89;
--
-- AUTO_INCREMENT for table `ip_login_attempts`
--
ALTER TABLE `ip_login_attempts`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `kill_server`
--
ALTER TABLE `kill_server`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `logs`
--
ALTER TABLE `logs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `signals`
--
ALTER TABLE `signals`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;
