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

Raids

Arkangel Nyx

Member
Joined
Feb 23, 2012
Messages
176
Reaction score
6
Location
U.S.A.
Ok so i was wondering in order to run a raid automatically at a certain time of day, where all do i have to put code? Do i need a global events? Can it all just run from the raids folder? do i need to put anything in actions? I am not asking for all the details, just an overview on how they work. Thanks! REP++
 
You need to add the following line in raids.xml

Code:
<raid name="Example2" file="example.xml" interval2="2" margin="0" reftype="block" ref="no"/>

And then just edit or create a new one xml file in raids folder like this one:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<raid>
	<singlespawn delay="10100" name="Rat" x="95" y="117" z="7"/>
	<singlespawn delay="10200" name="Rat" x="95" y="117" z="7"/>
	<singlespawn delay="10300" name="Rat" x="95" y="117" z="7"/>
	<singlespawn delay="20100" name="Cave Rat" ref="yes" x="95" y="117" z="7"/>
	<effect delay="24000" name="bigclouds" x="95" y="117" z="7"/>
	<itemspawn delay="25000" id="2464" x="95" y="117" z="7"/>
</raid>

interval2="2" = 2 mins
 
Back
Top