Introduction

Welcome to the bLogs wiki. This website is best viewed on an actual web browser instead of the Steam Browser.
All information about installing, configuring and using bLogs can be found here.
If you are experiencing a problem, please firstly read the troubleshooter and if you still haven't found a solution, open a ticket.

Screenshots and info are subject to change through updates.

Prerequisites

Choosing a server host


bLogs relies heavily on your host's disk speed, internet speed and processor used.
All three of these are heavily accounted for on what I personally recommend, which is Crident.
Crident has:

MySQL Prerequisites

If you're planning on using MySQL, you will need MySQLoo installed on your server.

Game Server Hosts

Most GSHs (such as Crident) will have an automatic process for installing MySQLoo.
Please refer to your GSH's knowledgebase for the instructions or open a support ticket with them.

Windows Server installation instructions

  1. Stop your server
  2. Download gmsv_mysqloo_win32.dll
  3. Upload gmsv_mysqloo_win32.dll to your server's garrysmod/lua/bin folder. If the folder does not exist, create it.
  4. Download libmysql.dll
  5. Upload libmysql.dll to the root directory of the server (the one that contains srcds.exe)

Linux Server installation instructions

  1. Stop your server
  2. Download gmsv_mysqloo_linux.dll
  3. Upload gmsv_mysqloo_linux.dll to your server's garrysmod/lua/bin folder. If the folder does not exist, create it.
  4. Download libmysqlclient.so.18
  5. Upload libmysqlclient.so.18 to the root directory of the server (the one that contains srcds_run)

Installation/Updating

  1. Delete garrysmod/addons/__blib and garrysmod/addons/_blogs-x-x from your server if they exist
  2. Download the script
  3. Unzip the file
  4. Drag __blib and garrysmod/addons/_blogs-x-x into garrysmod/addons
  5. See below for configuration

Configuration

The config file can be is located in addons/_blogs-x-x/lua/blogs_config.lua. You will need to open it with a proper text editor, such as Notepad++ or Sublime Text 3.
You will need to read the configuration file fully, as it contains crucial information that you need to know. It also includes in-depth explanations for the config.

MySQL

MySQL is an external database software. When used with bLogs, it makes everything faster, is more reliable, is less likely to corrupt and can be edited manually. It will also allow you to keep archived logs for longer than just one server restart.
To use it, you must first have a MySQL server. Most server hosts should provide you with a MySQL server, but if you're running a dedicated server, you'll need to find out how to create a MySQL server yourself. Your server host should provide this information.
If you have a MySQL server, open addons/_blogs-x-x/lua/bwhitelist_mysql_config.lua and enter the server's details. Make sure you change MySQL.Enabled from false to true.
Once your details have been entered, just restart your server. Watch your server's console for errors. If no errors occur, you are probably connected to MySQL.

Training Staff

If you want to show staff how to use bLogs, it should be as simple as telling them how to open the menu and then clicking "Help" at the bottom.

Usage

To open the menu, type !blogs in chat or blogs in console. If you've changed the chat command in the config, you will obviously need to use this, instead.
If it says that you are not allowed to access the menu, then you have not read the configuration file, which has the permsisions configuration in it.

The Menu


The Log Info Panel


Advanced Search


To access advanced search, click the maginifying glass next to "Quick Search."
Advanced Search lets you search through multiple modules for specific player(s) and keyword(s).

There are two types of logs in bLogs: normal logs and archived logs.
Normal logs are logs from the current server session.
Archived logs are logs from previous server sessions. All normal logs are moved to a different storage table which "archives" them. This makes it a lot faster and efficient to search and process logs.
To search the normal logs, just click "Search." To search the archived logs, click "Search Archive." This could make the server freeze for a couple seconds as there are usually quite a lot of logs to look through.

To add a player to the filter, click the dropdown list called "Players...", you can also manually input a SteamID of a player by clicking "Custom..." in the dropdown.
To add a module to the filter, click the dropdown list called "Modules..."
To add keyword(s) to the filter, type in the "And contains..." text box.

Archive

The archive shows logs from previous server sessions. All normal logs are moved to a different storage table which "archives" them. This makes it a lot faster and efficient to search and process logs.
The archive is automatically cleared every OTHER server restart if you are not using MySQL. If you are using MySQL you can retain them forever or automatically delete them after x days. (See Usage -> General Settings below)

Player Lookup


Player Lookup lets you see IP addresses of offline and online players.
The list is automatically cleared every OTHER server restart.

The Admin Tab

The admin tab is what MaxPermitted users see (read the config if you don't know what MaxPermitted) is. It contains loads of different settings and operations to configure the script.


Clicking on stuff in "Settings" brings up their unique menus in the "Content" section.

Operations

Simple maintenance operations. They are explained in the panel when you hover over their buttons.

Modules


This is where you can choose which modules are disabled and which modules get printed to admins' consoles.

General Settings

Lists some general settings such as deleting logs automatically.

Permissions

Permissions is how you control who sees what.



The leftmost column is "Usergroups", which lists different groups of users on your server.
The middle "Has Permission" column is permissions that the usergroup you selected in the leftmost column have access to.
You can remove their access by clicking a row, and clicking the ">>" button which will move it into the "No Permission" column.
As you can see, by default, the "# Menu" permission is NOT in the "Has Permission" column. Therefore, all usergroups cannot access the menu by default, so you need to move it to the "Has Permission" column to give them access.

Player Format

This is how players are shown in logs. You can choose what is included, such as the player's job/team, health, armour, etc.

Support

Shortcut to support.gmodsto.re, our support site.