Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.24 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.24 KB

SteamLogger

Start saving your steam message history with Steam Logger.

image image


Requirements

To this work 24/7 and save your energy, I recommend you buy a VPS.

  • NodeJS
  • MySQL (Cloud or Local)
  • PM2 (Opcional, but i recommend)

Configuring

MySQL

Create a database and then create table "receveid". Code below.

CREATE TABLE `received` (
	`msg_id` INT(11) NOT NULL AUTO_INCREMENT,
	`steamID3` VARCHAR(255) NOT NULL COLLATE 'utf8_general_ci',
	`steamID64` VARCHAR(255) NOT NULL COLLATE 'utf8_general_ci',
	`personaname` VARCHAR(255) NOT NULL COLLATE 'utf8_general_ci',
	`avatar` TEXT NOT NULL COLLATE 'utf8_general_ci',
	`message` TEXT NOT NULL COLLATE 'utf8_general_ci',
	`date` TIMESTAMP NOT NULL DEFAULT current_timestamp(),
	PRIMARY KEY (`msg_id`) USING BTREE
)

Adding Steam Account and Database Connection

  1. Open SteamLogger.js with some text editor.
  2. Edit value of const inicitalizing with steam_ and db_ (Line 15 - 24)
  3. After that, you can launch SteamLogger. Process below.

Starting

$ node SteamLogger.js