This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugncraft.sql
157 lines (118 loc) · 5.32 KB
/
plugncraft.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
# ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: 192.168.0.5 (MySQL 5.7.23-0ubuntu0.18.04.1)
# Database: plugncraft
# Generation Time: 2018-08-19 21:25:51 +0000
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
# Dump of table ai_answers
# ------------------------------------------------------------
DROP TABLE IF EXISTS `ai_answers`;
CREATE TABLE `ai_answers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`keywords` text NOT NULL,
`answer` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
LOCK TABLES `ai_answers` WRITE;
/*!40000 ALTER TABLE `ai_answers` DISABLE KEYS */;
INSERT INTO `ai_answers` (`id`, `keywords`, `answer`)
VALUES
(1,'affiche afficher aide l\'aide show help','Je suis PlugNCraft ! Vous pouvez me demander :\n\n`Dis PlugNCraft, bonjour` juste histoire de me dire bonjour\n`Dis PlugNCraft, démarre un serveur` pour démarrer un serveur PlugNCraft\n`Dis PlugNCraft, donne moi le statut des serveurs` pour voir le statut des serveurs de PlugNCraft\n\nC\'est tout pour le moment, mais des nouveautés arrivent bientôt !'),
(2,'bonjour salut bonne journée après midi soirée','Salut @player !'),
(3,'démarre demarre serveur','startServer()'),
(4,'donne le stats status statut des serveurs','status()');
/*!40000 ALTER TABLE `ai_answers` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table games
# ------------------------------------------------------------
DROP TABLE IF EXISTS `games`;
CREATE TABLE `games` (
`id` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`description` text NOT NULL,
`min_players` int(11) NOT NULL,
`max_players` int(11) NOT NULL,
`slot` int(11) NOT NULL,
`icon` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
LOCK TABLES `games` WRITE;
/*!40000 ALTER TABLE `games` DISABLE KEYS */;
INSERT INTO `games` (`id`, `name`, `description`, `min_players`, `max_players`, `slot`, `icon`)
VALUES
('hub','Hub','PlugNCraft est un serveur en développement, modèle de l\'inclusion à CraftSearch. Il est basé sur un système de serveurs automatiques qui démarrent en fonction de besoins des joueurs.',101,100,-1,'WOOL'),
('hungergames','HungerGames','Après un décompte le combat commence! A armes égales, seul le meilleur remportera la victoire.\n\nMini jeu par ZabriCraft',2,24,12,'IRON_SWORD'),
('replica','Replica','Le Replica est un mini-jeu dont le but est de reproduire l\'image sur le tableau face à vous le plus rapidement possible.\n\nMini jeu par ZabriCraft',2,10,10,'STAINED_CLAY');
/*!40000 ALTER TABLE `games` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table maps
# ------------------------------------------------------------
DROP TABLE IF EXISTS `maps`;
CREATE TABLE `maps` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`game` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`description` text NOT NULL,
`map_hub` varchar(255) NOT NULL,
`map_game` varchar(255) NOT NULL,
`icon` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
LOCK TABLES `maps` WRITE;
/*!40000 ALTER TABLE `maps` DISABLE KEYS */;
INSERT INTO `maps` (`id`, `game`, `name`, `description`, `map_hub`, `map_game`, `icon`)
VALUES
(1,'hub','Hub','Hub','hub','game','WOOL'),
(2,'replica','Replica','Map par défaut du Replica','hub','game','STAINED_CLAY'),
(3,'hungergames','HungerGames','Map par défaut du HungerGames','hub','game','IRON_SWORD');
/*!40000 ALTER TABLE `maps` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table players
# ------------------------------------------------------------
DROP TABLE IF EXISTS `players`;
CREATE TABLE `players` (
`uuid` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`grade` varchar(255) NOT NULL,
`first_login` datetime NOT NULL,
PRIMARY KEY (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Dump of table servers
# ------------------------------------------------------------
DROP TABLE IF EXISTS `servers`;
CREATE TABLE `servers` (
`id` varchar(255) NOT NULL,
`type` varchar(255) NOT NULL,
`port` int(11) NOT NULL,
`status` varchar(255) NOT NULL,
`map` int(11) NOT NULL,
`players` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Dump of table start
# ------------------------------------------------------------
DROP TABLE IF EXISTS `start`;
CREATE TABLE `start` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`game` varchar(255) NOT NULL,
`map` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;