Loading...
Loading...
Follow this step-by-step guide to install and configure your L2jExalted server.
Make sure you have purchased a valid license and downloaded the server files from your account dashboard.
unzip L2jExalted-v1.0.0-FULL.zip -d /opt/l2jexaltedL2jExalted requires Java 17 or higher to run.
sudo apt update
sudo apt install openjdk-17-jdk
java -version # Verify installationjava -versionThe server uses PostgreSQL as its database.
sudo apt install postgresql postgresql-contrib
sudo systemctl start postgresql
sudo systemctl enable postgresqlpostgres userCreate a dedicated database for L2jExalted:
# Login to PostgreSQL
sudo -u postgres psql
# Create database and user
CREATE DATABASE l2jexalted;
CREATE USER l2jadmin WITH PASSWORD 'your_password';
GRANT ALL PRIVILEGES ON DATABASE l2jexalted TO l2jadmin;
# Exit
\qEdit the configuration files in the config/ directory:
# Database connection
db.url=jdbc:postgresql://localhost:5432/l2jexalted
db.username=l2jadmin
db.password=your_password
db.max_connections=50# Server settings
server.name=My L2jExalted Server
server.ip=127.0.0.1
server.port=7777
login.port=9014
# Rates (BASIC tier default)
rates.xp=1.0
rates.sp=1.0
rates.adena=1.0Copy your license key file to the config folder:
# Download your license.key from the account dashboard
# Place it in the config folder
cp license.key /opt/l2jexalted/config/license.keyThe server will automatically verify your license on startup. Make sure:
license.keyconfig/ directoryImport the initial database schema:
# Navigate to server directory
cd /opt/l2jexalted
# Import schema
psql -U l2jadmin -d l2jexalted -f sql/install.sqlLaunch the game server and login server:
# Make scripts executable
chmod +x startGameServer.sh
chmod +x startLoginServer.sh
# Start login server first
./startLoginServer.sh
# Wait 10 seconds, then start game server
./startGameServer.shstartLoginServer.batstartGameServer.batCheck that everything is working: