/living-norrath

Primary LanguageLuaMIT LicenseMIT

Living Norrath

Clone the Repository

git clone https://github.com/dangle/living-norrath.git
cd living-norrath

Manual Installation

This assumes your server was installed using the Basic Server Install - Linux on a Debian-based system

Prerequisites

Run the following commands to get the prerequisites installed:

sudo apt update
sudo apt install -y luarocks rsync
sudo luarocks install lua-openai
sudo luarocks install lunajson

Copy Files to the EQEmu Installation

Copy over all of the server files

sudo -u eqemu rsync -vr server/  ~eqemu/

Configuration

Create an OpenAI API key.

Add your OpenAI API key to the end of your eqemu_config.json file:

"gptnpc": {
  "apikey": "<YOUR OPENAI API KEY>",
}

Available Configuration Options

All values must be placed in the file eqemu_config.json.

Option Required Default Value
gptnpc.apikey Yes
gptnpc.model No gpt-3.5-turbo
gptnpc.temperature No 0.2