Set up the mod Each Server - DaemonForge/DayZ-UniveralApi GitHub Wiki
- Install mod from workshop Universal Api Mod Must Be both Server and Client
- create folder
UApi
in the Profile Folder - In that folder create a file named
UniversalApi.json
with the following files
with your details Copy this to each server profile
{
"ServerURL": "https://1.1.1.1/", //Replace with your Server IP that the API is on, This can also be a DNS Name
"ServerID": "1", //This is the server ID name this MUST be unique for each separate DayZ Server (if using map link this matches the ServerName)
"ServerAuth": "SERVERAUTH", //Replace with your SERVERAUTH TOKEN from the API Server
"QnAEnabled": 0,
"EnableBuiltinLogging": 0, //This sends some built-in dayz logging to the API allowing server owners to have a consolidated view of logs
"PromptDiscordOnConnect": 0 //This will prompt users to connect there discord account to there steam id in your database
}
- Remember to delete the comments from the file