· 8 years ago · Dec 10, 2017, 04:36 AM
1Configs & Extras:
2:: Data Base MySQL:
3CREATE TABLE IF NOT EXISTS `player_orange` (
4 `player_id` int(11) NOT NULL DEFAULT '0',
5 `killer_id` int(11) NOT NULL DEFAULT '0',
6 `time` bigint(20) NOT NULL DEFAULT '0'
7) ENGINE=InnoDB;
8
9CREATE TABLE IF NOT EXISTS `guild_wars` (
10 `id` int(3) NOT NULL AUTO_INCREMENT,
11 `guild_id` int(3) NOT NULL,
12 `enemy_id` int(3) NOT NULL,
13 `guild_score` int(5) NOT NULL DEFAULT '0',
14 `enemy_score` int(5) NOT NULL DEFAULT '0',
15 `date` bigint(20) NOT NULL DEFAULT '0',
16 `winner` int(3) NOT NULL DEFAULT '0',
17 `status` int(1) NOT NULL DEFAULT '1',
18 PRIMARY KEY (`id`),
19 UNIQUE KEY `id` (`id`)
20) ENGINE=InnoDB;
21
22:: Data Base SQLite:
23CREATE TABLE guild_wars (
24 id INT(3) PRIMARY KEY NOT NULL UNIQUE,
25 guild_id INT(3) NOT NULL,
26 enemy_id INT(3) NOT NULL,
27 guild_score INT(5) NOT NULL DEFAULT (0),
28 enemy_score INT(5) NOT NULL DEFAULT (0),
29 date BIGINT(20) NOT NULL DEFAULT (0),
30 winner INT(3) NOT NULL DEFAULT (0),
31 status INT(1) NOT NULL DEFAULT (1)
32);
33
34:: config.lua
35 useBlackSkull = "yes"
36 killsToBlackSkull = 5
37 orangeSkullTime = 24*60*60
38
39:: data/globa.lua
40 SKULL_BLACK = 5
41 SKULL_ORANGE = 6
42
43:: data/spells/spells.xml
44 blackCanUse="0"