git clone https://github.com/dangle/living-norrath.git
cd living-norrath
This assumes your server was installed using the Basic Server Install - Linux on a Debian-based system
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 over all of the server files
sudo -u eqemu rsync -vr server/ ~eqemu/
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>",
}
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 |