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

Solved [raid in globalevent]

lopez65

Member
Joined
May 10, 2012
Messages
294
Solutions
1
Reaction score
16
Location
Barcelona
hi
I'm using TFS 1.0, with datapack ofPrinter, my question is how can I increase the interval of the executions of the raids, so by default comes

Code:
<globalevent name="RaidSystem" interval="10000" script="spawn/raids.lua"/>
where it says 10000, how long is, and want to put that run every 8 hours, and take the opportunity to ask serversave also in that interval would have to put to make a save every 3 hours.
Greetings and thanks.
 
The interval was made, to check which time it should be executed. I suggest to change raid system startup and make it addEvent and it should check date and time and execute exactly that time. Instead of a onThink execute everytime.
 
The interval was made, to check which time it should be executed. I suggest to change raid system startup and make it addEvent and it should check date and time and execute exactly that time. Instead of a onThink execute everytime.
hi @Printer
and, of course, but a friend Printer I have no idea lua, if I could put some example or mini-guide, I would do it myself, but I repeat, not know where to start: S, if you could help me, is that driving me every hour raid, and then serversave the truth, I've put a value in interval of 10800000, lol, not if I open past good if you can help me if only putting me the basics and I'll fix me later.
greetings and thanks.
 

Similar threads

Back
Top