Timer

The Timer mod provides players with a fully customizable timer system that allows creating countdowns, standard timers, and other time-based tools with various behavior types.

Main Features
- Full support for translation into different languages
- Advanced permission system for access management
- Flexible customization of all timer parameters
- Various types of timer stopping
- Different methods for sorting messages and commands


Work Demonstration



Time Format
In commands, you can use the time argument with multiple parameters simultaneously. For example: 2h10min or 10min2h30s - the system automatically recognizes and sums the specified time intervals.

Main Commands
/timer add <name> <ticks> <stop type> <action type>
/timer set <name> enable
/timer set <name> disable
/timer set <name> stop <stop type>
/timer set <name> save <true/false>
/timer set <name> ticks <new time>
/timer set <name> name <new name>
/timer cmd <name> [arguments]
/timer types <sort/action/stop>
/timer remove <name>
/timer info <name>
/timer list
/timer reload
/timer save
/timer load
Message Actions
/timer cmd <timer> addMessage <message>
/timer cmd <timer> addCommand <command>
/timer cmd <timer> edit <line> <content>
/timer cmd <timer> move <line> <new line>
/timer cmd <timer> permission <line> <null>
/timer cmd <timer> command <line> <true>
/timer cmd <timer> sort <sort type>
/timer cmd <timer> remove <line>
/timer cmd <timer> clear
/timer cmd <timer> info
Countdown Actions
/timer cmd <timer> addMessage <time> <message>
/timer cmd <timer> addCommand <time> <command>
/timer cmd <timer> permission <id> <null>
/timer cmd <timer> command <id> <true>
/timer cmd <timer> edit <id> <content>
/timer cmd <timer> tick <id> <new time>
/timer cmd <timer> remove <id>
/timer cmd <timer> clear
/timer cmd <timer> info

Main Permissions
timer.
timer.add
timer.command
timer.remove
timer.info
timer.types
timer.list
timer.reload
timer.save
timer.load
timer.error
Settings Permissions
timer.set.
timer.set.enable
timer.set.disable
timer.set.ticks
timer.set.name
Message Action Permissions
timer.action.message.
timer.action.message.addmessage
timer.action.message.addcommand
timer.action.message.permission
timer.action.message.command
timer.action.message.remove
timer.action.message.edit
timer.action.message.move
timer.action.message.sort
timer.action.message.clear
timer.action.message.info
Countdown Action Permissions
timer.action.countdown.
timer.action.countdown.addmessage
timer.action.countdown.addcommand
timer.action.countdown.permission
timer.action.countdown.command
timer.action.countdown.edit
timer.action.countdown.tick
timer.action.countdown.remove
timer.action.countdown.clear
timer.action.countdown.info

Example: Creating a Reload Countdown
1. Create a timer with "countdown" action
/timer create reload 30s stop countdown
2. Add messages for different time intervals
/timer cmd reload addMessage 30s &aReload in &c30&7seconds&8.
/timer cmd reload addMessage 15s &aReload in &c15&7seconds&8.
/timer cmd reload addMessage 10s &aReload in &c10&7seconds&8.
/timer cmd reload addMessage 5s &aReload in &c5&7seconds&8.
/timer cmd reload addMessage 4s &aReload in &c4&7seconds&8.
/timer cmd reload addMessage 3s &aReload in &c3&7seconds&8.
/timer cmd reload addMessage 2s &aReload in &c2&7seconds&8.
/timer cmd reload addMessage 1s &aReload in &c1&7second&8.
/timer cmd reload addMessage 0 &cReloading&8.
3. Add reload command on the last tick
/timer cmd reload addCommand 0 reload
4. Completion of setup Activate the timer with command:
/timer set reload enable
Or through timer list: /timer list (click on "enable")
Example: Creating Cyclic Messages
1. Create a timer with "message" action
/timer add broadcast 1min reset msg
2. Add messages for cyclic display
/timer cmd broadcast addMessage &aTest &81
/timer cmd broadcast addMessage &aTest &82
/timer cmd broadcast addMessage &aTest &83
/timer cmd broadcast addMessage &aTest &84
/timer cmd broadcast addMessage &aTest &85
3. (Optional) Change message sorting type
/timer cmd broadcast sort roundrobin
4. Completion of setup Activate the timer with command:
/timer set broadcast enable
Or through timer list: /timer list (click on "enable")