Time Stages

Mods
14,731 Downloads Last Updated: Jun 15, 2019 Game Version: 1.12.2

Time Stages

This mod is an addon for the GameStage API. This mod allows you to unlock/lock stages after a specified amount of time.

Example Script showing how it works:

Version 1.3 and higher requires a unique id for every timer added:

mods.TimeStages.addTimer("UniqueID", "neededStage" ,"UnlockedStage" ,30 ,"seconds");
mods.TimeStages.addTimer("UniqueID", "neededStage" ,"UnlockedStage" ,30 ,"seconds", true);

mods.TimeStages.removalTimer("UniqueID", "removedStage" ,30 ,"seconds");

 

1.2.1 and lower:

mods.TimeStages.addTimer("neededStage" ,"UnlockedStage" ,30 ,"seconds");
mods.TimeStages.addTimer("neededStage" ,"UnlockedStage" ,30 ,"seconds", true);

mods.TimeStages.removalTimer("removedStage" ,30 ,"seconds");

the "true" activates the removal of the old stage while the new stage will still be unlocked when the time is reached.

The amount of time can be sec(onds), min(utes), hour(s) and day(s). Currently you can only choose one amount of time.

Need a server? Get 20% off your first month by using promo code "mrbysco"

 

 

For questions feel free to join my Discord.

Discord Link

Want to support us?

Patreon  -Mrbysco

Patreon  -Svennieke

 

Comments

  • To post a comment, please or register a new account.
Posts Quoted: