Eli Timer - More control over your timer!

d02Q3Fz.png

Author: Hakuen Studio
CHF5rYf.gif
​

Introduction

We all know that the default timer is pretty basic. This plugin aims to add to it some new features that give you more control over your timer.

Features

• Pause/Resume timer.
• Start timer paused.
• Add/Remove seconds and minutes.
• You can change it to count upwards(1, 2, 3, 4...) instead of default count down.
• Turn on a switch when the timer is working.

How to use

The plugin parameters are self-explanatory.
If you choose to count up, you can still use the default timer command in the event tab.

• Script calls

• $gameTimer.flow() - Will return 'Up' or 'Down', according to the flow of the timer.
• $gameTimer.isPaused() - Returns true if the timer is paused.
• $gameTimer.minutes() - Return the current minutes count.
• $gameTimer.maxSeconds() or maxMinutes() - Returns the max value that timer has when it started or it will have when it finishes.

Plugin Commands:

• Start / Add / Remove - If the timer is not active, it will start the timer. Otherwise, it will add or remove(if you use negative values).
• Pause Timer
• Resume Timer
• Change timer flow (count up or count down)

You can use \v[id] in some plugin commands.

Spoiler
bhjqRy8.png

Terms of Use
Update Log
Version 1.0.1 - 10/16/2020
- Adapted to work with Eli Book 2.0.0
MZ version of the plugin does not work.
MZ version of the plugin does not work.
What is the problem? What happens? Give an error?
Снимок экрана 2020-10-28 002235.png
Hi!
That is probably because you don't have EliMZ_Book.js installed in your plugin manager or, if you have it, it is not above the timer one.
No. I have not installed the "EliMZ_Book" plugin. But why is it not listed in the required list?
No. I have not installed the "EliMZ_Book" plugin. But why is it not listed in the required list?
Hi!
It is listed as required, you can download it here.
First lines of the plugin.
1603839518861.png


Plugin manager:
1603839564303.png
OU. Then I'm sorry. Didn't notice.
Hello again.
I would also like to suggest adding the commands "@orderBefore" and "@orderAfter" so that MZ speaks about the correct order of the plugins.
Hi!
Thanks for your concern, but my plugins do not have a specific order to work. The only thing that matters is that Eli's Book is above them all.
Hello. Even I do not understand. This plugin adds a new timer to the project or additional functionality for the old one. If the new one is not clear how to enable and disable the timer and how does it work in general? If this is additional functionality for a timer, then why do you need to specify a variable?
Hi there!
The plugin adds new functionality to the default timer:

• Pause/Resume timer.
• Start timer paused.
• Add/Remove seconds and minutes.
• You can change it to count upwards(1, 2, 3, 4...) instead of default count down.
• Turn on a switch when the timer is working.

You don't need to specify a variable. You can optionally use a variable if you want.

If the new one is not clear how to enable and disable the timer
You can enable disable via the default event commands or with the plugin commands.
Why did my timer turn into a stopwatch with your plugin?
I understood the reason. Excuse for troubling. It's okay.
Version 1.1.0 - 11/06/2020
- Add the option to change text color and outline.
- Add the option to show hours "00:00:00".
Version 2.0.1 - 04/04/2021
- Fixed an issue that the timer had negative numbers.

Version 2.0.0 - 12/18/2020
- Adapted to work with Eli Book 3.0.0.
Double-post notice: @Alexandr_7
Version 3.0.0 - 08/15/2021
- Need Eli Book 4.0.0.
Version 3.0.1 - 09/23/2021
- Few changes on the help file.
- Set a description on the change color plugin command.
- Need Eli Book 4.1.0 now.

Original thread: https://forums.rpgmakerweb.com/threads/eli-timer-more-control-over-your-timer.127541/