ScoreboardTimer
ScorebordTimer
Summary
A simple Timer shown to everybody in the Scorebord. Good for timed events.
It also has a Clock now, if the timer is not running (optionally).
Commands
/timer <min> [<sec>] Set the Timer <min> and optional <sec>
/timerstop Stop the Timer manual
/timeh <day> [<hour>] [<min>] [<sec>] Set the Timer <day> and optional <hour> <min> <sec>
/timertoggle toggle timer on/off if enabled in config
Configuration
stop-msg: Shows STOP! in chat when timer stopps
type: 1 or 2
scoreboard-header: Header of the Timer
toggle: true/false enables the toggleing of the timer
stopmsg: Msg shown if the Timer stopped
stoptime: amount of seconds the stop msg is shown
showClock: if true, a CLock is shown in the Scoreboard, when no TImer is running
nameClock: Name of the Clock
auto-restart: if true, the TImer starts automaticly, after finishing
do-commands: if true, commands are executed after the timer finished
amount: Amount of commands, that shell be executed (there is a Limit of 2,147,483,647 commands ;) )
command1: say Done! (Example Command)
command2: time set 0 (Example Command 2)
start-Timer-on-serverstart: if true, the timer starts on the server start or reload (specify the Time below)
days: 0
hours: 0
minutes: 0
seconds: 0
Changelog
V0.6
Now you can start the Timer, when the server starts (as requested in the comments)
V0.5
Now you can restart timer automaticly
You can automaticly execute commands
Bugfix:
Now everybody sees the STOP-msg
V0.4
Added Clock
config:
name Clock
disable clock
V0.3
more posibilities to modify Timer
- name timer head
- allow toggle timer
- edit stop msg
- edit how long stop msg shows
commands added
- /timeh <day> [<hour>]
- /timertoggle toggle timer if enabled
V0.1
First Release
Edit: This is my favorite timer plugin when it works... Running Spigot 1.7.9, no 1.8 protocol hack, and it's not conflicting with any plugins. I had the same error in the last version too.
@Elementwing4962
Hey, I just uploaded V1.1, wich should fix this Problem
Will it be possible for this to be for 1.7.9-RO.2, if not, how would i make it with out command blocks?
not working anymore
Do you think you could implement a way to select different timers with different settings or names?
How I can activate the timer from the console? Because if I write from the console the command: timer 10 . This says "Unknowm command"
What is the permission to use /timer? My admins cant do it nor my mods :( I cant give them * perm ether because of trust issues
@alexandroww
Of courde there are a lot of bad features implemented ;-P
Ok, I'll share it when i have time!
Please share source, I should be sure there is not any 'malicious' code. Thanks :)
@qlimax5000
Thank you, ill give it a try :)
@JoeyKinGaming
No
Are there commands to instantly switch over to another timer with a different name after the other one has finished?
@elvis394
getServer().dispatchCommand(CONSOLE, "stop");
Or something like that
@xModdedAngelx
Sorry, but I can't find a way to perform a command without a Player executing it
@elvis394
Here's some of the error codes I got http://pastebin.com/ykKCtBJs
Also I used the server startup config, so there is no "player" starting the timer. Like you said in number 3.
@xModdedAngelx
Normaly it should wok, maby its because:
or maby there is an error displayed in the console?
I hope i could help you
Am i doing something wrong, or does setting the auto command thing as "stop" doesnt work?
@elvis394
Awesome Thanks!!
@xModdedAngelx
I just uploaded the new jar FIle, it should be avaliable soon
Can you add an option to start a timer right when the server starts up?