Addition of C4 branch.

This commit is contained in:
MobiusDevelopment
2020-06-14 05:43:34 +00:00
parent bf7c04f166
commit 141764df73
16864 changed files with 934319 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# ---------------------------------------------------------------------------
# Daemons settings
# ---------------------------------------------------------------------------
# Preamble:
# Standard set up is possible only two parameters of demons:
# - Pereodichnost run in milliseconds
# - Delay in milliseconds before starting
# Zero or the number of negative values of this trip of a parameter
# For example:
# DeadLockCheck = -1
# Now the demon-stream after completing his tasks will disappear forever.
# ---------------------------------------------------------------------------
# Dead Lock Detector (separate thread for detecting deadlocks)
# ---------------------------------------------------------------------------
# For improved crash logs and automatic restart in deadlock case if enabled.
# Check interval is in seconds.
# Default: 0 (disabled)
DeadLockCheck = 0
DeadLockDelay = 0

View File

@@ -0,0 +1,156 @@
# ---------------------------------------------------------------------------
# Floodprotector Options
# ---------------------------------------------------------------------------
# The following settings can be applied to each feature:
# Interval - interval in gameserver ticks (1 tick = 100ms) in which only one request is allowed
# LogFlooding - whether flooding should be logged (only first ocurrance of flooding and total count of flood requests is logged)
# PunishmentLimit - if number of requests within single interval exceeds specified number then the specified punishment is applied (0 = disables punishment feature)
# PunishmentType - type of the punishment ('none', 'kick', 'ban', 'jail', 'banchat'), valid only if PunishmentLimit is greater than 0
# PunishmentTime - for how many minutes should the player(jail)/account(ban) be punished (0 = forever), valid only for PunishmentType 'jail' or 'ban'
# UseItem - item usage flooding
FloodProtectorUseItemInterval = 0
FloodProtectorUseItemLogFlooding = False
FloodProtectorUseItemPunishmentLimit = 0
FloodProtectorUseItemPunishmentType = none
FloodProtectorUseItemPunishmentTime = 0
# Potion - attempts to Potion usage flooding
FloodProtectorPotionInterval = 4
FloodProtectorPotionLogFlooding = False
FloodProtectorPotionPunishmentLimit = 0
FloodProtectorPotionPunishmentType = none
FloodProtectorPotionPunishmentTime = 0
# RollDice - rolling dice flooding
FloodProtectorRollDiceInterval = 42
FloodProtectorRollDiceLogFlooding = False
FloodProtectorRollDicePunishmentLimit = 0
FloodProtectorRollDicePunishmentType = none
FloodProtectorRollDicePunishmentTime = 0
# Firework - firework flooding
FloodProtectorFireworkInterval = 42
FloodProtectorFireworkLogFlooding = False
FloodProtectorFireworkPunishmentLimit = 0
FloodProtectorFireworkPunishmentType = none
FloodProtectorFireworkPunishmentTime = 0
# ItemPetSummon - item summonning and pet mounting flooding
FloodProtectorItemPetSummonInterval = 16
FloodProtectorItemPetSummonLogFlooding = False
FloodProtectorItemPetSummonPunishmentLimit = 0
FloodProtectorItemPetSummonPunishmentType = none
FloodProtectorItemPetSummonPunishmentTime = 0
# HeroVoice - hero voice flooding
FloodProtectorHeroVoiceInterval = 100
FloodProtectorHeroVoiceLogFlooding = False
FloodProtectorHeroVoicePunishmentLimit = 0
FloodProtectorHeroVoicePunishmentType = none
FloodProtectorHeroVoicePunishmentTime = 0
# GlobalChat - global chat flooding
FloodProtectorGlobalChatInterval = 5
FloodProtectorGlobalChatLogFlooding = False
FloodProtectorGlobalChatPunishmentLimit = 2
FloodProtectorGlobalChatPunishmentType = banchat
FloodProtectorGlobalChatPunishmentTime = 1
# Subclass - subclass flooding
FloodProtectorSubclassInterval = 20
FloodProtectorSubclassLogFlooding = True
FloodProtectorSubclassPunishmentLimit = 5
FloodProtectorSubclassPunishmentType = kick
FloodProtectorSubclassPunishmentTime = 0
# DropItem - drop item flooding
FloodProtectorDropItemInterval = 5
FloodProtectorDropItemLogFlooding = False
FloodProtectorDropItemPunishmentLimit = 0
FloodProtectorDropItemPunishmentType = none
FloodProtectorDropItemPunishmentTime = 0
# ServerBypass - server bypass flooding
FloodProtectorServerBypassInterval = 5
FloodProtectorServerBypassLogFlooding = False
FloodProtectorServerBypassPunishmentLimit = 10
FloodProtectorServerBypassPunishmentType = kick
FloodProtectorServerBypassPunishmentTime = 0
# ServerBypass - multisell list request flooding
FloodProtectorMultiSellInterval = 10
FloodProtectorMultiSellLogFlooding = False
FloodProtectorMultiSellPunishmentLimit = 0
FloodProtectorMultiSellPunishmentType = none
FloodProtectorMultiSellPunishmentTime = 0
# All kind of other transactions - to/from pet, private store, warehouse, destroy
FloodProtectorTransactionInterval = 10
FloodProtectorTransactionLogFlooding = False
FloodProtectorTransactionPunishmentLimit = 10
FloodProtectorTransactionPunishmentType = kick
FloodProtectorTransactionPunishmentTime = 0
# Manufacture
FloodProtectorManufactureInterval = 0
FloodProtectorManufactureLogFlooding = False
FloodProtectorManufacturePunishmentLimit = 0
FloodProtectorManufacturePunishmentType = none
FloodProtectorManufacturePunishmentTime = 0
# Manor
FloodProtectorManorInterval = 30
FloodProtectorManorLogFlooding = False
FloodProtectorManorPunishmentLimit = 0
FloodProtectorManorPunishmentType = none
FloodProtectorManorPunishmentTime = 0
# CharacterSelect - attempts to load character
FloodProtectorCharacterSelectInterval = 30
FloodProtectorCharacterSelectLogFlooding = False
FloodProtectorCharacterSelectPunishmentLimit = 0
FloodProtectorCharacterSelectPunishmentType = none
FloodProtectorCharacterSelectPunishmentTime = 0
# PacketUnknown - attempts to send unknown packets
FloodProtectorUnknownPacketsInterval = 5
FloodProtectorUnknownPacketsLogFlooding = False
FloodProtectorUnknownPacketsPunishmentLimit = 3
FloodProtectorUnknownPacketsPunishmentType = kick
FloodProtectorUnknownPacketsPunishmentTime = 0
# Party Invitation - attempts to invite into party
FloodProtectorPartyInvitationInterval = 5
FloodProtectorPartyInvitationLogFlooding = False
FloodProtectorPartyInvitationPunishmentLimit = 0
FloodProtectorPartyInvitationPunishmentType = none
FloodProtectorPartyInvitationPunishmentTime = 0
# General Say Action (also VoiceCommands) - attempts say something
FloodProtectorSayActionInterval = 5
FloodProtectorSayActionLogFlooding = False
FloodProtectorSayActionPunishmentLimit = 2
FloodProtectorSayActionPunishmentType = banchat
FloodProtectorSayActionPunishmentTime = 1
# Move Action - attempts move to a location
FloodProtectorMoveActionInterval = 1
FloodProtectorMoveActionLogFlooding = False
FloodProtectorMoveActionPunishmentLimit = 0
FloodProtectorMoveActionPunishmentType = none
FloodProtectorMoveActionPunishmentTime = 0
# Generic Action
FloodProtectorGenericActionInterval = 5
FloodProtectorGenericActionLogFlooding = false
FloodProtectorGenericActionPunishmentLimit = 0
FloodProtectorGenericActionPunishmentType = none
FloodProtectorGenericActionPunishmentTime = 0
# Macro - attempts to Macro system
FloodProtectorMacroInterval = 8
FloodProtectorMacroLogFlooding = True
FloodProtectorMacroPunishmentLimit = 6
FloodProtectorMacroPunishmentType = kick
FloodProtectorMacroPunishmentTime = 0

View File

@@ -0,0 +1,48 @@
#=================================#
# Other Settings #
#=================================#
# Checks skills during Enter World, Subclass and Class change.
# If a player is multiskiller or got illegal skill it will be automatically removed.
# IMPORTANT: Put True for server security.
CheckSkillsOnEnter = True
# Check the characters Nick name on login
# IMPORTANT: Put True for server security.
CheckNameOnEnter = True
# On / off protection from re-enchant
# The GMs do not apply
# If a player log with an item Over enchanted he will be banned.
# IMPORTANT: Put True for server security.
ProtectorEnchant = True
# Ban a player if he buys a 0 adena?
# IMPORTANT: Put True for server security.
OnlyGMItemsFree = True
# Ban a player if he teleports to 0 adena?
# IMPORTANT: Put True for server security.
OnlyGMTeleportFree = True
# On / Off exploit protection
# True: exploit protection activated
# False: exploit protection deactivated
# IMPORTANT: Put True for server security.
BypassValidation = True
# Allow players to run multiple windows with a single IP address.
# In the game you can use the command // find_dualbox
AllowDualBox = True
AllowedBoxes = 999
AllowDualBoxInOly = True
AllowDualBoxInEvent = True
#=================================#
# Bot Protection #
#=================================#
# L2Walker Protection
# True: protection from bots ON
# False: protection from bots OFF
L2WalkerProtection = False

View File

@@ -0,0 +1,17 @@
# ---------------------------------------------------------------------------
# Script Engine Settings
# ---------------------------------------------------------------------------
# The parent class loader for isolated script class loaders.
# When this property is not specified, has an invalid value or is a class name which could not be found, the System classloader is used.
# Values: System, ThreadContext or a fully qualified java class name.
classloader=System
# Source compatibility.
source=1.8
# The java sourcepath, when you have a different datapack root, you must change this too.
sourcepath=data/scripts
# The debug informations to generate for compiled class files.
g=source,lines,vars

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../data/xsd/Scripts.xsd">
<!-- Skip these filenames from script loading, because they are already loaded using a different way. -->
<exclude file="package-info.java" />
<!--
With this file you can exclude/include specific folders/files from within the scripts directory.
In order to exclude a folder/file simply add the following line:
<exclude file="{FOLDER/FILE NAME HERE}" />
For example to exclude the quests directory, use:
<exclude file="quests" />
If you want to exclude all files within a directory except certain file(s), you can do it like so:
<exclude file="{FOLDER NAME HERE}">
<include file="{FOLDER/FILE NAME HERE}" />
<include file="{FOLDER/FILE NAME HERE}" />
...
</exclude>
For example to exclude ForgeOfTheGods folder except Valakas script, use:
<exclude file="ForgeOfTheGods">
<include file="Valakas.java" />
</exclude>
-->
</list>

View File

@@ -0,0 +1,35 @@
#=========================#
# Telnet Properties #
#=========================#
# ----------------------------------------------------------------------------------------------------------------------------------
# The defaults are set to be retail-like.
# If you modify any of these settings your server will deviate from being retail-like.
# Warning:
# Please take extreme caution when changing anything.
# Also please understand what you are changing before you do so on a live server.
# ---------------------------------------------------------------------------------------------------------------------------------
# Allows text based monitoring and administration of L2J GS/LS
# by using a telnet client. Communication protocol is insecure
# and you should use SSL tunnels, VPN, etc. if you plan to connect
# over non-trusted channels.
# Default: False
EnableTelnet = False
# This is the port L2J should listen to for incoming telnet
# requests.
# Default: 12345
StatusPort = 12345
# If the following is not set, a random password is generated on server startup.
# Usage: StatusPW = somePass
# This list can contain IPs or Hosts of clients you wish to allow. Hostnames must be resolvable to an IP.
# Example: 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# Make sure that the link between the address / hosts no spaces
ListOfHosts = 127.0.0.1,localhost
# On / off the generation of complex passwords
SuperPass = False
# Size-generated password
LengthPass = 10