Dropped MMOCore.

This commit is contained in:
MobiusDevelopment
2021-04-13 09:22:54 +00:00
parent 46ae40bd54
commit 5d89a8ad18
1202 changed files with 23827 additions and 22497 deletions

View File

@@ -0,0 +1,133 @@
# ---------------------------------------------------------------------------
# Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# Bind ip of the LoginServer, use 0.0.0.0 to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 0.0.0.0
LoginserverHostname = 0.0.0.0
# Default: 2106
LoginserverPort = 2106
# The address on which login will listen for GameServers, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1
LoginHostname = 127.0.0.1
# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014
# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
# Specify the appropriate driver and url for your database.
# Default: org.mariadb.jdbc.Driver
Driver = org.mariadb.jdbc.Driver
# Database URL
# Default: jdbc:mariadb://localhost/l2jmobiusc6?useUnicode=true&characterEncoding=utf-8&useSSL=false
URL = jdbc:mariadb://localhost/l2jmobiusc6?useUnicode=true&characterEncoding=utf-8&useSSL=false
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password =
# Default: 5
MaximumDbConnections = 5
# ---------------------------------------------------------------------------
# Automatic Database Backup Settings
# ---------------------------------------------------------------------------
# Generate database backups when server restarts or shuts down.
BackupDatabase = False
# Path to MySQL bin folder. Only necessary on Windows.
MySqlBinLocation = C:/xampp/mysql/bin/
# Path where MySQL backups are stored.
BackupPath = ../backup/
# Maximum number of days that backups will be kept.
# Old backups will be deleted.
# Set to 0 to disable.
BackupDays = 30
# ---------------------------------------------------------------------------
# Security
# ---------------------------------------------------------------------------
# How many times you can provide an invalid account/pass before the IP gets banned.
# Default: 5
LoginTryBeforeBan = 5
# Time you won't be able to login back again after LoginTryBeforeBan tries to login.
# Default: 900 (15 minutes)
LoginBlockAfterBan = 900
# If set to True any GameServer can register on your login's free slots
# Default: True
AcceptNewGameServer = True
# Flood Protection. All values are in milliseconds.
# Default: True
EnableFloodProtection = True
# Default: 15
FastConnectionLimit = 15
# Default: 700
NormalConnectionTime = 700
# Default: 350
FastConnectionTime = 350
# Default: 50
MaxConnectionPerIP = 50
# ---------------------------------------------------------------------------
# Misc Login Settings
# ---------------------------------------------------------------------------
# If False, the license (after the login) will not be shown.
# Default: True
ShowLicence = True
# Default: True
AutoCreateAccounts = True
# Datapack root directory.
# Defaults to current directory from which the server is started.
DatapackRoot = .
# ---------------------------------------------------------------------------
# Scheduled Login Restart
# ---------------------------------------------------------------------------
# Enable disable scheduled login restart.
# Default: False
LoginRestartSchedule = False
# Time in hours.
# Default: 24
LoginRestartTime = 24

View File

@@ -1,146 +0,0 @@
# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http://l2jmobius.org
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ===================================================================================================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname = 127.0.0.1
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname = 127.0.0.1
# Bind ip of the loginServer, use * to bind on all available IPs
LoginserverHostname = *
LoginserverPort = 2106
# How many times you can provide an invalid account/pass before the IP gets banned
LoginTryBeforeBan = 20
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
LoginBlockAfterBan = 600
GMMinLevel = 100
# The address on which login will listen for GameServers, use * to bind on all available IPs
LoginHostname = 127.0.0.1
# The port on which login will listen for GameServers
LoginPort = 9014
# If set to True any GameServer can register on your login's free slots
AcceptNewGameServer = False
# If False, the licence (after the login) will not be shown
# It is highly recomended for Account Seciurity to leave this option as defalut (True)
ShowLicence = True
# Specify the appropriate driver and url for your database.
# Default: org.mariadb.jdbc.Driver
Driver = org.mariadb.jdbc.Driver
# Database URL
# Default: jdbc:mariadb://localhost/l2jmobiusc6?useUnicode=true&characterEncoding=utf-8&useSSL=false
URL = jdbc:mariadb://localhost/l2jmobiusc6?useUnicode=true&characterEncoding=utf-8&useSSL=false
# Parameters Databases - MYSQL
# Login - Mysql user
Login = root
# Password - Mysql Password
Password =
# maximum number of simultaneous connecting to the database
MaximumDbConnections = 10
# ---------------------------------------------------------------------------
# Automatic Database Backup Settings
# ---------------------------------------------------------------------------
# Generate database backups when server restarts or shuts down.
BackupDatabase = False
# Path to MySQL bin folder. Only necessary on Windows.
MySqlBinLocation = C:/xampp/mysql/bin/
# Path where MySQL backups are stored.
BackupPath = ../backup/
# Maximum number of days that backups will be kept.
# Old backups will be deleted.
# Set to 0 to disable.
BackupDays = 30
# Limit fast connections (input username / password)
FastConnectionLimit = 15
# Time of the normal connection (in ms)
NormalConnectionTime = 700
# Time fast connection (in ms)
FastConnectionTime = 350
# Maximum connections with the 1st IP
MaxConnectionPerIP = 50
# The lifetime of the session with the login server.
SessionTTL = 25000
MaxSessions = 100
# Choose the option: "true", to create an account when logging in automatically
AutoCreateAccounts = True
# Time to renew the IP address of the server in minutes (for dynamic IP)
IpUpdateTime = 0
# The configuration of the local subnet
# Example : 192.168
# Ppimer : 10.1
NetworkList = 192.168.;10.0.
# ---------------------------------------------------------------------------
# Test server configuration, not to switch on the game server!
# ---------------------------------------------------------------------------
# Use the GG client authentication
# Login server access let the client without GameGuard
ForceGGAuth = False
# Including protection from flood
# IMPORTANT: Put True for server security.
EnableFloodProtection = True
# ---------------------------------------------------------------------------
# Anti Bruteforce protection. (credits RT-Interlude)
# ---------------------------------------------------------------------------
# Count of trying connection to server, after which will be made checking IP address
# for a possible BrutForce
# Reducing this value will increase the likelihood of false positives
# Increasing this value will reduce the effectiveness of security (more chance find passwords for large accounts)
BrutLogonAttempts = 15
# The average time (in seconds) between attempts to connect to the server
# Reducing this value will increase the likelihood of false positives
# Increasing this value will reduce the effectiveness of security (more chance find passwords for large accounts)
BrutAvgTime = 30
# Number of second, for ban IP address, who time BrutAvgTime less specified
# 900 second = 15 minute
BrutBanIpTime = 900
# ---------------------------------------------------------------------------
# Scheduled Login Restart
# ---------------------------------------------------------------------------
# Enable disable scheduled login restart.
# Default: False
LoginRestartSchedule = False
# Time in hours.
# Default: 24
LoginRestartTime = 24

View File

@@ -1,18 +0,0 @@
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="servers_list">
<xs:complexType>
<xs:sequence>
<xs:element name="server" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:byte" name="id" use="optional"/>
<xs:attribute type="xs:string" name="name" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -1,128 +0,0 @@
#=========================================#
# MMOCore Connection Settings #
#=========================================#
# ---------------------------- #
# Debug and Develop logging #
# ---------------------------- #
EnableMMOCoreDebug = False
EnableMMOCoreDevelop = False
EnableMMOCoreExceptions = False
PacketHandlerDebug = False
# ----------------------------
# Config BackLog
# ----------------------------
# Maximum length of request.
# The maximum length for incoming requests (connection request).
# Maximum number of requests, after which the requests
# Will not be accepted.
# The default is 50
# Must be equal to the estimated number of players.
# Example: Players in the game 1000 +, NetworkBackLog = 1000
# NetworkBackLog = 50
# ----------------
# Set TOS
# ----------------
# Set the traffic going to a particular socket.
# Can be ignored JAVA-machine.
# Range: 0 <= tc <= 255 or a ban happens.
# Note:
# To TCP4 should be set high priority and should be RFC 1349.
# You can also create a type priorities bit, example:
# IPTOS_LOWCOST (0x02)
# IPTOS_RELIABILITY (0x04)
# IPTOS_THROUGHPUT (0x08)
# IPTOS_LOWDELAY (0x10)
# The lowest bit is ignored (0).
# Set bits in the priority may cause the collapse of the server.
# depends on the service and platform.
# Note:
# Applications can not change GameServer after connecting.
# To TCP6 value can be found in the header sin6_flowinfo.
# NetworkIpTOS = 0
# ---------------------------------------
# Setting TCP_NODELAY
# ---------------------------------------
# On / Off TCP_NODELAY
#NetworkTcpNoDelay = False
# -------------------------------
# Setting KeepAlive
# -------------------------------
# On / Off SO_KEEPALIVE
#NetworkKeepAlive = False
# ------------------------
# Set a timeout
# ------------------------
# Set a timeout in milliseconds.
# If set to 0, the timeout will be standard.
# Timeout must be greater than 0.
# Zero timeout is defined as an infinite timeout.
#NetworkSoTimeOut = 0
# ---------------------------------------------------
# Configure repetitions Adresses
# ---------------------------------------------------
# On / Off option.
# If the connection is closed, then turn timeout.
#NetworkSoReuseAddr = True
# --------------------------------------
# Set buffer compounds
# --------------------------------------
# Buffer size in kbit (kilobits)
# By default (Windows) - 64KBits
# Default (* nix) - 128KBits
#NetworkReadBufferSize = 64
#NetworkWriteBufferSize = 64
#NetworkHelperBufferSize = 64
# The size of the auxiliary buffer
#NetworkHelperBufferCount = 20
# --------------------------
# Client Queue Configuration
# --------------------------
# Queue size, do not set it too low !
# Default: 14
ClientPacketQueueSize = 14
# Maximum number of packets in burst.
# Execution will be aborted and thread released if more packets executed in raw.
# Default: 50
ClientPacketQueueMaxBurstSize = 50
# Maximum number of packets per second.
# Flood detector will be triggered if more packets received.
# After triggering all incoming packets will be dropped until flooding stopped.
# Default: 80
ClientPacketQueueMaxPacketsPerSecond = 80
# Average number of packets per second calculated during this interval.
# Using larger value decrease number of false kicks, but slower reaction to flood.
# Avoid using too low or too high values, recommended between 3 and 10.
# Default: 5
ClientPacketQueueMeasureInterval = 5
# Maximum average number of packets per second during measure interval.
# Flood detector will be triggered if more packets received.
# After triggering all incoming packets will be dropped until flooding stopped.
# Default: 40
ClientPacketQueueMaxAveragePacketsPerSecond = 40
# Maximum number of flood triggers per minute.
# Client will be kicked if more floods detected.
# Default: 2
ClientPacketQueueMaxFloodPerMin = 6
# Maximum number of queue overflows per minute.
# After overflow all incoming packets from client are dropped until queue is flushed.
# Client will be kicked if more queue overflows detected.
# Default: 50
ClientPacketQueueOverflowsPerMin = 50
# Maximum number of buffer underflows per minute.
# Client will be kicked if more underflow exceptions detected.
# Default: 1
ClientPacketQueueUnderflowsPerMin = 1
# Maximum number of unknown packets per minute.
# Client will be kicked if more unknown packets received.
# Default: 5
ClientPacketQueueUnknownPerMin = 5

View File

@@ -1,4 +1,4 @@
<?xml version='1.0' encoding='utf-8'?>
<?xml version="1.0" encoding="UTF-8"?>
<servers_list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="servername.xsd">
<!-- server list from c3 (only English names) -->
<server id="1" name="Bartz" />

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="servers_list">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="server" minOccurs="127" maxOccurs="127">
<xs:complexType>
<xs:attribute name="id" use="required">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="127" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xs:normalizedString" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>