A plugin that allows users to say !reportmap "reason" to report bugs on map to the server operators
- Copy the mapreporter.smx to your plugins directory
- *OPTIONAL* Download Webinterface: http://ffac.eu/Sourc...map_reports.zip
Cvars:
- sm_mapreporter_advert //Allows you to change if it should advert to users on round start
- sm_mapreporter_mysql //If you want to use mysql or not
Quote: Databases.cfg:
"mapreporter"
{
"driver" "mysql"
"host" "YourHost"
"database" "YourDatabase"
"user" "YourUser"
"pass" "YourPassword"
//"timeout" "0"
//"port" "0"
}
MySQL Table:
CREATE TABLE IF NOT EXISTS `map_reports` (
`map` varchar(100) NOT NULL,
`player` varchar(100) NOT NULL,
`steamid` varchar(100) NOT NULL,
`comment` varchar(100) NOT NULL,
`date` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Webinterface:
Just download it, edit the mysql connection and upload it into your webhost.
ToDo:
Quote: - Nothing Plugin Changelog:
Quote: Map Reporter 1.0
- Initial release WebbInterface Changelog:
Quote: Webinterface 1.0
- Initial release
Attached Files Get Plugin or Get Source (mapreporter.sp - 3.8 KB)
Wyświetl pełny artykuł