This is a plugin that shows a timer on the action bar of the player in the format dd:hh:mm:ss. It is based on the timer from BastiGHG.
Commands: /timer start - starts the timer /timer stop - stops the timer /timer resume - resumes the timer when paused /timer pause - pauses the timer when running /timer reset - resets the timer to 0 /timer time <days> <hours> <minutes> <seconds> - sets the time
Permission: timer.use
You can set in the config if the timer should pause on player death or on ender dragon death.
Code (YAML):
settings: # saves the timer when the server is restarting save-timer: true
# pauses the timer when the player dies pause-on-player-death: true
# pauses the timer when the ender dragon is slain pause-one-dragon-death: true
messages:
prefix: "&bTimer &8»" running-timer: "&6&l%timer%" paused-timer: "&6&lpaused %timer%" timer-command:
run: "%prefix% &7You started the timer." stop: "%prefix% &7You stopped the timer." pause: "%prefix% &7You paused the timer." resume: "%prefix% &7You resumed the timer." reset: "%prefix% &7You reset the timer." usage: "%prefix% &cUsage: /timer <start|stop|resume|pause|reset|time>" already-running: "%prefix% &cThe timer is already running!" not-running: "%prefix% &cThere is no timer running!" already-paused: "%prefix% &cThe timer is already paused!" time:
usage: "%prefix% &cUsage: /timer time <days> <hours> <minutes> <seconds>" set: "%prefix% &7You set the time to &6%time%&7." no-valid-format: "%prefix% &cPlease provide a number!"