2010-11-20 07:06:49 +01:00
|
|
|
-- Blacklist table for MySQL.
|
|
|
|
-- You must still configure WorldGuard to use your database.
|
|
|
|
-- If you do not plan on using a database for logging blacklist events,
|
|
|
|
-- you do not need to do anything with this file.
|
|
|
|
|
|
|
|
CREATE TABLE `blacklist_events` (
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
`event` varchar(25) NOT NULL,
|
2011-02-25 16:42:48 +01:00
|
|
|
`world` varchar(32) NOT NULL,
|
2010-11-20 07:06:49 +01:00
|
|
|
`player` varchar(16) NOT NULL,
|
|
|
|
`x` int(11) NOT NULL,
|
|
|
|
`y` int(11) NOT NULL,
|
|
|
|
`z` int(11) NOT NULL,
|
|
|
|
`item` int(11) NOT NULL,
|
|
|
|
`time` int(11) NOT NULL,
|
2010-11-20 20:47:32 +01:00
|
|
|
`comment` varchar(255) NULL,
|
2010-11-20 07:06:49 +01:00
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
);
|
2010-11-20 20:47:32 +01:00
|
|
|
|
|
|
|
-- Required update if you have an older version of the table:
|
|
|
|
|
2011-02-25 16:42:48 +01:00
|
|
|
ALTER TABLE `blacklist_events` ADD `comment` VARCHAR( 255 ) NULL
|
|
|
|
|
|
|
|
ALTER TABLE `blacklist_events` ADD `world` VARCHAR( 32 ) NOT NULL
|