BPC_BL_ModCopies
BurrowLib 0.1.0, in the palette under BurrowLib › Mod copies.
Variables
Section titled “Variables”editable var Id: stringYour mod’s id. Pick one once and never change it, even if you rename the mod.
editable var Build: int = 1Raise it with every release. The newest build always runs, and of two copies of the same build, exactly one does.
Running
Section titled “Running”var Running: bool = falseWhether this copy is the one that runs. False until its first tick has decided.
Events
Section titled “Events”dispatcher OnRun()Called once, on the one copy of your mod that runs, before its first tick. Every other copy is destroyed instead.