Lineage 2 Private Server Setup (L2J) — Start to Login in 15 Min — Transcript
Full transcript
- 0:00You want an L2J server, but you don't
- 0:01want to waste a whole day jumping
- 0:03between dead tutorials. In 15 minutes,
- 0:06I'll help you build a Lineage 2 server
- 0:08that actually works. In this episode,
- 0:10we'll set it up locally and test it. And
- 0:12after that, we'll take it online step by
- 0:14step so you can launch it or play
- 0:15[music] with your friends. Let's get
- 0:17started.
- 0:19Step one, JDK25.
- 0:23If you already have Java installed,
- 0:25double check the version so you're not
- 0:26accidentally running an older JDK. The
- 0:29goal is when we build and run everything
- 0:32uses the same Java version.
- 0:40[music]
- 0:53A Lineage 2 server setup has three big
- 0:55[music] parts. the login server, the
- 0:58game server, and the database. The
- 1:01server pack [music] is basically the
- 1:02login server plus game server code and
- 1:05configs. The database is what they talk
- 1:07to for accounts, characters, items,
- 1:10[music] everything. Once you understand
- 1:12that tree, the whole setup becomes
- 1:14simple. Install dependencies, build the
- 1:16pack, wire it to the DB, then point your
- 1:19client to the login server.
- 1:21Next, [music] the server pack. Download
- 1:24and extract it somewhere clean. For this
- 1:26tutorial, we're using the L2J Lisbus
- 1:28server pack because it's open- source
- 1:30and actively maintained. To download it,
- 1:33you've [music] got two options. Clone
- 1:35the repository if you want the clean dev
- 1:37workflow, or just hit [music] download
- 1:39zip on GitLab if you want the fastest
- 1:40setup. I'll use the zippy method here so
- 1:43anyone can follow along.
- 1:49[music]
- 2:02>> [music]
- 2:09>> Quick tour of the pack. You'll usually
- 2:11see folders like login server, game
- 2:13server, tools, and sometimes SQL or data
- 2:16pack folders.
- 2:18The tools folder is important because
- 2:20that's where we'll initialize the
- 2:21database later.
- 2:24Now, IntelliJ Idea, we'll use this IDE
- 2:28to compile and build our server pack.
- 2:30Download and install it. It's free.
- 2:33Then, open the server pack as a project.
- 2:35If IntelligJ asks about trusting the
- 2:37project or importing build configs,
- 2:39accept it.
- 2:42[music]
- 2:50>> [music]
- 3:28>> In order to build the server files,
- 3:29depending on your pack, you'll have
- 3:31either Gradel/Maven or ANT scripts.
- 3:34This pack is using Ant Build scripts
- 3:36that generate the runnable jars and
- 3:38required outputs. Therefore, we'll go to
- 3:41the plug-in sections of the IDE and
- 3:43install the ANT plugin required to
- 3:45execute the build command. While the
- 3:48build runs, keep an eye on errors. If
- 3:50you see missing SDK or cannot find Java,
- 3:53it's almost always because your project
- 3:55SDK is pointing to the wrong version. In
- 3:59this case, we need to point it to use
- 4:00JDK25.
- 4:19to execute the build. Go to the ANT tool
- 4:22view and doubleclick on the disc option.
- 4:25This triggers the complete build and
- 4:27packaging process. Once the build
- 4:29finishes, you should see a build folder
- 4:31for both core and data pack folders.
- 4:33Extract the archive you find in each
- 4:35build folder and copy the contents in
- 4:37[music] a new folder.
- 4:45I've named it my dash server. That will
- 4:48be our final server folder.
- 5:30>> [music]
- 5:35[music]
- 6:00[music]
- 6:12[music]
- 6:14>> Cool. Now we move to the database layer.
- 6:17MySQL server plus client. For this
- 6:20video, I'm installing MySQL Server and
- 6:22I'll be using MySQL Workbench as a DB
- 6:24client to see and manage the tables.
- 7:12myself.
- 7:25Myself.
- 8:03myself.
- 8:22My
- 8:45during install. Set your root password
- 8:47and make sure the server is actually
- 8:49running afterward. To do that, open your
- 8:51DB client and confirm you can connect.
- 9:01>> [crying]
- 9:08>> Christmas.
- 9:35You know who made it.
- 10:00Now the important part, initialize
- 10:02server DB. Inside the server pack tools
- 10:06folder, we have the database installer
- 10:08scripts. These scripts will create
- 10:10tables and import all the SQL files for
- 10:13both login server and game server.
- 10:38You know who made it.
- 10:45>> We'll use one database name for both
- 10:47login and game tables. Hit enter for to
- 10:50accept the default values presented. If
- 10:53you're on Windows and your MySQL is
- 10:55installed under program files, paths
- 10:57with spaces can break these scripts
- 10:59unless the right parts are quoted. So if
- 11:01your installer fails, don't panic. It's
- 11:03almost always a path quoting issue.
- 11:13>> Open the installer config file, usually
- 11:15something like ve.txt,
- 11:18and add quotes at the beginning and at
- 11:19the end of the MySQL path.
- 11:35Now edit the database installer script.
- 11:38You need to search and replace the MySQL
- 11:40path variable and remove the quotes
- 11:41around it.
- 12:07Now run the installer again. Select yes
- 12:09to create the login server database. You
- 12:12should see it executing lots of SQL
- 12:14files. When it finishes, go back to your
- 12:16DB client and hit refresh. You should
- 12:18see a big list of tables.
- 12:56For both game server and login server,
- 12:58we need to edit the config file and make
- 13:00sure the Maria DB driver is enabled
- 13:02along with its database path such that
- 13:04it points to our newly created database.
- 13:07Please note that Maria DB is compatible
- 13:09with MySQL, so our connection will be
- 13:12fine. Don't forget to fill in your
- 13:13database user password. In my example, I
- 13:16have used root user and test as the
- 13:19password during the MySQL server
- 13:21installation.
- 13:32All
- 13:49right, we are almost there. Last thing
- 13:52we need to do is to register the game
- 13:53server. To do that, head over to the
- 13:56login folder and execute the register
- 13:58game server file. When prompted, select
- 14:01clean and then type one. This will
- 14:04register our Bart server and produce the
- 14:06hexid.txt
- 14:07file. You need to copy that one in the
- 14:10config folder of your game server
- 14:12directory.
- 14:25All done. Now we start login server.
- 14:27First watch the console. It should say
- 14:30it's listening on port 21106. It loads
- 14:32server names and it registers the game
- 14:34server slots. Then start the game
- 14:36server. On a clean run, you'll see it
- 14:39connects to the database, load scripts,
- 14:41load data, and finally say it's ready.
- 14:44If both are up, you're basically done.
- 14:56To test your server, install a clean
- 14:57Lineage 2 client matching your server
- 14:59Chronicle. In this case, C4 Science of
- 15:02Destiny is what we need.
- 15:20>> [music]
- 15:38>> You now need a system folder that comes
- 15:40with an L2.ini
- 15:42file where the server address variable
- 15:44already points to the local host.
- 15:46IP127.0.0
- 15:490.1.
- 15:50You can grab one from the L2J Lisbus
- 15:53forum. If you search the form using this
- 15:55exact text, you'll then find a post
- 15:57where this was requested.
- 16:04[music]
- 16:29>> [music]
- 16:31>> Now for the real test. Launch the
- 16:33client, hit the login screen, and try
- 16:35logging in.
- 16:37Autocreate accounts is enabled. So on
- 16:39your first login attempt, it creates the
- 16:41account on the fly. Congrats, you have
- 16:44successfully created your own L2J
- 16:46server. [music]
- 16:47In the upcoming episodes, we'll see how
- 16:48to configure various rates for our
- 16:50server, make our character a GM, take
- 16:53this server from local host to public so
- 16:55your friends can test it, and many more
- 16:57cool stuff. If you enjoyed this episode,
- 16:59please subscribe to the channel so you
- 17:01don't miss the next one. Feel free to
- 17:03join our Discord community, and if
- 17:04anything breaks, drop your logs in the
- 17:06tech support channel, and I'll help you
- 17:08debug it. Thanks for watching, and let's
- 17:11keep going.
- 17:12>> [music]
About this transcript
This page contains the full transcript of Lineage 2 Private Server Setup (L2J) — Start to Login in 15 Min by Player Explains, generated from the public captions YouTube serves with the video. The transcript has 1,197 words across 206 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.