🟥Database
Instructions for setting up your database storage method
Last updated
Instructions for setting up your database storage method
Last updated
addons\agon\agon.rlib
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:
You can select one of the following modes for your SQL engine:
This storage method is included with Garry's Mod. No further installs are required.
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.
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.
host
The host for your MySQL database server.
This is usually an IP address.
Use localhost
if your mysql database runs on same server as your gmod server.
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 3306
mode
Which mode you wish to use as the database storage method.
Options:
sqlite
mysql
See Mode section for more information.
sqlite
Included with Gmod
mysqloo