Back to Knowledge Base

Lucera 2 Server Setup Guide

This guide contains basic information on how to run the server on Windows. Follow these 10 simple steps to download and set up Lucera2 from scratch.

Step 1: Create Server Directory

Create a folder for your server, for example:

D:\lucera2

Step 2: Download Required Software

  1. Java Development Kit 17

    Download from Oracle's website:

    https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
  2. MySQL Community Server

    Download from MySQL website:

    https://dev.mysql.com/downloads/mysql/
  3. SQL Manager

    Choose either:

Step 3: Installation

Java Installation

Follow the installation wizard for Java Development Kit 17.

MySQL Installation

Important!

Select the second option - Use Legacy Auth during MySQL installation.

Step 4: Server Installation

Important!

  • For authserver: Copy from authserver/config/default_english to authserver/config/
  • For gameserver: Copy from gameserver/config/default_english to gameserver/config/

Step 5: Database Setup

Create the necessary databases using either MySQL Workbench or your preferred SQL manager.

Step 6: Network Configuration

Login Server Configuration

Edit authserver/config/authserver.properties:

LoginserverHostname = your_ip_interface

Game Server Configuration

Edit gameserver/config/server.properties:

ExternalHostname = your_ip_interface

Step 7: Starting the Server

Start the servers in the following order:

  1. Auth Server: Run authserver/StartAuthServer.bat
  2. Game Server: Run gameserver/StartGameServer.bat

Note

The server will automatically install the database if you've specified the correct login, password, and database name in the server.properties file.