Logs server crashes to a mysql database and displays a list on a user friendly web page. Notes: This plugin does not log to the database when the map changes, only when the server restarts after an unexpected (forced) shutdown. Graceful shutdowns do not log. Live Demo Page! Requirements: Webserver with php and mysql
This plugin does not log to the database when the map changes, only when the server restarts after an unexpected (forced) shutdown. Graceful shutdowns do not log.
Live Demo Page!
Webserver with php and mysql
None.
Code: "crashlogger" { "driver" "mysql" "host" "webserver IP" "database" "database name" "user" "database username" "pass" "database username password" //"timeout" "0" "port" "3306" }
"crashlogger" { "driver" "mysql" "host" "webserver IP" "database" "database name" "user" "database username" "pass" "database username password" //"timeout" "0" "port" "3306" }
Make sure you allow your game server mysql access to your web server. You may want to force-restart your server to make sure everything logs correctly. The plugin will configure it's database the first time it runs and will add a new log entry every time the server starts after a crash. Plugin creates a settings file in /cfg/sourcemod/ by the name of plugin.Crashlogger.cfg
V1.0 Initial Release V2.0.0Complete rewrite Multi-server compatible! Now lists the hostname or custom name of the servers. Servers are now filterable on the list by ID number. Looks Purrdy! (not so much) CSS2.1/CSS3 Compliant! XHTML 1.0 Compliant!
V1.0 Initial Release V2.0.0Complete rewrite Plugin now uses threaded connections and queries Cvar added to set a custom name for the server to display on the web interface. Defaults to the server hostname. Cvar added to set a server ID number (for site crash filtering). Cvar added to set a time offset to alter the server timestamp by. Feature added to detect crashes / forced restarts from graceful server restarts. Only crashes and forced restarts will be logged. Total plugin downloads prior to last edit: 425 Total site downloads prior to last edit: 188