# 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://balancer.ru/forums # # * = 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 !!! # ================================================================ # Bind ip of the gameserver, use * to bind on all available IPs GameserverHostname=192.168.0.254 GameserverPort=7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname=192.168.0.254 # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname InternalHostname=192.168.0.254 AdvIPSystem = False # Bind ip of the loginserver, use * to bind on all available IPs LoginserverHostname=192.168.0.254 LoginserverPort=2106 LoginTryBeforeBan=20 # The Loginserver host and port LoginPort=9014 LoginHost=192.168.0.254 # This is the server id that the gameserver will request (i.e. 0 is Bartz) RequestServerID = 0 # If set to true, the login will give an other id to the server if the requested id is allready reserved AcceptAlternateID = True # Database info Driver=com.mysql.jdbc.Driver #Driver=org.hsqldb.jdbcDriver URL=jdbc:mysql://localhost/l2jdb #URL=jdbc:hsqldb:hsql://localhost/l2jdb Login=root Password=556966 MaximumDbConnections=10 # Custom database option # lazy item update (time in millisec) # Default: False LazyItemUpdate = False LazyItemUpdateTime = 60000 LazyItemUpdateForStackableOnly = True # Datapack root directory, defaults to current directory from which the server is started #DatapackRoot = C:/Work/tmp/DataPackC3 # Define various player-typable name templates # These ones are regular expressions, visit http://www.regular-expressions.info for details # NOTE1: Generally checking lengths are done here, so pay them attention in templates # NOTE2: Make sure you're know what are you doing before changing these from defaults ;) # Character name CnameTemplate=[A-Za-z0-9\-]{3,16} # Clan name ClanNameTemplate=[A-Za-z0-9 \-]{3,16} # Clan title ClanTitleTemplate=[A-Za-z0-9 \[\]\(\)\<\>\|\!]{3,16} # Ally name AllyNameTemplate=[A-Za-z0-9 \-]{3,16} # Define how many players are allowed to play simultaneously on your server. MaximumOnlineUsers=300 # ============================================================== # Test server setting, shoudnt be touched in online game server # ============================================================== Debug = False Assert = False Developer = False ExperimentalBroadcast = False # if true the server will be a test server (listed by clients setted up to list testserver) TestServer = False # ================================================================= # Additional server setting, not required, can be left at defaults # ================================================================= # Setting for serverList # Displays [] in front of server name ServerListBrackets = False # Displays a clock next to the server name ServerListClock = False # If true, the server will be set as gm only at startup ServerGMOnly = False # Minimum and maximum protocol revision that server allow to connect. # You must keep MinProtocolRevision <= MaxProtocolRevision. MinProtocolRevision = 660 MaxProtocolRevision = 660 # Rate control, float values RateXp = 50. RateSp = 50. RateDropAdena = 50. RateDropItems = 30. RateDropSpoil = 30. RateQuestsReward = 1. RateDropEquipment = 1 RateRaidRegenHp = 500 RateRaidRegenMp = 500 ApplyRatesOnRBs = False # Player Drop Rate control, values are the percent values PlayerRateDrop = 5 PlayerRateDropItem = 70 PlayerRateDropEquip = 25 PlayerRateDropEquipWeapon = 5 # Max items quantity to drop for non-PK players in death PlayerMaxDropItems = 3 # delete from world dropped reward items after n seconds. 0 - disabled AutoDestroyDroppedItemAfter = 0 # If you are experiencing problems with Warehouse or Freight transactions, # feel free to disable them here. (They are both enabled by default). AllowWarehouse = True AllowFreight = True # Allow players to drop items on the ground AllowDiscardItem = True # If next switch set to true every created character will have access level 200. EverybodyHasAdminRights = False # Allow L2Walker client (Default False) # Can be True, False, Peace # Peace означает что бот разрешен только в пределах peace зон, удобно для разрешения трейд ботов (рекомендуется установить L2WalkerPunishment = 1) AllowL2Walker = False # Если бот разрешен - разрешать ли ему использовать крафт AllowCraftBot = True MaxL2WalkerLevel = 19 # Punishment if account using l2walker and is not GM, AllowL2Walker = False # 0 - none # 1 - kick # 2 - ban L2WalkerPunishment = 0 BugUserPunishment = 2 IllegalActionPunishment = 1 # Activate the position recorder # valid 3D points will be recorded and written to data/universe.txt on shutdown ActivatePositionRecorder = False #Global/Trade Chat usablitly - ON, OFF, GM GlobalChat=ON # Logging ChatWindow LogChat = True LogItems = False SqlLog = False # Filter mats in chat.Timer_to_UnBan - time bannet in minuts. MAT_BANCHAT = False Timer_to_UnBan = 5 # Filter mats for global channel (except clan, party, tell) MAT_BANCHATG = False # show level of character to others in Community Board AllowCommunityBoard = True ShowLevelOnCommunityBoard = False ShowStatusOnCommunityBoard = True # Maximum range mobs can randomly go from spawn point MaxDriftRange = 200 # Maximum range mobs can pursue agressor from spawn point MaxPursueRange = 10000 # Minimum and maximum variable in seconds for npc animation delay. # You must keep MinNPCAnimation <= MaxNPCAnimation. # "0" is default value. MinNPCAnimation = 0 MaxNPCAnimation = 0 # You can choose NPC name either of client side one or server side one. # Client side NPC name is useful for non english client. # You can overwrite client side NPC name if you choose server side NPC name. # Client side name is default value. ServerSideNpcName = False # Show L2Monster level and aggro, ServerSideNpcName must be enabled ServerSideNpcNameWithLvl = False AutoDeleteInvalidQuestData = False # Day/Night Status # Hours are from 0 - 23 DayStatusSunRiseAt = 6 DayStatusSunSetAt = 18 # Forces the client to change their day and night status DayStatusForceClientUpdate = True ThreadPoolSizeEffects = 6 ThreadPoolSizeGeneral = 12 PacketMaxThread = 10 AiMaxThread = 10 GeneralMaxThread = 10 EnableTranslitEngine = False # Allow delete chars after nnn days, 0 - feature disabled DeleteCharAfterDays = 7 # National languages: if true and national lang file is older that english, english 'll be used checkLangFilesModify = False # Corpse mob unspawn time (default 8500ms, max 8500ms) CorpseMobTime = 5000 # output chat and log for telnet connection # (in telnet you must use log_tell and log_chat options) LogTelnet = True # AutoRestart period, hours # Default 4 AutoRestart = 4 # Cache .htm files useFileCache = True #Integrated webserver setting WebServerPort = 7778 WebServerRoot = ./data/webserver # Hide GM status when use /gmlist or use CommunityBoard HideGMStatus = True # Show message when GM Login and GM will not invis/silence as default ShowGMLogin = False # Верим или нет клиентским координатам. Если не верим - возможны рывки при перемещении. trustToClientCoords = True # Disable Create items by Id. Example 57,4037 DisableCreateItems=4037 #log multisell LogMultisellId=65535,65536 #extended log gm actions ExtendedLogGMActions=true # Движок взаимных столкновений персонажей. По умолчанию включен. CollisionEngine = true # Параметр, от которого может сильно зависеть быстродействие сервера на большой нагрузке. # Сейчас, от фонаря, он по умолчанию = 8. Но может принимать любые разумные значения (скажем, от 1 до 8000) # Требуется найти оптимальное значение. (Примечание: чем ближе к единице, тем больше расход памяти!) LinearCellSize = 8 # Аналогичный параметр на размер сектора территории. По умолчанию - 32. LinearTerritoryCellSize = 32 # Максимальное количество обьектов в мире MaxObjectsInWorld = 100000