🟥Database

Instructions for setting up your database storage method

▸ Location

addons\agon\agon.rlib

▸ Required Fields

Once you have completed the installation of this addon. You must configure the addon to utilize your database credentials. You will need the following information:

▸ Modes

You can select one of the following modes for your SQL engine:

SQLite

This storage method is included with Garry's Mod. No further installs are required.

MySQL

Download the latest version from the link provided above. Place that file within the garrysmod/lua/bin/ folder on your server. If the bin folder doesn't exist, please create it.

▸ Tables

In the database config file, there will be variables at the bottom which relate to the database table names. Do not modify these unless you know what you are doing.

"tables"
{
    "_prefix"       "agon"
    "users"         "players"
    "rlib"          "script"
}

Last updated