-- The Forgotten Server Config
-- Account manager
accountManager = true -- Czy Account Manager ma byc w grze True (tak)/ False (nie)
namelockManager = true
newPlayerChooseVoc = false
newPlayerSpawnPosX = 1000 -- Pozycja startowa gracza (pozycja x)
newPlayerSpawnPosY = 1000 -- Pozycja startowa gracza (pozycja y)
newPlayerSpawnPosZ = 7 -- Pozycja startowa gracza (pozycja z)
newPlayerTownId = 1 -- Nie ruszac
newPlayerLevel = 8 -- Lvl poczatkujacego gracza
newPlayerMagicLevel = 0 -- MLvl poczatkujacego gracza
generateAccountNumber = false
-- Unjustified kills
redSkullLength = 2 * 24 * 60 * 60 -- Dlugosc RS
blackSkullLength = 5 * 24 * 60 * 60 -- Dlugosc BS
dailyFragsToRedSkull = 11 -- Ile fragow na dzien do RS
weeklyFragsToRedSkull = 68 -- Ile fragow na tydzien do RS
monthlyFragsToRedSkull = 360 -- Ile fragow na miesiac do RS
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40 -- Ilosc HP gdy ma sie BS
blackSkulledDeathMana = 0 -- Ilosc HP gdy ma sie BS
useBlackSkull = false -- Czy ma byc wlaczone BS True (tak)/ False (nie)
useFragHandler = true
advancedFragList = false
-- Banishments
notationsToBan = 3 -- notatki do bana
warningsToFinalBan = 4 -- warny do bana
warningsToDeletion = 5 -- warny do skasowania hara
banLength = 2 * 24 * 60 * 60 -- dlugosc bana
killsBanLength = 1 * 12 * 60 * 60 -- dlugosc bana za fragi
finalBanLength = 30 * 24 * 60 * 60 -- dlugosc final ban
ipBanishmentLength = 1 * 24 * 60 * 60 -- dlugosc bana na IP
broadcastBanishments = true -- czy ma pisac ze ktos zostal zbanowany True (tak)/ False (nie)
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = false
-- Battle
worldType = "pvp" -- Jaki rodzaj serwa pvp, non-pvp czy pvp-enforced
protectionLevel = 100 -- lvl do jakiego ma byc ochrona gracza
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 60 * 1000
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = true
removeWeaponCharges = true
removeRuneCharges = true
whiteSkullTime = 7 * 60 * 1000 -- Dlugosc White Skull (bialej czaszki)
noDamageToSameLookfeet = false
showHealingDamage = false
showHealingDamageForMonsters = false
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = false
oldConditionAccuracy = false
loginProtectionPeriod = 10 * 1000
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
gainExperienceColor = 215
addManaSpentInPvPZone = true
squareColor = 0
allowFightback = true
-- Connection config
worldId = 0 -- zostawiamy
ip = "xxx" -- nasze IP (tylko liczbowe)
bindOnlyConfiguredIpAddress = false
loginPort = 7171 -- zostawiamy
gamePort = 7172 -- zostawiamy
adminPort = 7171 -- zostawiamy
statusPort = 7171 -- zostawiamy
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 300 -- Max graczy na serwie
motd = "xxx" -- motto serwera (wyswietlane czasem przed zalogowaniem)
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "xxx" -- nazwa serwa
loginMessage = "xxx" -- wiadomosc po zalogowaniu sie
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false
-- Database
sqlType = "mysql" -- ZOSTAWIAMY JEZELI TWORZYMY BAZE DANYCH!!!
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "xxx" -- haslo do bazy danych
sqlDatabase = "serwer" -- nazwa bazy danych
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"
-- Deathlist
deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5
-- Guilds
ingameGuildManagement = true
levelToFormGuild = 8
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60
-- Houses
buyableAndSellableHouses = true -- Wlaczyc kupno domkow True (tak)/ False (nie)
houseNeedPremium = true -- Czy zeby kupic domek potrzebne premium True (tak)/ False (nie)
bedsRequirePremium = true -- Czy potrzebne premium zeby polozyc sie w luzku w domku True (tak)/ False (nie)
levelToBuyHouse = 100 -- od kturego domki
housesPerAccount = 1 -- ile domkow na konto
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 1000
houseRentPeriod = "never"
houseCleanOld = 0
guildHalls = false
-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
hotkeyAimbotEnabled = true
-- Map
mapName = "Evolutions" -- nazwa mapki w data/world
mapAuthor = "Maniucza" -- autor mapki
randomizeTiles = true
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"
-- Process
defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
-- Startup
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false
-- Spells
formulaLevel = 5.0
formulaMagic = 1.0
bufferMutedOnSpellFailure = false
spellNameInsteadOfWords = false
emoteSpells = false
-- Outfits
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
disableOutfitsForPrivilegedPlayers = false
addonsOnlyPremium = true
-- Miscellaneous
dataDirectory = "data/"
bankSystem = true
displaySkillLevelOnAdvance = false
promptExceptionTracerErrorBox = true
separateViplistPerCharacter = false
maximumDoorLevel = 500
maxMessageBuffer = 4
-- Saving-related
saveGlobalStorage = true
useHouseDataStorage = false
storePlayerDirection = false
-- Loot
checkCorpseOwner = true
monsterLootMessage = 3
monsterLootMessageType = 25
-- Ghost mode
ghostModeInvisibleEffect = false
ghostModeSpellEffects = true
-- Limits
idleWarningTime = 14 * 60 * 1000
idleKickTime = 15 * 60 * 1000 -- po ilu minutach kicka (jezeli nic nie robimy)
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0
-- Premium-related
freePremium = false
premiumForPromotion = true
-- Blessings
blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8
-- Rates
experienceStages = true -- czy wlaczyc exp stage (data/XML/stage.xml)
rateExperience = 666666.0 -- ile x exp
rateExperienceFromPlayers = 0 -- ile expa za graczy
rateSkill = 500.0 -- ile skila
rateMagic = 400.0 -- ile m lvl
rateLoot = 8.0 -- jaki lot
rateSpawn = 5 -- jaki spawn
-- Monster rates
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0
-- Experience from players
minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1
-- Stamina
rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true
-- Party
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000
-- Global save
globalSaveEnabled = true -- Czy mamy wlaczyc global sawe True (tak)/ False (nie)
globalSaveHour = 8 -- co ile godzin ma byc global save
shutdownAtGlobalSave = true -- wylaczyc, zresetowac serwer przy globalu True (tak)/ False (nie)
cleanMapAtGlobalSave = false -- zostawiamy ... Niepotrzebne : P
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
-- Summons
maxPlayerSummons = 2
teleportAllSummons = false
teleportPlayerSummons = false
-- Status
ownerName = "xxx" -- Nick GOD'a (oczywiscie chodzi o wlasciciela :))
ownerEmail = "xxx" -- e-mail wlasciciela
url = "xxx" -- strona serwa / acc makera
location = "Europe" -- Jaki kontynent :)
displayGamemastersWithOnlineCommand = false
-- Logs
adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false