• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Avesta 7.6 (Protection Level)

Zaggyzigzig

plx itens menz
Joined
Aug 25, 2014
Messages
386
Reaction score
50
Location
Canada Ontario
Just wondering if anyone knows how to add a protection level to the server, Thanks would appreciate someones support if they know how!, Also Skulls stay on even when its pvp enforced, it says (Skulls activated) on the server window!

Avesta 7.6 sql

Code:
  DataDir = "data/"

--- BANS ---
  NotationsToBan = 3
  WarningsToFinalBan = 4
  WarningsToDeletion = 5
  BanLength = 1 * 24 * 60 * 60
  FinalBanLength = 7 * 24 * 60 * 60
  IPBanishmentLength = 24 * 60 * 60
  KillsToBan = 25
--- COMBAT ---
  -- world type
  -- options: pvp, no-pvp, pvp-enforced
  WorldType = "pvp"
  -- exhausted time in ms (1000 = 1 second) for yelling
  Exhausted = 1000
  -- exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
  FightExhausted = 1000
  -- exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
  HealExhausted = 500
  -- how many ms to add if the player is already exhausted and tries to yell (1000 = 1 second)
  ExhaustedAdd = 100
  -- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
  PZLock = 500
  -- how long a field belongs to a player before it no longer causes PZ lock for the owner
  FieldOwnershipDuration = 5000
  -- in mili seconds
  TimeToDecreaseFrags = 1 * 1 * 1 * 1
  -- Time white skull will remain after killing a player, in minutes
  WhiteSkullTime = 1
  -- amount of kills that leads to red skull
  KillsToRedSkull = 20
  -- Remove ammunition
  -- If false, ammunition will not be removed when using distance weapons
  -- (or other weapons that use ammunition)
  RemoveAmmunition = false
 
  -- Remove rune charges
  -- This only applies to runes done using the default functions.
  -- Custom runes made using actions will not be affected.
  RemoveRuneCharges = false
  -- Remove weapon charges
  -- Set to false to disable charges disappearing from weapons on use
  RemoveWeaponCharges = FALSE
---- CONNECTION ----
  -- server ip (the ip that server listens on)
  IP = ""
  -- server port (the port that server listens on)
  Port = "7171"
  -- 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  = ""
  -- these settings are not used by SQLite
  SQL_Host = "localhost"
  SQL_Port = 3306
  SQL_User = "root"
  SQL_Pass = ""

---- HOUSES ----
  -- house rent period
  -- options: daily, weekly, monthly
  HouseRentPeriod = "monthly"
  -- House price
  HousePrice = 3000

--- INFO ---
  -- login message
  LoginMsg = "Try !quests and compleate them all! Trainers are east off the first gate from the boat in edron, Have fun on Desolation!"

  -- server name
  ServerName = "Desolation"
  -- world name
  WorldName = "Desolation"
  -- server owner name
  OwnerName = "Bryan"
  -- server owner email
  OwnerEmail = "[email protected]"
  -- server url
  URL = ""
  -- server location
  Location = "Canada"

---- ITEM USAGE ----
  -- minimum amount of time between actions ('Use') (1000 = 1 second)
  MinActionInterval = 100
  -- minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
  MinActionExInterval = 800
---- 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 = 1
  RateSkill = 55
  RateMag = 35
  RateLoot = 4
  RateSpawn = 2
LossLevel = 0
--- SPAWNS ---
  -- despawn configs
  -- how many floors can a monster go from his spawn before despawning
  DespawnRange = 2
  -- how many square metters can a monster be far from his spawn before despawning
  DespawnRadius = 100
--- STATUS ---
  -- motd (the message box that you sometimes get before you choose characters)
  MOTD = "Welcome to Desolation Hardcore PvP RL Map Hosted on a dedicated server."
  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 = 10
  -- save client debug assertion reports
  SaveClientDebug = true
  -- 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 = 420

deathLosePercent = 2

  -- Level on which player will get rooked
  LevelToRook = 5
  -- TownId to which player will be teleported to
  RookTempleId = 11
  -- 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
  -- Example: 1500 <= 1,5 seconds push delay
  pushdelay = 1000

  -- Example: 10 <= every 10 minutes automatic server save
  servesave = 3

-- Edit: Use code tags
 
Last edited by a moderator:
Well in most servers it's writen in the Config just as "protectionLevel = 1" etc. try if it works with your sources, otherwise im afraid you must change the source codes. I would rather make No-PvP zones for your low levels rather than mixing with that if you don't know what your doing
 
Back
Top