Countdown
This is my first plugin!
Countdown is a simple plugin used to broadcast a countdown to users on a server. Users who have the correct permissions can start a countdown, either by calling a timer or by declaring one on the fly.
Features:
- Start a timer on the fly.
- Start a timer declared in a timers file.
- Cancel a running timer.
- People who can start timers secured by permissions.
Commands:
There are 4 commands:
/countdown <x> - Start a countdown, starting a <x> seconds.
/countdown <timer> - Start a countdown by declaring the name of the timer.
/countdown cancel - Cancels the currently running countdown.
/countdown reload - Reload the config and timers files.
Installing:
Put the .jar in your plugins folder. The config and timers files will be created on first run.
Config:
displaybyhour - Displays the countdown message every hour.
displaybyminute - Displays the countdown message every minute.
displaybyhalfminute - Displays the countdown message every 30 seconds.
displayatten - Displays the countdown message at 10, 9, 8...
The timers.yml file contains all the timers that a user can start. Here is an example of a timer:
- exampletimer:
- start: 60
- message: Event begins in <x> seconds!
- start_mess: Event countdown has started!
- zero_mess: Go!
- cmd: mycommand
Start message, zero message, and command are optional.
Permissions:
Uses PermissionsBukkit
Permission nodes: countdown.start - Ability to start/cancel a countdown.
Changelog:
Version 2.2:
Added option to display time in 5 minute increments during countdown
Improved help options when running '/countdown'
Updated to 1.6.4-R2.0
Version 2.1:
Added 'time' command to display remaining time
Updated to 1.4.2-R0.2
Version 2.0: Added start message option.
Added ability to automatically run command at end of countdown.
Updated to newest Bukkit version.
Version 1.0
Initial release version.
-
View User Profile
-
Send Message
Posted Jul 17, 2012Thanks for the suggestions. I'll try to get the requested features added soon, including a customized starting message (ending message already available as 'zero message') and the ability to run a command after the countdown.
-
View User Profile
-
Send Message
Posted Jul 16, 2012Any chance you can run a command after the countdown?
-
View User Profile
-
Send Message
Posted Jul 6, 2012will use it for new year LOL
-
View User Profile
-
Send Message
Posted Jul 5, 2012How about adding a custom(ised) counter start/end message and the ability to autorun/execute a command afterwards? :)
-
View User Profile
-
Send Message
Posted Jul 5, 2012Sounds good, will give it a go :)
-
View User Profile
-
Send Message
Posted Jul 5, 2012Very nice plugin. I will surely use it in minigames.
It's pretty hard to try to make succesful countdown by typing.