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