Ir para conteúdo
  • Cadastre-se

Como configurar este CONFIG.LUA


Posts Recomendados

To com duvidas em configurar este config.lua da versao 7.72

 

  Mostrar conteúdo oculto

--- DIRECTORY PATH ---



DataDir = "data/"


--- BANS ---

NotationsToBan = 3
WarningsToFinalBan = 4
WarningsToDeletion = 5
BanLength = 7 * 24 * 60 * 60
FinalBanLength = 7 * 24 * 60 * 60
IPBanishmentLength = 24 * 60 * 60
KillsToBan = 5

--- COMBAT ---

-- world type
-- options: pvp, no-pvp, pvp-enforced
WorldType = "pvp"

-- exhausted time in ms (1000 = 1 second) for yelling
Exhausted = 3000

-- exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
FightExhausted = 0

-- exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
HealExhausted = 0

-- how many ms to add if the player is already exhausted and tries to yell (1000 = 1 second)
ExhaustedAdd = 0

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
PZLock = 60000

-- how long a field belongs to a player before it no longer causes PZ lock for the owner
FieldOwnershipDuration = 5000

-- in mili seconds
TimeToDecreaseFrags = 6 * 60 * 60 * 1000

-- Time white skull will remain after killing a player, in minutes
WhiteSkullTime = 15

-- amount of kills that leads to red skull
KillsToRedSkull = 3

-- Remove ammunition
-- If false, ammunition will not be removed when using distance weapons
-- (or other weapons that use ammunition)
RemoveAmmunition = true

-- Remove rune charges
-- This only applies to runes done using the default functions.
-- Custom runes made using actions will not be affected.
RemoveRuneCharges = true

-- Remove weapon charges
-- Set to false to disable charges disappearing from weapons on use
RemoveWeaponCharges = true

---- CONNECTION ----
WorldID = 1 --//Used in GOD(NPC) to clear out houses
WORLNAME = "one" --For the database _antica, etc

-- World connections --
WORLD1IP = "127.0.0.1" --Antica
-- -D__SKULL_SYSTEM__

WORLD2IP = "127.0.0.1" --Berlia
-- -D__NO_SKULL_SYSTEM__

WORLD3IP = "127.0.0.1" --Candia(not in use yet)

---------------------
-- This servers ip, must be set to connect to the "login server system"
IP = "127.0.0.1"
Port = "7171"
--//DDOS-Death--
PING_HOST = ""


-- how many logins attempts until ip is temporary disabled
-- set to 0 to disable
LoginTries = 5

-- how long the retry timeout until a new login can be made (without disabling the ip)
RetryTimeout = 5000

-- how long the player need to wait until the ip is allowed again
LoginTimeout = 60 * 1000

-- allow clones (multiple logins of the same char)
AllowClones = false

-- only one player online per account
CheckAccounts = false

---- DATABASE ----

-- SQL type
-- options: mysql, sqlite, odbc or pgsql
SQL_Type = "mysql"

--- SQL connection part
SQL_DB = "test"

-- these settings are not used by SQLite
SQL_Host = "127.0.0.1"
SQL_Port = 3306
SQL_User = "root"
SQL_Pass = "xxxxxxx"

---- HOUSES ----

-- house rent period
-- options: daily, weekly, monthly
HouseRentPeriod = "weekly"

-- House price
HousePrice = 50


--- INFO ---

-- login message
LoginMsg = "Welcome to MasterCores 7.4 RPG server!"

-- server name
ServerName = "MasterCores"

-- world name
WorldName = "EliteOTs`"

-- server owner name
OwnerName = "Erik"

-- server owner email
OwnerEmail = "eliteot@live.com"

-- server url
URL = "

-- server location
Location = "Sweden"


---- ITEM USAGE ----

-- minimum amount of time between actions ('Use') (1000 = 1 second)
MinActionInterval = 200

-- minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
MinActionExInterval = 1000

---- MAP ----

-- map location
Map = "data/world/world.otbm"

-- mapkind
-- options: OTBM for binary map, XML for OTX map
MapKind = "OTBM"

-- Type of map storage,
-- 'relational' - Slower, but possible to run database queries to change all items to another id for example.
-- 'binary' - Faster, but you cannot run DB queries.
-- To switch, load server with the current type, change the type in config.lua
-- type /reload config and the save the server with /closeserver serversave
MapStoreType = "binary"

---- RATES ----

-- rates (experience, skill, magic level, loot and spawn)
RateExp = 3
RateExpPvPE = 0
RateSkill = 30
RateMag = 8
RateLoot = 3
RateSpawn = 1


--- SPAWNS ---

-- despawn configs
-- how many floors can a monster go from his spawn before despawning
DespawnRange = 15

-- how many square metters can a monster be far from his spawn before despawning
DespawnRadius = 2000

--- STATUS ---

-- motd (the message box that you sometimes get before you choose characters)
MOTD = "Welcome to MasterCores!"
MOTD_Num = "1"

-- max number of players allowed
MaxPlayers = "1000"

--- OTHER ---

-- accounts password type
-- options: plain, md5, sha1
PasswordType = "sha1"

-- max number of messages a player can say before getting muted (default 4), set to 0 to disable muting
MaxMessageBuffer = 4

-- save client debug assertion reports
SaveClientDebug = false

-- Should the server use account balance system or depot system for paying houses?
UseAccBalance = false

-- whether or not to check for premium accounts when using beds
PremOnlyBeds = false

-- Time after player will be kicked when idle, in minutes
MaxIdleTime = 15

-- Level on which player will get rooked
LevelToRook = 0

-- TownId to which player will be teleported to
RookTempleId = 12

-- if your website is not showing player deaths, then keep this as 0
StorePlayerDeaths = true

-- ID of temple to which player will get teleported when his prem end out
-- 0 to disable
-- not tested yet
FACCTempleID = 3

-- Server Save in minutes
serversave = 48*60

-- Statustimeout?
StatusTimeout = 1

 

Gostaria de saber principalmente na parte dos IP's , onde aparece para colocar 3 IPS nao entendi muito bem

Editado por gangul321 (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

pelo que da pra notar 1 ip pra cada world na parte superior diz sobre a database pra cada world.

você tera apenas 1 world configuro somente ip principal e configure apenas uma database para seu world.

www.pokemiw.com
24 Horas Online - 1º 2º 3º 4º 5º 6º 7º gerações 100%
 

Link para o post
Compartilhar em outros sites

O tópico foi movido para a área correta, preste mais atenção da próxima vez!

Leia as regras do fórum:

Hidden Content

    Give reaction to this post to see the hidden content.

Este tópico foi movido:

De: "OTServOTServ Geral"

Para: "OTServSuporte OTServSuporte de OTServ Geral"

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Estatísticas dos Fóruns

    96844
    Tópicos
    519601
    Posts
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo