From d0c372b19d6fd55068f9ee604bdf0386f717a4ca Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 3 Feb 2021 12:13:25 -0600 Subject: [PATCH] Change readme to use new DB config --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a26f9772..5e5166e2 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ This is the roleplay resource for Asshat Gaming's GTAC servers ### Getting Started * Download the GTAC server to your local PC. This will be your local test server. * Unzip the server, and edit the server config (default is server.xml) to your liking. -* Add a CVAR to the server config called `devserver` and set it's value to "1" to use the dev server database. * Run plink.exe to create an SSH tunnel. * `plink.exe gtacrp.asshatgaming.com -P 40393 -l USERNAME -i PATHTOKEY -L 127.0.0.1:3307:127.0.0.1:3306` * Replace USERNAME with your username * Replace PATHTOKEY with the full file path to your private key + * If desired, change the first port from 3307 to whatever you want. This will tunnel the mysql connection to that port to use on your PC. * Put the edited command into a batch file (.bat) to make it easier to use next time. -* Add a CVAR to the server config called `databaseport` and set it's value to 3307. +* Add your MySQL access info to the database.json config in the resource's config directory. Use the tunneled port above! * Clone this git repository into a subdirectory within the server's resources folder. * Add the subdirectory's folder name to the resources section of the server config. * Start the server to make sure it works and connects.