Doctor G's Timers

Doctor G's Timers

12 Downloads

Basic Timers you can use for everything!

Features
  • Timers you can set to every time you want (SS:MM:HH format) and give a unique name via a command named /timer (currently everyone on the server can access and modify the timer)
  • Gui display for the running timers which can be scrolled to see more timers (hold g, by default, and than scroll using mouse wheel, touch pad, etc), if there are many timers running
  • A settings screen (open via the key p by default) where you (momentarily) can set the maximum displayed name characters, the scroll sensitivity for the timers and if you want to show the timers in-game
  • Loading/saving the timers when joining/leaving the world (saved server-side in world/data/timers.dat)
  • Checked for server compatibility

more Features are planned! see planned-features

The timers settings screen

Timer Command

<something> = variable

[<something>] = optional variable

/timer timers <name> ...

 to access/modify the timers

 name = the name of the timer

/timer timers <name> set <seconds> [<minuets>] [<hours>] [<reset>]

 to add a new timer with a specific time OR to set the timer to a specific time

 name = the name of the timer

 seconds = the seconds you want to set the timer

 minuets = the minuets you want to set the timer

 hours = the hours you want to set the timer

 reset = if you want to reset the timer if its running (true/false)

/timer timers <name> get

 to get the current time of the timer

 name = the name of the timer

/timer timers <name> settime

 to get the time the timer is set to

 name = the name of the timer

/timer timers <name> pause

 to pause the timer

 name = the name of the timer

/timer timers <name> reset [<pause>]

 to reset the timer

 name = the name of the timer

 pause = if you want to also pause the timer (true/false)

/timer timers <name> start

 to start the timer

 name = the name of the timer

/timer timers <name> remove

 to remove the timer

 name = the name of the timer

/timer timers <name> runwhilegameispaused [<value>]

 if the timer should run while the game is paused (like in the singleplayer escape screen), if no value is given it tells you to what its currently set (will normally have no affect on servers)

 value = what it should be (true = running while game is pauses, false = NOT running while game is paused)

 

/timer listrunning

 lists all running timers

/timer pauseall

 pauses all running timers

Planned Features

the features are disordered, they wont be added in this order

  • Client-Side timers (timers you only have on the client, useful when you want to time something but the server doesn't use the mod)
  • show only specified timers to player (only show timers the player set them to show)
  • show timers to player also when they are not running (when specified)
  • make each timer customizable individuality
  • make Timers editable through gui (set time, reset, pause, ...)
  • add different time display formats (SS:MM:HH, HH:MM:SS, etc)
  • add information to rendered timers, if they are paused because they don't tick when the game is paused
  • enhance network connection efficency
  • add Version checker for mod
  • offset for displayed timers

feel free to send ideas in the comment tab!

see here for more detail

No Fabric Version planned!

Feel free to add this mod to your modpack