🟥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:
host | The host for your MySQL database server. This is usually an IP address.
Use |
user | Username for your MySQL connection |
pass | Password you have assigned to your mysql user |
name | Name of your database |
port |
Port used to connect your gmod server with the MySQL server.
This is usually |
mode | Which mode you wish to use as the database storage method. Options:
See Mode section for more information. |
▸ Modes
You can select one of the following modes for your SQL engine:
sqlite | Included with Gmod |
mysqloo |
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.
Last updated