WallClock
WallClock
A clock on a sign that displays the time in the minecraft world, or it can display the time in the real world. Customizable, easy to use, and easy to set up.
A wall of clocks
Making a game clock
Usage
All clocks must be placed exclusively on a wall. Stand alone signs are ignored as clocks.
Basic Game Clock
To create a simple clock showing world time, create a wall sign with the following on the first line:
[gameclock]
Advanced Game Clock
To create a more advanced clock, create a wall sign with the following:
[gameclock]
ClockLabel
(unused)
Format
ClockLabel becomes "as is" line 2 on the clock. When no label is specified, it defaults to "Time" for Minecraft world clocks, and the short hand timezone for clocks showing time in real world.
The third line is unused and any text is ignored.
Format alters how the time is displayed. This text is passed to Java's SimpleDateFormat class, so see that doc for all the formats available. Clocks default to 12hr time, or as otherwise specified in the config file.
Note: All fields are optional and independent of each other
The Real World
To create a clock that displays the real time, make a sign with the following on the first line:
[realclock]
Advanced Real World Clock
To further customize your clock, create a wall sign with the following:
[realclock]
ClockLabel
TimeZone
Format
ClockLabel becomes "as is" line 2 on the clock. When no label is specified, it defaults to "Time" for Minecraft world clocks, and the short hand timezone for clocks showing time in real world.
TimeZone affects the timezone of clocks displaying real time, otherwise it is ignored. By default, the system timezone is used, but it may not be correct depending on what OS the server is running on due to a bug in Java.
Format alters how the time is displayed. This text is passed to Java's SimpleDateFormat class, so see that doc for all the formats available. Clocks default to 12hr time, or as otherwise specified in the config file.
Note: All fields are optional and independent of each other
Example
To create a clock with the label "IRL Time", displaying the Real world time in 24 hour format with a GMT offset of +1 hours, make a sign with the following:
[realclock]
IRL Time
GMT+1
HH:mm
Commands
The idea driving the plugin is the ability to create a clock without leaving the 'world' of minecraft by opening up the chat window, and as such there are almost no commands. The commands presently provided are available to the console and OPs only for maintenance and other mischief tinkers want to get into.
/wallclock save
Manually save all the clocks in the world to disk ("plugins/WallClock/clocks.csv").
/wallclock load
Manually load the saved clocks from disk ("plugins/WallClock/clocks.csv"). This WILL render any new clocks created since the last save non functional.
Source included with the jar
I've created a plugin like this, but with a lot of new features. You can take a look at it here. I am still keeping this up-to-date.
WOW, v0.2.2 for 1.1-R6 still works on spigot 1.8.8
@Kevinzuman22
I have a corrected/updated version available for downloading from my web site.
I was looking for a plugin like this for my server. It wasn't the right version, but I've managed to get it updated! I've updated it to 1.7.9! I'll put it up soon! But I'll be needing permission from the original creator.
This doesn't seem to work for additional worlds created by Multiverse. I can create a clock, do /wallclock save, and see the clock in the .csv file. But when I restart the server, the .csv file gets rewritten without the clock data and the clock stops working. Any way to fix this?
EDIT: Turns out the plugin was loading before Multiverse. I added the following to the plugin.yml file (the quotes are required):
softdepend: ['Multiverse-Core']
@NovaViper
Central time as in time in london?
Well, that is GMT+0
Google the different timezones and how they correspond to the GMT timezone.
how do you do central time?
Figured Id show my support; I use it and thank you.
@VergilPrime
It still work with 1.4.5 i run it on my server, So no worries dude :)
@m56789
Its not GTM its GMT. Did you write it wrong?
@AllStylen
just type [gameclock] on the first line and thats it.
TIMEZONMES WONT FUCKING WORK
I figured out how to do the 12h clock just gotta use lower case hh:mm:ss .. but is there a way to make it say am/pm?
im haveing trouble trying to set the clock to 12h time. i keep on getting 24h time. can you please let me know how i can make my clock show 12h time and if its AM or PM
any updates on this ?????
update? :D
permissions would be nice (so not everyone can make one)
@FiddyCraft
Thanks! I'm glad that you are enjoying it. I thought this plugin may have been pushed aside by the more flashy, colorful clocks that spurred me to write this. If you have anything you would like to see incorporated into the plugin, just let me know.
@dshdeichgraf
The clock is created the moment you clock done when editing the text on the sign, and the face of the sign gets updated the next time ClockUpdater fires, which is every second.