Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.18 KB

README.md

File metadata and controls

51 lines (38 loc) · 1.18 KB

Chat Log

GitHub All Releases GitHub last commit GitHub repo size

Description

Saves all posted user messages in database.

Database preview

ddisp

Web preview

ddisp

Installation:

connect to your mysql in databases.cfg

"chatlog"
{
    "driver"                        "mysql"
    "host"                          "localhost"
    "database"                      ""
    "user"                          ""
    "pass"                          ""
}

connect to your mysql in database.php

// DB hostname
$servername = "localhost";

// DB username
$username = "";

// DB password
$password = "";

// DB name
$dbname = "";

ConVars

sm_chatlog_cleartable_enabled "1" //Enable/Disable clearing table (1/0) 0 - disabled
sm_chatlog_cleartable_duration "1 MONTH" //How often will table restart

Note

Please, keep in mind I am not webdev and this is my second work with web development, so bugs may appear.