All pastes #16580 Raw Edit

Server.cfg

public text v1 · immutable
#16580 ·published 2005-06-30 23:17 UTC
rendered paste body
# 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

# ===================================================================================================



# 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=24.254.250.32



# 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.100





# Bind ip of the loginserver, use * to bind on all available IPs

LoginserverHostname=*



# 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=

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=100



#Global/Trade Chat usablitly - ON, OFF, GM

GlobalChat=GM



#AutoLoot enable... True to enable, False to disable

AutoLoot = false



Debug = false

Assert = false

Developer = false

EverybodyHasAdminRights = false



# If XP loss (and deleveling) is enabled, default is 'true'

Delevel = true



# Alternative crafting rules:

# - crafting takes time

# - players get EXP/SP for crafting

AltGameCreation = true



# 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



# Spell Book needed to learn skills

SpBookNeeded = true



#Logging ChatWindow

LogChat = true



#Configure GM AccessLevels

GMAccessLevel = 100

GMMinLevel = 100

GMCanAnnounce = 100

GMCanBan = 100

GMCanShop = 100

GMCanDelete = 100

GMCanKick = 100

GMMenu = 100

GMGodMode = 100

GMCanEditChar = 100

GMCanEditNPC = 100

GMCanTeleport = 100

GMCanRestart = 100

GMMonsterRace = 100

GMRider = 100

GMFastUnstuck = 100

GMResurectFixed = 100



# Rate control, float values

RateXp = 3.

RateSp = 3.

RateDropAdena = 5.

RateDropItems = 5.

RateDropSpoil = 5.



# 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



# Warehouse is disabled until dupe bugs are fixed.

# If you wish to still use them then set this to True

AllowWarehouse   = True



# movement speed for strider and wyvern

WyvernSpeed = 400

StriderSpeed = 250