-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathroleplay.sql
243 lines (224 loc) · 12.2 KB
/
roleplay.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
/*
Navicat MySQL Data Transfer
Source Server : localsw
Source Server Version : 50505
Source Host : localhost:3306
Source Database : roleplay
Target Server Type : MYSQL
Target Server Version : 50505
File Encoding : 65001
Date: 2023-06-15 05:44:02
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `accounts`
-- ----------------------------
DROP TABLE IF EXISTS `accounts`;
CREATE TABLE `accounts` (
`id` int(11) NOT NULL,
`name` text CHARACTER SET latin1 DEFAULT NULL,
`password` text CHARACTER SET latin1 DEFAULT NULL,
`admin` int(11) NOT NULL DEFAULT 0,
`serial` text CHARACTER SET latin1 DEFAULT NULL,
`limit` int(11) NOT NULL DEFAULT 3,
`lastlogin` text DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of accounts
-- ----------------------------
INSERT INTO `accounts` VALUES ('0', null, null, '0', null, '3', '2023-06-15 04:51:13');
INSERT INTO `accounts` VALUES ('1', 'test', 'test', '8', '9005638F97DC1640DD35331F4076AA12', '3', '2023-05-29 14:28:48');
-- ----------------------------
-- Table structure for `characters`
-- ----------------------------
DROP TABLE IF EXISTS `characters`;
CREATE TABLE `characters` (
`id` int(11) NOT NULL,
`account` int(11) NOT NULL DEFAULT 0,
`name` text CHARACTER SET latin1 DEFAULT NULL,
`pos` varchar(255) NOT NULL DEFAULT '0,0,5,0,0',
`age` int(11) NOT NULL DEFAULT 18,
`height` int(11) NOT NULL DEFAULT 175,
`weight` int(11) NOT NULL DEFAULT 65,
`gender` int(1) NOT NULL DEFAULT 1,
`model` int(11) NOT NULL DEFAULT 170,
`money` bigint(11) NOT NULL DEFAULT 1000,
`hunger` int(11) NOT NULL DEFAULT 100,
`thirst` int(11) NOT NULL DEFAULT 100,
`dead` int(1) NOT NULL DEFAULT 0,
`health` int(11) NOT NULL DEFAULT 100,
`armor` int(11) NOT NULL DEFAULT 0,
`walk` int(11) NOT NULL DEFAULT 128,
`job` int(11) NOT NULL DEFAULT 0,
`active` int(1) NOT NULL DEFAULT 1,
`injured` int(1) NOT NULL DEFAULT 0,
`faction` int(11) NOT NULL DEFAULT 0,
`faction_rank` int(11) NOT NULL DEFAULT 0,
`faction_lead` int(11) NOT NULL DEFAULT 0,
`lastlogin` text CHARACTER SET latin1 DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of characters
-- ----------------------------
INSERT INTO `characters` VALUES ('1', '1', 'test1', '0,0,5,0,0', '21', '175', '70', '2', '93', '1000', '61', '46', '0', '100', '0', '131', '0', '1', '0', '1', '1', '1', '2023-06-15 04:51:17');
INSERT INTO `characters` VALUES ('2', '1', 'test2', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '99', '97', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 15:24:24');
INSERT INTO `characters` VALUES ('3', '1', 'test3', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '100', '100', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 14:29:25');
INSERT INTO `characters` VALUES ('4', '1', 'test4', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '100', '100', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 14:29:25');
INSERT INTO `characters` VALUES ('5', '1', 'test5', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '100', '100', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 14:29:25');
INSERT INTO `characters` VALUES ('6', '1', 'test6', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '100', '100', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 14:29:25');
INSERT INTO `characters` VALUES ('7', '1', 'test7', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '100', '100', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 14:29:25');
INSERT INTO `characters` VALUES ('8', '1', 'test8', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '100', '100', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 14:29:25');
INSERT INTO `characters` VALUES ('9', '1', 'test9', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '100', '100', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 14:29:25');
INSERT INTO `characters` VALUES ('10', '1', 'test10', '0,0,5,0,0', '18', '175', '65', '1', '170', '1000', '100', '100', '0', '100', '0', '128', '0', '1', '0', '1', '1', '0', '2023-05-29 14:29:25');
-- ----------------------------
-- Table structure for `factions`
-- ----------------------------
DROP TABLE IF EXISTS `factions`;
CREATE TABLE `factions` (
`id` int(11) NOT NULL,
`name` text DEFAULT NULL,
`type` int(3) NOT NULL DEFAULT 2,
`balance` bigint(11) NOT NULL DEFAULT 0,
`note` varchar(255) NOT NULL DEFAULT 'Sayfa 1 *> Sayfa 2 *> Sayfa 3',
`level` int(11) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of factions
-- ----------------------------
INSERT INTO `factions` VALUES ('1', 'test faction', '2', '0', 'Sayfa 1 *> Sayfa 2 *> Sayfa 3', '1');
-- ----------------------------
-- Table structure for `factions_rank`
-- ----------------------------
DROP TABLE IF EXISTS `factions_rank`;
CREATE TABLE `factions_rank` (
`id` int(11) NOT NULL,
`faction_id` int(11) DEFAULT NULL,
`name` text DEFAULT NULL,
`permissions` text DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of factions_rank
-- ----------------------------
INSERT INTO `factions_rank` VALUES ('0', '1', 'allah billah tillahaaaaaaaaaaaaaaaaaaa', 'manage_members,manage_payouts,manage_note,manage_ranks,manage_inventory');
INSERT INTO `factions_rank` VALUES ('1', '1', 'testrank1', 'show_logs,manage_members');
INSERT INTO `factions_rank` VALUES ('2', '1', 'testrank2', null);
INSERT INTO `factions_rank` VALUES ('3', '1', 'testrank3', '');
INSERT INTO `factions_rank` VALUES ('4', '1', 'testrank4', null);
INSERT INTO `factions_rank` VALUES ('5', '1', 'testrank5', null);
INSERT INTO `factions_rank` VALUES ('6', '1', 'testrank6', null);
INSERT INTO `factions_rank` VALUES ('7', '1', 'testrank7', null);
INSERT INTO `factions_rank` VALUES ('8', '1', 'testrank8', null);
INSERT INTO `factions_rank` VALUES ('9', '1', 'testrank9', null);
INSERT INTO `factions_rank` VALUES ('10', '1', 'testrank10', null);
INSERT INTO `factions_rank` VALUES ('11', '1', 'testrank11', null);
-- ----------------------------
-- Table structure for `items`
-- ----------------------------
DROP TABLE IF EXISTS `items`;
CREATE TABLE `items` (
`id` bigint(11) NOT NULL,
`type` int(11) DEFAULT NULL,
`owner` bigint(11) DEFAULT NULL,
`item` int(11) DEFAULT NULL,
`value` text DEFAULT NULL,
`count` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of items
-- ----------------------------
-- ----------------------------
-- Table structure for `vehicles`
-- ----------------------------
DROP TABLE IF EXISTS `vehicles`;
CREATE TABLE `vehicles` (
`id` int(11) NOT NULL,
`library_id` int(11) DEFAULT NULL,
`fuel` int(11) NOT NULL DEFAULT 100,
`odometer` int(11) DEFAULT NULL,
`tax` int(11) NOT NULL DEFAULT 0,
`job` int(11) DEFAULT NULL,
`pos` varchar(255) NOT NULL DEFAULT '0,0,5,0,0,0,0,90',
`plate` text DEFAULT NULL,
`color` varchar(255) NOT NULL DEFAULT '0,0,0',
`upgrades` text DEFAULT NULL,
`lock` int(11) NOT NULL DEFAULT 1,
`interest` int(11) NOT NULL DEFAULT 0,
`owner` int(11) DEFAULT NULL,
`faction` int(11) DEFAULT NULL,
`engine` int(11) NOT NULL DEFAULT 0,
`enabled` int(1) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of vehicles
-- ----------------------------
INSERT INTO `vehicles` VALUES ('1', '1', '100', '0', '48', '0', '4.9999999942551,0.35570843449802,3.1171875,0,0,0,0,0.00274658203125', 'PMJ-987', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('2', '1', '100', '0', '48', '0', '6.6486714232676,3.445235757417,3.1171875,0,0,0,0,337.79354858398', 'EWS-531', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('3', '1', '100', '0', '48', '0', '8.2463276732676,7.359298257417,3.1096496582031,0,0,0,0,337.79354858398', 'CJD-295', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('4', '1', '100', '0', '48', '0', '10.021718298268,11.708907632417,3.1171875,0,0,0,0,337.79354858398', 'DAA-456', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('5', '1', '100', '0', '48', '0', '11.411366735768,15.111251382417,3.1171875,0,0,0,0,337.79354858398', 'PPE-654', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('6', '1', '100', '0', '48', '0', '12.856679235768,18.652267007417,3.1171875,0,0,0,0,337.79354858398', 'BPU-853', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('7', '1', '100', '0', '48', '0', '13.531483923268,20.306563882417,3.1171875,0,0,0,0,337.79354858398', 'WSY-952', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('8', '1', '100', '0', '48', '0', '14.593007360768,22.904220132417,3.1171875,0,0,0,0,337.79354858398', 'MGW-288', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('9', '1', '100', '0', '48', '0', '15.450429235768,25.005782632417,3.1171875,0,0,0,0,337.79354858398', 'ZZP-433', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('10', '1', '100', '0', '48', '0', '16.462147985768,27.483321694917,3.1171875,0,0,0,0,337.79354858398', 'VAJ-171', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('11', '1', '100', '0', '48', '0', '17.124257360768,29.104415444917,3.1171875,0,0,0,0,337.79354858398', 'AXH-367', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
INSERT INTO `vehicles` VALUES ('12', '1', '100', '0', '48', '0', '17.943593298268,31.112227944917,3.1171875,0,0,0,0,337.79354858398', 'VSM-275', '0,0,0', 'false', '1', '0', '1', '1', '0', '1');
-- ----------------------------
-- Table structure for `vehicles_custom`
-- ----------------------------
DROP TABLE IF EXISTS `vehicles_custom`;
CREATE TABLE `vehicles_custom` (
`id` int(11) NOT NULL,
`brand` text DEFAULT NULL,
`model` text DEFAULT NULL,
`year` int(11) DEFAULT NULL,
`tax` int(11) DEFAULT NULL,
`handling` text DEFAULT NULL,
`notes` text DEFAULT NULL,
`price` int(11) DEFAULT NULL,
`doortype` int(11) DEFAULT NULL,
`fueltype` int(11) DEFAULT NULL,
`tanksize` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of vehicles_custom
-- ----------------------------
-- ----------------------------
-- Table structure for `vehicles_library`
-- ----------------------------
DROP TABLE IF EXISTS `vehicles_library`;
CREATE TABLE `vehicles_library` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`gta` int(11) DEFAULT NULL,
`brand` text DEFAULT NULL,
`model` text DEFAULT NULL,
`year` text DEFAULT NULL,
`price` int(11) DEFAULT NULL,
`tax` int(11) DEFAULT NULL,
`enabled` int(11) DEFAULT NULL,
`handling` varchar(1000) DEFAULT '',
`stock` int(11) DEFAULT NULL,
`tanksize` int(11) DEFAULT NULL,
`donateprice` int(11) DEFAULT NULL,
`doortype` int(11) DEFAULT NULL,
`fueltype` int(11) DEFAULT NULL,
`isdonate` int(11) DEFAULT NULL,
`updatedby` int(11) DEFAULT NULL,
`updatedate` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of vehicles_library
-- ----------------------------
INSERT INTO `vehicles_library` VALUES ('1', '560', 'test', 'car', '2022', '25000', '12', '1', '', '100', '100', '0', '-1', '-1', '0', '1', '2023-05-10 00:52:38');
INSERT INTO `vehicles_library` VALUES ('2', '555', 'test2', 'test car', '2001', '10000', '31', '1', '', null, null, null, null, null, null, null, null);
INSERT INTO `vehicles_library` VALUES ('3', '554', 'araç markası', 'araç modeli', '2000', '155', '1111', '0', '', null, null, null, null, null, null, null, '2023-05-10 00:55:29');
INSERT INTO `vehicles_library` VALUES ('4', '553', 'test marka', 'test model', '2012', '15000000', '555', '0', '', '55', '80', '50', '0', '1', '1', '1', '2023-05-10 00:55:27');
INSERT INTO `vehicles_library` VALUES ('5', '552', 'test marka2', 'test model2', '2001', '654897', '1500', '1', '', '85', '100', '0', '-1', '0', '0', '1', '2023-05-10 00:51:43');