This mod has been made For Christmas! It Automatically spawns 150 christmas Gifts in the world and deletes all gifts after the 10 min event. The events will start every hour.
If you already have the Loot mod installed for Knools.
- DO NOT DIRECTLY UPLOAD IN THIS CASE!- Just edit the lines in your original one you have already installed to include the new objects/xmas gifts, the Object ID is 4093
To Install this mod, ensure you have the LiFx Framework installed Download here
This is a modpack containing
- Events (new storage containers) In LiFx Folder - This adds multiple new
- Loot (same mod used for knool loot system)
- Xmas Mod (this is the auto object spawner and removal system)
-
To Use this modpack locate your game servers root directory folder, Which is the same location your art.zip file and the games .exe is
-
Prepare the upload, It is assumed you followed the Prerequisite section
- data (Warning make sure uploading these do not effect your current mods, copy over what you need from these files before uploading).
- mods (Check the Loot mod which is located here and update the loottable to allow loot to be dropped in new gifts).
- yolauncher
- Check your Servers dbexport folder Located in the LiFx Folder (Located in root directory)
- Copy these files over to your yolauncher folder, you just downloaded in this pack and overwrite.
- Upload the Prepared files to your servers root directory ensuring that: Data Files go in data folder (ensure the new xml files the server generated are included in the yolauncher data folder) Mods go in mods Folder Yolauncher files go in root directory
- These files are used both by client and server, Failiure to upload the yolauncher files to root directory will result in boxes not spawning in the world as the .dts model will not be found!
-
Run the createModpack.bat (must have 7zp installed)
-
Upload the new .zip file created to yo launcher
-
Turn on the server and Activate the new modpack on yo launcher website
Start event with no timer
RampartGames_XmasEvent::startEvent();
Start event with timer
RampartGames_XmasEvent::triggerEventManually();
End event deleting all boxes
RampartGames_XmasEvent::endEvent();
Cancel/Start the currently scheduled automatic cycle
Prevent new cycles from being scheduled
➡️ This stops the event from automatically repeating, but it does not stop an event that is already in progress.
true is for allowing schedule false is to stop it
XmasEventTick::setProcessTicks(true);
XmasEventTick::setProcessTicks(false);