mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
TFS 0.2 and 1.0 report bug system
Players can say !report SomeMessageHere to send a report to database, it will automatically fetch position of player etc. You can check reports in admin panel and change status of them, and optionally reward player with points if you feel they deserve it for reporting the bug. Default working TFS 1.0 scripts for shop and firstitems
This commit is contained in:
@@ -95,6 +95,17 @@ CREATE TABLE IF NOT EXISTS `znote_players` (
|
||||
INSERT INTO `znote_players` (`player_id`, `created`, `hide_char`, `comment`) VALUES
|
||||
('1', '$time', '0', '. . .');
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `znote_player_reports` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(50) NOT NULL,
|
||||
`posx` int(6) NOT NULL,
|
||||
`posy` int(6) NOT NULL,
|
||||
`posz` int(6) NOT NULL,
|
||||
`report_description` VARCHAR(255) NOT NULL,
|
||||
`date` INT(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `znote_shop` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`type` int(11) NOT NULL,
|
||||
|
Reference in New Issue
Block a user