# 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://l2j.sourceforge.net # # * = 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=* 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=denied.kicks-ass.net # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname InternalHostname=192.168.1.103 # Bind ip of the loginserver, use * to bind on all available IPs LoginserverHostname=* LoginserverPort=2106 LoginTryBeforeBan=20 # Database info Driver=com.mysql.jdbc.Driver #Driver=org.hsqldb.jdbcDriver URL=jdbc:mysql://127.0.0.1/l2jdb #URL=jdbc:hsqldb:hsql://127.0.0.1/l2jdb Login=l2jdb Password=l2jdb MaximumDbConnections=5 #Datapack root directory, defaults to current directory from which the server is started #DatapackRoot = C:/Work/tmp/DataPackC3 # Useable values: "true" - "false", use this option to choose whether accounts will be created # automatically or not. If not, you have to put it in the logins.txt in the data folder AutoCreateAccounts=True # Define how many players are allowed to play simultaneously on your server. MaximumOnlineUsers=10 # ============================================================== # Test server setting, shoudnt be touched in online game server # ============================================================== Debug = False Assert = False Developer = False # ================================================================= # Additional server setting, not required, can be left at defaults # ================================================================= # Minimum and maximum protocol revision that server allow to connect. # You must keep MinProtocolRevision <= MaxProtocolRevision. MinProtocolRevision = 551 MaxProtocolRevision = 555 # Rate control, float values RateXp = 150. RateSp = 150. RateDropAdena = 350. RateDropItems = 5. RateDropSpoil = 50. RateQuestsReward = 50. RateDropEquipment = 5 #Amount of adena that a new character is given StartingAdena = 0 #AutoLoot enable... True to enable, False to disable AutoLoot = True # If XP loss (and deleveling) is enabled, default is 'true' Delevel = True # Spell Book needed to learn skills SpBookNeeded = False #Crafting enabled/disabled. On by default CraftingEnabled = True # Warehouse is disabled until dupe bugs are fixed. # If you wish to still use them then set this to True AllowWarehouse = True # If next switch set to true every created character will have access level 200. EverybodyHasAdminRights = False # Configure GM AccessLevels GMAccessLevel = 10 GMMinLevel = 10 GMCanAnnounce = 10 GMCanBan = 100 GMCanShop = 100 GMCanDelete = 100 GMCanKick = 10 GMMenu = 10 GMGodMode = 10 GMCanEditChar = 100 GMCanEditNPC = 100 GMCanTeleport = 10 GMCanRestart = 100 GMMonsterRace = 100 GMRider = 10 GMFastUnstuck = 10 GMResurectFixed = 100 GMUseForth = 10 GMDoor = 10 GMRes = 10 GMPeaceAttack = 10 GMHeal = 100 # Allow L2Walker client (Deafult False) # Can be True, False, GM # Note: L2Walker AllowL2Walker = GM L2WalkerRevision = 552 # 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 # show level of character to others in Community Board ShowLevelOnCommunityBoard = False # Maximum range mobs can randomly go from spawn point MaxDriftRange = 300 # movement speed for strider and wyvern WyvernSpeed = 150 StriderSpeed = 100 # 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 # If True, when effects of the same stack group are used, lesser # effects will be canceled if stronger effects are used. New effects # that are added will be canceled if they are of lesser priority to the old one. # If False, they will not be canceled, and it will switch to them after the # stronger one runs out, if the lesser one is still in effect. CancelLesserEffect = True # If you wish to disable the use of guards agains agressive monsters. # Default is False. AllowGuards = False # Allows selection of new Classes for storage of World Objects. # This may help servers with large amounts of players recieving error # messages related to the L2ObjectHashMap and L2ObejctHashSet classes. # # By default it uses the old method, to use the new classes remove the # comment at the front of each line. #L2Map = WorldObjectMap #L2Set = WorldObjectSet # If True, the following deep blue mobs' drop penalties will be applied: # - When player's level is 9 times greater than mob's level, drops got divided by 3 # - After 9 lvl's of difference between player and deep blue mobs, drop chance is # lowered by 9% each lvl that difference increases. (9lvls diff = -9%; 10lvls diff = -18%; ...) # NOTE1: These rules are applied to both normal and sweep drops # NOTE2: These rules ignores the server's rate when drop is of adena type (Complies with retail server) UseDeepBlueDropRules = True # SPOIL RATES CanSpoilLowerLevelMobs = False MaximumPlayerAndMobLevelDifference = 9 BasePercentChanceOfSpoilSuccess = 78 MinimumPercentChanceOfSpoilSuccess = 1 CanDelevelToSpoil = True # ---- # SpoilLevelDifferenceLimit = this is the maximum level difference between player and spoil level to allow before decreasing spoil chance. SpoilLevelDifferenceLimit = 10 # ---- # LastLevelSpoilIsLearned = This means that if the player level is above LastLevelSpoilIsLearned, it will be assumed that the player level is LastLevelSpoilIsLearned for calculations on success rate # 72 = spoil lvl 11 (c3) LastLevelSpoilIsLearned = 72 # ---- # Inventory space limits (note that client will still show only a maximum of 80 slots regardless) MaximumSlotsForNormalPlayer = 80 MaximumSlotsForGMPlayer = 250 # % Chance of succeding to enchant an item when it has a chance of breaking EnchantChance = 60 # Tell server which IDFactory Class to use # Options are: # Compaction (default), # BitSet (One non compaction method), # Stack (Another non compaction method) IDFactory = Compaction # Check for bad ids in the database on server boot up # Much faster load time without it, but may cause problems BadIdChecking = True #% regeneration of normal regeneration speed HpRegenMultiplier=100 MpRegenMultiplier=100 CpRegenMultiplier=100 # ================================================================== # -- KARMA VARS -- # ================================================================== # Karma gain/loss MinKarma = 240 MaxKarma = 10000 # the number to divide the xp recieved by, to calculate karma lost on xp gain XPDivider = 1000 # Used as a base in calculation of karma lost on death BaseKarmaLost = 240 # Equipment loss DroppableEquipment = True DroppableWeapon = True DroppablePets = True CanGMDropEquipment = False # NOTE: Make sure the lists do NOT CONTAIN trailing spaces or spaces between the numbers! # List of pet items we cannot drop, if DroppablePets set to false ListOfPetItems = 3500,3501,3502,4422,4423,4424,2375 # Lists of items which should NEVER be dropped (note, adena will never be dropped) whether on this list or not ListOfNonDroppableItems = 57,1147,425,1146,461,10,2368,7,6,2370,2369 # all chances of drops are in percent ChanceOfDropMinimum = 1 ChanceOfDropInitial = 40 # after initial check, equipped items have ChanceOfDropEquipped% chance to drop ChanceOfDropEquipped = 10 # after ChanceOfDropEquipped check, equipped weapons/items have # ChanceOfDropEquippedWeapon% and ChanceOfDropEquippedItem% chance to drop ChanceOfDropEquippedWeapon = 10 ChanceOfDropEquippedItem = 80 # after initial check, unequipped items have ChanceOfDropUnequipped% chance to drop ChanceOfDropUnequipped = 70 # item drop related min/max MaxItemsDroppable = 10 MinimumPKRequiredToDrop = 5 MaxDropThrowDistance = 70 # a constant used in calculating the percent chance of gear dropping # dropMultiplier = (playerKarma / DropConstant) * RateDropEquipment; # dropMultiplier is then multiplied with ChanceOfDropInitial DropConstant = 10000 # Should we award a pvp point for killing a player with karma? AwardPKKillPVPPoint = True # Length one stays in PvP mode after hitting an inocent (in ms) PvPTime = 15000 # ================================================================== # Alternate rules setting, to thoose who don't like official rules # ================================================================== # Allow use Event Managers for change occupation # If you need change occupation only use quest then set this to False # Default = False AllowClassMasters = True # Alternative crafting rules: # - crafting takes time # - players get EXP/SP for crafting AltGameCreation = False # Alternative skill learn rules: # - all classes can learn all skills # - skills of another class costs x2 SP # - skills of another race costs x2 SP # - skills of fighters/mages costs x3 SP AltGameSkillLearn = False # Alternative cancel of attack (bow, cast, all) AltGameCancelByHit = cast # Alternative rules for shields - if they block, the damage is powerAtk-shieldDef, # otherwice it's powerAttak / (shieldDef + powerDef) AltShieldBlocks = False # Alternative AltGameMobAttackAI, like C1 AltGameMobAttackAI = False # Alternative success rate formulas for skills such Sleep/Root/Stun/Dagger ones, AltGameSkillFormulas = False # Alternative Xp/Sp rewards, if not 0, then calculated as 2^((mob.level-player.level) / coef), # A few examples for "AltGameExponentXp = 5." and "AltGameExponentSp = 3." # diff = 0 (player and mob has the same level), XP bonus rate = 1, SP bonus rate = 1 # diff = 3 (mob is 3 levels above), XP bonus rate = 1.52, SP bonus rate = 2 # diff = 5 (mob is 5 levels above), XP bonus rate = 2, SP bonus rate = 3.17 # diff = -8 (mob is 8 levels below), XP bonus rate = 0.4, SP bonus rate = 0.16 #AltGameExponentXp = 0 #AltGameExponentSp = 0 AltGameExponentXp = 0 AltGameExponentSp = 0 # Use tiredness (instead of combat points) AltGameTiredness = False