• 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!

TFS 1.X+ [TFS 1.2] Duration of RedSkull

meyson90

New Member
Joined
Nov 29, 2025
Messages
24
Reaction score
3
Hello,

Could someone explain to me how and where to configure the duration of RedSkull in TFS 1.2?

In the config.lua file I only have White Skull (white skull time):

LUA:
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1
killsToRedSkull = 3
killsToBlackSkull = 6
pzLocked = 60000
removeChargesFromRunes = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75


I would like RedSkull to last 30 days
 
Solution
meyson90
You need add time value for end and set it if you want via config.lua.
Check for time:

Set skulltime lua: player:setSkullTime(skullTime)

Check player login:

Check skull for talkingscript...
I think I should add some additional conditions for redskull in c++, but I've been trying to add something for a few hours now and it's not working for me

I noticed that when I manually assign values to skulltime, assigning the value "2592000000" after relog it changes to "1767366284"
34fff.webp
 
Last edited:
meyson90
You need add time value for end and set it if you want via config.lua.
Check for time:

Set skulltime lua: player:setSkullTime(skullTime)

Check player login:

Check skull for talkingscript:

This number is based on the chronology of the unix epoch.
 
Last edited:
Solution
Thank you very much! I've implemented 30 days of Redskull.

Now I have a slightly different question - how do I can save :
daily frags / weekly frags / monthly frags ?
I would like to use a proven method rather than invent something myself
6ytt.webp
In my database I only have these tables - skull - means what skull the player currently has and skulltime - means the date when the skull is supposed to disappear
 
Last edited:
Back
Top