LUTE Server is a backend API server designed for handling user logs, game data, and shared variables for the LUTE Unity tool.
- User authentication using JWT.
- Admin panel for viewing and filtering user logs.
- API endpoints for Unity logging and game shared variables.
- CSV download for filtered logs.
- .NET 5 or later
- SQLite (or any database specified in
appsettings.json) - Visual Studio / Visual Studio Code (or any preferred IDE)
- Optional: Docker (for containerization)
Instead of building the project yourself, you can download the latest release from the Releases Page.
-
Go to the Releases Page and download the latest release
.zipfile. -
Unzip the file and move the contents to a directory of your choice.
-
Open the
example.appsettings.jsonfile in the unzipped folder, and configure it by modifying the following settings and renaming it toappsettings.json:
{
"ConnectionStrings": {
"DefaultConnection": "Data Source=YourDBName.db" //Change this to the name of the database you want
},
"Jwt": {
"Key": "SecretDevKeyVeryLongHasToBeForSecurity", //Change this to a secure key for JWT tokens
"Issuer": "Your Issuer" //Change this to your organisation or anything
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"DefaultAdmin": {
"Username": "admin", // Change this username
"Password": "admin123", // Change this password
"Enabled": true // Set this to true to enable admin creation on first load
}
}- Run the server:
dotnet LUTE-Server.dll- Clone the repository:
git clone https://github.com/LoGaCulture/LUTE-Server.git- Open the project in your preferred IDE (Visual Studio, Visual Studio Code, etc.), or build it using the command line:
dotnet build- Run the server from the IDE or using the command line:
dotnet run- Clone the repository:
git clone https://github.com/LoGaCulture/LUTE-Server.git- Run docker compose:
docker compose upYou have to configure the server by modifying the example.appsettings.json file and renaming it to appsettings.json:
{
"ConnectionStrings": {
"DefaultConnection": "Data Source=YourDBName.db" //Change this to the name of the database you want
},
"Jwt": {
"Key": "SecretDevKeyVeryLongHasToBeForSecurity", //Change this to a secure key for JWT tokens
"Issuer": "Your Issuer" //Change this to your organisation or anything
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
// Uncomment and edit the fields below to create a default admin user
"DefaultAdmin": {
"Username": "admin", // Change this username
"Password": "admin123", // Change this password
"Enabled": true // Set this to true to enable admin creation on first load
}
}
To create a default admin user, please remove all the comments and change the username and password to something secure.