How to make a fixed spawn with a time reference aka Cron Tab

How to make a fixed spawn with time aka Cron Tab
Syntax spawn.dtd
Mechanics -
Pre example!

<spawn name = "[queenant_room]">
<npc id = "29001" count = "1" respawn_cron = "* * * * *" pos = "- 21610 181594 -5720 0" />
</spawn>


What you need to pay attention to - respawn_cron = "* * * * *" the fixed spawn format is presented in Cron - consists of MANDATORY five stars.
Every star is time. First - Minutes, Second - hours, Third week, Month, Fifth - day of the week (1-7). (ATTENTION! Completely remove respawn = "something here" respawn_rand = "something here" leave ONLY respawn_cron = "data ")
For example, I want to make Queen Ant aka Queen Ant ant every day at 19:00:
as it is in its original form -
<spawn name = "[queenant_room]">
<npc id = "29001" count = "1" respawn = "129600" respawn_rand = "61200" pos = "- 21610 181594 -5720 0" />
</spawn>


As it became after making changes to the current task -
<spawn name = "[queenant_room]">
<npc id = "29001" count = "1" respawn_cron = "0 19 * * *" pos = "- 21610 181594 -5720 0" />
</spawn>


Thus, I pointed to the second star - this is a watch, i.e. Every day, the AK will be respected at 19:00, even if she was killed at 18:59:59 - she will return at 19:00.
Similarly, the whole described method works with weeks and months, and so on.
 
1746410788607.webp
Is this configuration correct? I killed the antqueen before doing it and restarted the server, but when I wait the time, the boss does not appear
 
Back
Top