mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
Modularizes the Maven project
This commit modularizes the maven project into several modules: - l2jserver2-common: common sources for both login and gameserver - l2jserver2-gameserver: the game server - l2jserver2-loginserver: the login server - l2jserver2-tools: refactored src/tools/java soure folder
This commit is contained in:
72
l2jserver2-gameserver/config/config.xml
Normal file
72
l2jserver2-gameserver/config/config.xml
Normal file
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="configuration configuration.xsd"
|
||||
xsi:noNamespaceSchemaLocation="configuration">
|
||||
<!-- TODO -->
|
||||
<general>
|
||||
<!-- TODO -->
|
||||
<rates>
|
||||
<!-- TODO -->
|
||||
<experience>1.0</experience>
|
||||
<!-- TODO -->
|
||||
<sp>1.0</sp>
|
||||
</rates>
|
||||
</general>
|
||||
|
||||
<!-- Services configuration section -->
|
||||
<services>
|
||||
<!-- Parameters in this section are used by DatabaseService. If you are
|
||||
not sure on the usage of any parameter, read the "Configuration" section
|
||||
in wiki article about DatabaseService. -->
|
||||
<database>
|
||||
<jdbc>
|
||||
<!-- Defines the connection URL used by JDBC to connect to the database. -->
|
||||
<url>jdbc:mysql://localhost/l2jserver2</url>
|
||||
|
||||
<!-- The driver used to connect to the database. Please note that the
|
||||
driver library must be available in the JVM classpath. -->
|
||||
<driver>com.mysql.jdbc.Driver</driver>
|
||||
|
||||
<!-- The username used to login into the database. NOTE: Try not use
|
||||
"root" in production servers for security reasons. -->
|
||||
<username>l2j</username>
|
||||
|
||||
<!-- The password used to login into the database. -->
|
||||
<password>changeme</password>
|
||||
</jdbc>
|
||||
|
||||
<connections>
|
||||
<!-- The maximum number of active connections -->
|
||||
<active-maximum>20</active-maximum>
|
||||
<!-- The maximum number of idle connections -->
|
||||
<idle-maximum>20</idle-maximum>
|
||||
<!-- The minimum number of idle connections -->
|
||||
<idle-minimum>5</idle-minimum>
|
||||
</connections>
|
||||
</database>
|
||||
|
||||
<!-- Parameters in this section are used by NetworkService. If you are
|
||||
not sure on the usage of any parameter, read the "Configuration" section
|
||||
in wiki article about NetworkService. -->
|
||||
<network>
|
||||
<!-- The address and port in which the server will listen to -->
|
||||
<listen>0.0.0.0:7777</listen>
|
||||
</network>
|
||||
|
||||
<!-- Parameters in this section are used by VFSService. If you are not
|
||||
sure on the usage of any parameter, read the "Configuration" section in wiki
|
||||
article about VFSService. -->
|
||||
<vfs>
|
||||
<root></root>
|
||||
</vfs>
|
||||
|
||||
<!-- Parameters in this section are used by VFSService. If you are not
|
||||
sure on the usage of any parameter, read the "Configuration" section in wiki
|
||||
article about VFSService. -->
|
||||
<template>
|
||||
<!-- The directory in which templates are stored -->
|
||||
<directory>data/templates</directory>
|
||||
</template>
|
||||
</services>
|
||||
<!-- /Services configuration section -->
|
||||
</configuration>
|
||||
30
l2jserver2-gameserver/config/properties/database.properties
Normal file
30
l2jserver2-gameserver/config/properties/database.properties
Normal file
@@ -0,0 +1,30 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# JDBCDatabaseService configuration
|
||||
# ---------------------------------------------------------------------------
|
||||
# Parameters in this file are used by JDBCDatabaseService.
|
||||
# If you are not sure on the usage of any parameter, read the "Configuration"
|
||||
# section in wiki article about "JDBCDatabaseService".
|
||||
# https://github.com/l2jserver2/
|
||||
# ---------------------------------------------------------------------------
|
||||
# NOTE: this is the development configuration file. Always remember to add
|
||||
# new parameters to "dist/config" files too!
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# This defines the connection URL used by JDBC to connect to the database.
|
||||
# Default: jdbc:mysql://localhost/l2jserver2
|
||||
jdbc.url = jdbc:mysql://localhost/l2jserver2
|
||||
|
||||
# The driver used to connect to the database. Please note that the driver
|
||||
# library must be available in the JVM classpath.
|
||||
# Default: com.mysql.jdbc.Driver in MySQL binary distribution or
|
||||
# org.h2.Driver in H2 binary distribution
|
||||
jdbc.driver = com.mysql.jdbc.Driver
|
||||
|
||||
# The username used to login into the database.
|
||||
# NOTE: Try not use "root" in production servers!
|
||||
# Default: l2j
|
||||
jdbc.username = l2j
|
||||
|
||||
# The password used to login into the database.
|
||||
# Default: changeme
|
||||
jdbc.password = changeme
|
||||
16
l2jserver2-gameserver/config/properties/template.properties
Normal file
16
l2jserver2-gameserver/config/properties/template.properties
Normal file
@@ -0,0 +1,16 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# XMLTemplateService configuration
|
||||
# ---------------------------------------------------------------------------
|
||||
# Parameters in this file are used by XMLTemplateService.
|
||||
# If you are not sure on the usage of any parameter, read the "Configuration"
|
||||
# section in wiki article about "XMLTemplateService".
|
||||
# https://github.com/l2jserver2/
|
||||
# ---------------------------------------------------------------------------
|
||||
# NOTE: this is the development configuration file. Always remember to add
|
||||
# new parameters to "dist/config" files too!
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# The directory in which templates are located. All template files must be
|
||||
# in .xml # file format. Must be relative to 'vfs.root' (vfs.properties)
|
||||
# Default: data/templates
|
||||
template.directory = data/templates
|
||||
15
l2jserver2-gameserver/config/properties/vfs.properties
Normal file
15
l2jserver2-gameserver/config/properties/vfs.properties
Normal file
@@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Java7VFSService configuration
|
||||
# ---------------------------------------------------------------------------
|
||||
# Parameters in this file are used by Java7VFSService.
|
||||
# If you are not sure on the usage of any parameter, read the "Configuration"
|
||||
# section in wiki article about "Java7VFSService".
|
||||
# https://github.com/l2jserver2/
|
||||
# ---------------------------------------------------------------------------
|
||||
# NOTE: this is the development configuration file. Always remember to add
|
||||
# new parameters to "dist/config" files too!
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# The root of the VFS, any file placed in "/" will go to specified path.
|
||||
# Defaul: <empty> (will inherit from terminal working directory, if any)
|
||||
vfs.root =
|
||||
Reference in New Issue
Block a user