Skip to content

LiF-x/XmasEventModpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LiFx Xmas Events

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.

Prerequisite

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

Installation Instructions

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)

Before you begin ensure your server is turned off

  1. 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

  2. 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
  1. 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.
  1. 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!
  1. Run the createModpack.bat (must have 7zp installed)

  2. Upload the new .zip file created to yo launcher

  3. Turn on the server and Activate the new modpack on yo launcher website

Ingame Commands

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);

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors