How to make a non-fixed spawn in the CronTab format
Format for non-fixed spawn for Grand bosses config / bosses.properties
and edit the RespawnTimePattern - CronTab format
Option 2 for datapack. Path: data/spawn - Zaken/Orfen/AQ/Core and etc
for data / spawn, exactly the same scheme works:
If we want, for example, Queen Ant to spawn every day at 20:00 with a spread of 2 hours then:
Basic looks like:
WE CHANGE FOR:
Where:
~120:0 Our spread of time
20 - Clock time - EIGHT HOURS OF THE EVENING
+1 - Plus how many days
Format for non-fixed spawn for Grand bosses config / bosses.properties
and edit the RespawnTimePattern - CronTab format
Code:
Example:
ValakasRespawnTimePattern = ~180:0 20 5 * *
In this example, Valakas will spawn with a spread from 0 to 180 minutes (~180:) from the starting point at 20:00 (0 20) on Friday (5)
If you want to bind not to the day of the week, but from the time of the murder + how many days
Example:
ValakasRespawnTimePattern = ~180:0 20 +5: * * *
Valakas will spawn with a spread of 0 to 180 minutes (~180:) at 20:00 (0 20) +5 days (+5:)
Option 2 for datapack. Path: data/spawn - Zaken/Orfen/AQ/Core and etc
for data / spawn, exactly the same scheme works:
If we want, for example, Queen Ant to spawn every day at 20:00 with a spread of 2 hours then:
Basic looks like:
Code:
<spawn name="[queenant_room]">
<npc id="29001" count="1" respawn="129600" respawn_rand="61200" pos="-21610 181594 -5720 0" />
</spawn>
Code:
<spawn name="[queenant_room]">
<npc id="29001" count="1" respawn_cron="~120:0 20 +1:* * *" pos="-21610 181594 -5720 0" />
</spawn>
~120:0 Our spread of time
20 - Clock time - EIGHT HOURS OF THE EVENING
+1 - Plus how many days
Last edited: