-
Notifications
You must be signed in to change notification settings - Fork 1
/
mmmyes.sql
141 lines (115 loc) · 3.87 KB
/
mmmyes.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
-- Generation Time: Jun 07, 2011 at 10:07 PM
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Database: `bukkit`
--
-- --------------------------------------------------------
--
-- Table structure for table `alias`
--
CREATE TABLE IF NOT EXISTS `alias` (
`Name` varchar(64) NOT NULL,
`IP` varchar(64) NOT NULL,
`Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`Logins` int(11) NOT NULL,
KEY `Name` (`Name`),
KEY `IP` (`IP`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `j2bans`
--
CREATE TABLE IF NOT EXISTS `j2bans` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(64) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`reason` text NOT NULL,
`admin` varchar(64) NOT NULL,
`unbantime` bigint(20) DEFAULT '0',
`timeofban` bigint(20) DEFAULT '0',
`unbanned` tinyint(1) DEFAULT '0',
`x` double NOT NULL,
`y` double NOT NULL,
`z` double NOT NULL,
`pitch` float NOT NULL,
`yaw` float NOT NULL,
`world` varchar(32) NOT NULL,
`server` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `j2groups`
--
CREATE TABLE IF NOT EXISTS `j2groups` (
`server` tinyint(4) NOT NULL,
`name` varchar(16) NOT NULL,
`flags` varchar(26) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO `j2groups` (`server`, `name`, `flags`) VALUES
(0, 'regular', 'fm'),
(0, 'admins', 'asftm')
;
-- --------------------------------------------------------
--
-- Table structure for table `j2users`
--
CREATE TABLE IF NOT EXISTS `j2users` (
`id` int(16) NOT NULL AUTO_INCREMENT,
`name` varchar(32) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`group` varchar(16) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`color` tinyint(4) NOT NULL,
`flags` varchar(26) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`safeword` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `perms`
--
CREATE TABLE IF NOT EXISTS `perms` (
`permission` varchar(255) NOT NULL,
`flag` char(1) NOT NULL,
`server` tinyint(4) NOT NULL,
KEY `permission` (`permission`,`flag`,`server`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `reports`
--
CREATE TABLE IF NOT EXISTS `reports` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`user` varchar(32) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`message` text COLLATE utf8_bin NOT NULL,
`closed` tinyint(1) NOT NULL DEFAULT '0',
`admin` varchar(32) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
`reason` text COLLATE utf8_bin,
`world` varchar(32) COLLATE utf8_bin NOT NULL,
`x` double NOT NULL,
`y` double NOT NULL,
`z` double NOT NULL,
`pitch` float NOT NULL,
`yaw` float NOT NULL,
`server` tinyint(1) NOT NULL,
`time` int(32) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `warps`
--
CREATE TABLE IF NOT EXISTS `warps` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(16) NOT NULL,
`player` varchar(32) NOT NULL,
`server` tinyint(1) NOT NULL,
`flag` varchar(1) NOT NULL,
`world` varchar(32) NOT NULL,
`x` double NOT NULL,
`y` double NOT NULL,
`z` double NOT NULL,
`pitch` float NOT NULL,
`yaw` float NOT NULL,
PRIMARY KEY (`id`),
KEY `server` (`server`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;