-- The Forgotten Server Config
-- Account manager
accountManager = "yes"
namelockManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 1000
newPlayerSpawnPosY = 1000
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = "no"
-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 5
maxViolationCommentSize = 200
-- Battle
-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.
-- deathLostPercent set to nil enables manual mode.
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 25
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 3
pzLocked = 60 * 1000
criticalHitChance = 4
displayCriticalHitNotify = "yes"
removeWeaponAmmunition = "yes"
removeWeaponCharges = "yes"
removeRuneCharges = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
showHealingDamage = "yes"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "yes"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10
deathLostPercent = 10
-- Connection config
worldId = 0
ip = "***.**.**.**"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "..."
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "danGer"
loginMessage = "Bem vindo ao danGer Server! [Comunidade: http://www.orkut.com.br/Community.aspx?cmm=67036573] - [BOTs e MCs não serão tolerados.]"
adminLogsEnabled = "yes"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "****"
sqlPass = "****"
sqlDatabase = "****"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
mysqlReadTimeout = 10
optimizeDatabaseAtStartup = "yes"
passwordType = "plain"
-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 10
-- Guilds
ingameGuildManagement = "yes"
levelToFormGuild = 8
guildNameMinLength = 4
guildNameMaxLength = 20
-- Highscores
highscoreDisplayPlayers = 25
updateHighscoresAfterMinutes = 30
-- Houses
buyableAndSellableHouses = "yes"
housesPerAccount = 0
levelToBuyHouse = 50
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSQM = 5000
houseRentPeriod = "never"
-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
-- Map
-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
-- useHouseDataStorage usage may be found at README.
mapName = "danger"
mapAuthor = "Atentador"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
-- Miscellaneous
-- NOTE: defaultPriority works only on Windows
-- promptExceptionTracerErrorBox works only with precompiled support feature,
-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
defaultPriority = "high"
maxMessageBuffer = 4
kickIdlePlayerAfterMinutes = 10
allowChangeOutfit = "yes"
allowChangeColors = "yes"
disableOutfitsForPrivilegedPlayers = "no"
displayGamemastersWithOnlineCommand = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "yes"
spellNameInsteadOfWords = "no"
emoteSpells = "no"
expireReportsAfterReads = 1
promptExceptionTracerErrorBox = "yes"
-- Premium account
freePremium = "no"
removePremiumOnInit = "yes"
premiumForPromotion = "yes"
blessingsOnlyPremium = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
rateExperience = 25.0
rateSkill = 17.0
rateMagic = 14.0
rateLoot = 1
rateSpawn = 1
experienceStages = "yes"
-- Party
-- NOTE experienceShareLevelDifference is float number.
-- 0.66666666666667 is highestLevel * 2 / 3
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 0.66666666666667
extraPartyExperienceLimit = 40
extraPartyExperiencePercent = 10
-- Global save
-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system please check out data/globalevents/globalevents.xml.
globalSaveEnabled = "no"
globalSaveHour = 8
shutdownAtGlobalSave = "yes"
cleanMapAtGlobalSave = "no"
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"
-- Status
ownerName = ""
ownerEmail = "@otland.net"
url = "http://otland.net/"
location = "Europe"
-- Logs
-- NOTE: This kind of logging does not work in GUI version.
-- For such, please compile the software with __GUI_LOGS__ flag.
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = "no"