Add Essence 520 minimal DB, configs, and login/game Docker profile.

This commit is contained in:
test
2026-05-18 12:54:47 +03:00
parent a4a3a2aa09
commit 6fdbc9b103
21 changed files with 438 additions and 172 deletions
+24
View File
@@ -0,0 +1,24 @@
# Lineage 2 Essence — Game Server (шаблон, клиент protocol 520)
# Скопируйте в dist/game/config/ вашей сборки.
LoginHost = login
LoginPort = 9014
GameserverHostname = *
GameserverPort = 7777
RequestServerID = 1
AcceptAlternateID = True
MaximumOnlineUsers = 500
DatapackRoot = .
# Только клиент 520 (Essence)
AllowedProtocolRevisions = 520
Driver = org.postgresql.Driver
URL = jdbc:postgresql://postgres:5432/l2essence
Login = l2user
Password = change_me_strong_password
MaximumDbConnections = 100
CharMaxNumber = 7
CnameTemplate = .*
+3
View File
@@ -0,0 +1,3 @@
# HexID = RequestServerID 1 (должен совпадать с gameservers.hexid в БД)
HexID=a1b2c3d4e5f6789012345678901234ef
ServerID=1
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
<host subnet="0.0.0.0/0" address="127.0.0.1" />
</list>
+24
View File
@@ -0,0 +1,24 @@
# Lineage 2 Essence — Login Server (шаблон под Docker + PostgreSQL 17)
# Скопируйте в dist/login/config/ вашей сборки Samurai Crow / Mobius Essence.
LoginserverHostname = *
LoginserverPort = 2106
LoginHostname = 0.0.0.0
LoginPort = 9014
LoginTryBeforeBan = 5
LoginBlockAfterBan = 900
AcceptNewGameServer = True
EnableFloodProtection = True
AutoCreateAccounts = True
ShowLicence = False
# PostgreSQL (хост postgres — имя сервиса в docker-compose)
Driver = org.postgresql.Driver
URL = jdbc:postgresql://postgres:5432/l2essence
Login = l2user
Password = change_me_strong_password
MaximumDbConnections = 50
DatapackRoot = .
Debug = False
+5
View File
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
<!-- Внешний IP для клиента (замените на IP вашего VPS) -->
<host subnet="0.0.0.0/0" address="127.0.0.1" />
</list>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<servers>
<server id="1" name="Essence 520" />
</servers>