Logging system with web front

Hey! This is my first official release :3 And one of the few projects I didn’t abandon.
[release]
| Logging System |

What is this:
This is a logging system… It logs every players actions as and saves them in a MySql database. And then displays it on a web page.

It logs:
*Logs every connect to the server.
Logs first spawn.
Logs every death.
Logs every disconnect.
Logs every prop spawn.
Logs every weapon pick up.
Logs team change.
Logs every spray.
Logs every entity used.
Logs every noclip used.
Logs every chat message.
*

**Features: **

  • Web Front (Works in: Firefox, IE, Chrome)
  • Commands to turn every single part of it on/off
  • Easy configure and install!
  • Search
  • Auto update on added content!

**Requirements: **

Commands:
log_connect 1/0 Logs every connect to the server.
log_spawn 1/0 Logs first spawn.
log_death 1/0 Logs every death.
log_disconnect 1/0 Logs every disconnect.
log_propspawn 1/0 Logs every prop spawn.
**log_weapon 1/0 ** Logs every weapon pick up.
log_team 1/0 Logs team change.
**log_spray 1/0 ** Logs every spray.
log_plyuse 1/0 Logs every entity used.
log_noclip 1/0 Logs every noclip used.
log_chat 1/0 Logs every chat message.

Download:
http://www.garrysmod.org/img/?t=dll&id=94496

How to install:
Step One:
Open the folder called “Server Log” then Lua>Autorun>Server>ServerLog.lua
Edit the config there.

Step Two:
Drop the folder called “Server Log” in you’re addons folder

Step Three:
Open the folder called “Web Site” then open config.php
Edit the config there.

Step Four:
Goto phpmyadmin and import logs.sgl from the folder called “Web Site”

Step Five:
Upload the content of the folder called “Web Site” to you’re webhost.

Step Six:
Make sure you have http://www.facepunch.com/showthread.php?t=241247 installed
If you have you’re done

Additional Info:

  • The website auto reload on new log
  • It doesn’t log start weapons. (It made a mess :3)
  • It shows 100 latest logs. (Can be edited)

Example:
http://www.nekogaming.net

:siren::siren:If you don’t know what a Mysql database is or what you’re host is find out before contacting me!:siren::siren:

[/release]

It is useful :3.Nice release, also first!

Looks good.

Thank you :slight_smile:

What about logs every entity removed.

[editline]01:19PM[/editline]

And every chat message

I didn’t want chat messages since that would Spam it, might make a second page for chat messages if someone needs it thought.

And about entity remove… Well I’ll check that.

EDIT: I’ll add Entity remove to next release, should I add a page to chat to?

It doesn’t work, do I need anything else installed?

Have you done all this:

How to install:

Step One:
Open the folder called “Server Log” then Lua>Autorun>Server>Serverlog.lua
Edit the config there.
Step Two:
Drop the folder called “Server Log” in you’re addons folder
Step Three:
Open the folder called “Web Site” then open index.php
Edit the config there.
Step Four:
Goto phpmyadmin and import logs.sgl from the folder called “Web Site”
Step Five:
Upload the content of the folder called “Web Site” to you’re webhost.
Step Six:
You’r done! :smiley:

Yes, chat logging would be useful. I’ve used chat logs from ULX many times to bust people doing stupid things on my server.

Nice the same thing ive made for my server xD

In the index.php is it asking for the FTP directory or the MSQL directory?

[editline] Hi [/editline]

It seems to be working, but its not displaying the logs…

http://bellminator.com/Web%20Site/index.php

And I know why, in the addons folder rename info.txt.txt to info.txt
This will be fixed in v2 + chat logs and search/new layout

I can’t seem to wrap my head around this, enter website ip in the lua file? And then localhost in the php?

You use the same info in the Lua file and in the php file, its you’re MySql host Example mine is:



	$db_host 		= "mysql12.gigahost.dk"; 	//My database
	$db_username   	= "Username"; 	//My username
	$db_pass 		= "password";		//My password
	$db_name 		= "patrick_gmod"; 		//My database
	$page_name		= "Trivkz Server Logs"	//The name of the site


Aaah… I see, thanks alot :v:

No problem, I might release a new version with improved layout and search soon.

[editline]08:38PM[/editline]

And chat logging :3

So if my database is on thepointofbuilding.net, should i enter that in the hostname? I did and i can’t say it’s working out.

Add me on steam and I’ll guide you through :slight_smile:

Done.

V2 will be released tomorrow, it will have improved layout, chat logging, search, and some nice effects!