· 9 years ago · Dec 22, 2016, 08:18 PM
1-- --------------------------------------------------------
2-- Host: 127.0.0.1
3-- Server version: 10.1.16-MariaDB - mariadb.org binary distribution
4-- Server OS: Win32
5-- HeidiSQL Version: 9.3.0.4984
6-- --------------------------------------------------------
7
8/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
9/*!40101 SET NAMES utf8mb4 */;
10/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
11/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
12
13-- Dumping database structure for fivemp
14CREATE DATABASE IF NOT EXISTS `fivemp` /*!40100 DEFAULT CHARACTER SET latin1 */;
15USE `fivemp`;
16
17
18-- Dumping structure for table fivemp.banlist
19CREATE TABLE IF NOT EXISTS `banlist` (
20 `id` int(11) NOT NULL AUTO_INCREMENT,
21 `player` int(11) NOT NULL,
22 `admin` int(11) NOT NULL,
23 `reason` int(11) NOT NULL,
24 `ip` varchar(50) NOT NULL,
25 `bannedOn` int(11) NOT NULL,
26 `bannedTill` int(11) NOT NULL,
27 PRIMARY KEY (`id`)
28) ENGINE=InnoDB DEFAULT CHARSET=latin1;
29
30-- Dumping data for table fivemp.banlist: ~0 rows (approximately)
31/*!40000 ALTER TABLE `banlist` DISABLE KEYS */;
32/*!40000 ALTER TABLE `banlist` ENABLE KEYS */;
33
34
35-- Dumping structure for table fivemp.commands
36CREATE TABLE IF NOT EXISTS `commands` (
37 `id` int(11) NOT NULL AUTO_INCREMENT,
38 `name` varchar(50) NOT NULL DEFAULT '0',
39 `adminLevel` tinyint(4) NOT NULL DEFAULT '0',
40 `group` tinyint(4) NOT NULL DEFAULT '0',
41 `rank` tinyint(4) NOT NULL DEFAULT '0',
42 `level` smallint(6) NOT NULL DEFAULT '0',
43 `disableReason` varchar(50) NOT NULL DEFAULT '0',
44 `params` varchar(50) NOT NULL DEFAULT '0',
45 `info` varchar(256) NOT NULL DEFAULT '0',
46 `disabled` tinyint(4) NOT NULL DEFAULT '0',
47 PRIMARY KEY (`id`)
48) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;
49
50-- Dumping data for table fivemp.commands: ~17 rows (approximately)
51/*!40000 ALTER TABLE `commands` DISABLE KEYS */;
52INSERT INTO `commands` (`id`, `name`, `adminLevel`, `group`, `rank`, `level`, `disableReason`, `params`, `info`, `disabled`) VALUES
53 (1, 'help', 0, 0, 0, 0, '0', '0', 'Shows all commands you can use.', 0),
54 (2, 'aspawncar', 1, 0, 0, 0, '0', '[vehicle name]', 'Spawns a specifiec vehicle and enters it as driver', 0),
55 (3, 'login', 0, 0, 0, 0, '0', '[password]', 'Authenticates you into your account.', 0),
56 (4, 'register', 0, 0, 0, 0, '0', '[password]', 'Creates an account, with password set in parameter', 0),
57 (5, 'tp', 1, 0, 0, 0, '0', '[playerID1] [playerID2]', 'Teleports player one to player two.', 0),
58 (6, 'goto', 1, 0, 0, 0, '0', '[targetID]', 'Teleports you to the requested target.', 0),
59 (7, 'spawn', 0, 0, 0, 0, '0', '0', 'Teleports you to the spawn position.', 0),
60 (8, 'agiveweapon', 1, 0, 0, 0, '0', '[playerID] [weaponID]', 'Gives the requested player a specific weapon.', 0),
61 (9, 'bring', 1, 0, 0, 0, '0', '0', 'Teleports the requested player to you.', 0),
62 (10, 'asetskin', 1, 0, 0, 0, '0', '[playerID] [skinID]', 'Sets the requested player\'s model.', 0),
63 (11, 'sv', 4, 0, 0, 0, '0', '[add, remove, park, edit, info]', 'Allows you to manager server vehicles that are saved to database.', 0),
64 (12, 'savepos', 1, 0, 0, 0, '0', '[message]', 'Saves position into savepos.txt', 0),
65 (13, 'stats', 0, 0, 0, 0, '0', '0', 'Shows all your stats.', 0),
66 (14, 'slap', 1, 0, 0, 0, '0', '[playerID]', 'Slaps the target.', 0),
67 (15, 'kick', 1, 0, 0, 0, '0', '[playerID] [reason]', 'Kicks the player from the server.', 0),
68 (16, 'admins', 0, 0, 0, 0, '0', '0', 'Shows you all online admins.', 0),
69 (17, 'a', 1, 0, 0, 0, '0', '[message]', 'Send your message to admin chat.', 0);
70/*!40000 ALTER TABLE `commands` ENABLE KEYS */;
71
72
73-- Dumping structure for table fivemp.users
74CREATE TABLE IF NOT EXISTS `users` (
75 `id` int(11) NOT NULL AUTO_INCREMENT,
76 `username` varchar(50) DEFAULT '0',
77 `password` varchar(50) DEFAULT '0',
78 `email` varchar(50) DEFAULT '0',
79 `regDate` datetime DEFAULT CURRENT_TIMESTAMP,
80 `lastOnline` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
81 `adminLevel` int(11) NOT NULL DEFAULT '0',
82 `rank` tinyint(4) NOT NULL DEFAULT '0',
83 `level` smallint(6) NOT NULL DEFAULT '0',
84 `cash` bigint(20) DEFAULT '0',
85 `bank` bigint(20) DEFAULT '0',
86 `skin` int(11) DEFAULT '0',
87 `group` tinyint(4) DEFAULT '0',
88 `ip` varchar(50) DEFAULT '0',
89 PRIMARY KEY (`id`)
90) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
91
92-- Dumping data for table fivemp.users: ~2 rows (approximately)
93/*!40000 ALTER TABLE `users` DISABLE KEYS */;
94INSERT INTO `users` (`id`, `username`, `password`, `email`, `regDate`, `lastOnline`, `adminLevel`, `rank`, `level`, `cash`, `bank`, `skin`, `group`, `ip`) VALUES
95 (11, 'ENJATZ', '132', '0', '2016-09-11 00:50:21', '2016-12-20 00:03:09', 6, 0, 0, 444, 456456, 52, 0, '127.0.0.1'),
96 (12, 'samurake', '1234', '0', '2016-12-18 00:29:01', '2016-12-20 00:11:45', 5, 0, 0, 0, 0, 0, 0, '25.101.242.177');
97/*!40000 ALTER TABLE `users` ENABLE KEYS */;
98
99
100-- Dumping structure for table fivemp.vehicles
101CREATE TABLE IF NOT EXISTS `vehicles` (
102 `id` int(11) NOT NULL AUTO_INCREMENT,
103 `respawntime` int(11) NOT NULL DEFAULT '0',
104 `owner` int(11) NOT NULL DEFAULT '-1',
105 `name` varchar(50) NOT NULL DEFAULT '0',
106 `x` float NOT NULL DEFAULT '0',
107 `y` float NOT NULL DEFAULT '0',
108 `z` float DEFAULT '0',
109 `a` float NOT NULL DEFAULT '0',
110 `km` float NOT NULL DEFAULT '0',
111 `days` int(11) NOT NULL DEFAULT '0',
112 `locked` tinyint(4) NOT NULL DEFAULT '0',
113 `colorType1` tinyint(4) NOT NULL DEFAULT '1',
114 `colorId0` tinyint(4) NOT NULL DEFAULT '0',
115 `colorType0` tinyint(4) NOT NULL DEFAULT '1',
116 `colorId1` tinyint(4) NOT NULL DEFAULT '0',
117 `plate` varchar(50) NOT NULL DEFAULT 'dme.',
118 `job` int(11) NOT NULL DEFAULT '0',
119 `group` int(11) NOT NULL DEFAULT '0',
120 `rank` int(11) NOT NULL DEFAULT '0',
121 PRIMARY KEY (`id`)
122) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;
123
124-- Dumping data for table fivemp.vehicles: ~2 rows (approximately)
125/*!40000 ALTER TABLE `vehicles` DISABLE KEYS */;
126INSERT INTO `vehicles` (`id`, `respawntime`, `owner`, `name`, `x`, `y`, `z`, `a`, `km`, `days`, `locked`, `colorType1`, `colorId0`, `colorType0`, `colorId1`, `plate`, `job`, `group`, `rank`) VALUES
127 (12, 0, -1, 'Blista', -843.88, -534.448, 21.7799, 67.0533, 0, 2147483647, 0, 1, 0, 1, 0, 'dme.', 0, 0, 0),
128 (13, 0, 11, 'Tempesta', -1379.59, -528.305, 29.5889, 177.212, 0.33, 1104573661, 0, 1, 0, 1, 0, 'dme.', 0, 0, 0);
129/*!40000 ALTER TABLE `vehicles` ENABLE KEYS */;
130/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
131/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
132/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;