DigitalClock
Video tutorials · Config · Commands · Source · To do
What is the DigitalClock?
With this plugin you can create a digital clock from any block material you want! The digital clock is in format HH:mm:ss, it's 5 block high and 26 blocks wide. You can show AM/PM, toggle showing seconds and much more!
Here is tutorial how to use this plugin in programming in your own plugin.
Please write about all issues here: github issues list. I will reply to them there. Or you can simply post a ticket :).
Features
- Pretty light plugin, it does not cause any lags
- Simple commands and useful permissions
- Customizable number font and size
- Showing not just server time, but local time of each player is possible
- Available modes: real time mode, in-game time mode, countdown mode or stopwatch mode
- Customizable material, filling material and behaviour of your clock
- Automatic terrain backups, used to restore replaced blocks when you delete your clock
- Always new version for the newest CB
- Public API for creating addons and public plugin source
- When problem occurs, it is easy to PM me (author of this plugin) and I am always willing to help :)
and much much more...
CPU and memory usage
Information from Java Mission Control tool. Running 10 different clocks (plugin version 2.0, CB 1.8.8).
(PC specs: Intel(R) Core(TM) i5-4460 CPU @ 3.20 GHz + 12 GB RAM)
How does it look in the game?
You can modify look of every number in config.yml. More about that is on the Config page (link).
Video tutorials
If you are looking for video tutorails, go to the Video tutorials page (link).
Updating to newer version?
If you update to newer version, it is recommended to backup previus DigitalClock folder from plugins folder and then delete it, the newer version may need to create new folder with changes. Maybe you will have to create all your clocks once again.
Changelog
Can be found here.
I made a plugin showcase for it:https://www.youtube.com/watch?v=lNoy8kPbCOY
@DoctorCooper
This plugin was compiled with JDK 1.7. It means you have to have JRE and JDK both 1.7 to run this plugin.
Every time I add the .jar I can get an error.
15:18:33 [SEVERE] Could not load 'plugins\DigitalClock.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : me/PerwinCZ/DigitalClock/Main : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.ja va:239) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.reload(CraftServer.java:60 3) at org.bukkit.Bukkit.reload(Bukkit.java:275) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 9) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServe r.java:523) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(Craf tServer.java:512) at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java: 262) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:2 27) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:4 86) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java :419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5 82) Caused by: java.lang.UnsupportedClassVersionError: me/PerwinCZ/DigitalClock/Main : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader .java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:173) ... 14 more
@Finelarme2
There are three videos at the bottom of the page. Link: http:dev.bukkit.org/bukkit-plugins/digitalclock/pages/how-to-use/#w-english-video-tutorial
@fbafaro:
No video in "How use" page !!!
@Finelarme2
Didn't you see or read???
Video tutorials If you are looking for video tutorials, go to the How to use page.
The link is at the top of the page.
Wtf, don't understand at all how use this plugin. Make a video tutorial please.
@sulgen98
yeah thats pretty annoying
@TimeForCraft
Hard to say if it is fixed now, but you can try new version v1.6.
@TizRain
Hay! I have the same problem like TizRain. Please, correct this problem fast in the next version.
Thx TimeForCraft
Hello! I've noticed a pretty serious bug! :/
Everytime I restart my server I have to remove the config.yml that contains my created clocks, or else the plugin doesn't work! Well, the plugin loads when the server starts but when I try to do a command i get the message /digitalclock (arguments). It doesn't matter what command I write, this message comes up anyway!
Please fix this as soon as possible!
Thanks! :)
Edit:
This problem does not exist in version 1.4!
Odd caveat
its AM until it hits 12:59pm, then changes to PM at 1:00pm
So at 12pm - 12:59pm, it's still displaying AM
Hello, Can you add the ability to display just the seconds for the countdown ?
How do i change the time from military to standard ?
But is it possible to change the time/set the time?
@lucasdidur
Oh I see. I will remove it in next version. Next version is prepared with GeoIP and much more! :) But I still have to do some tests and I have no avaible server for testing it right now.
There's a console span at code line 48 of Generator.java
When the Tine Changes it creates a entry like [Server] 12:00:00 And when i have a clock with the InGame Time then it creates one every second!
Sorry for my bad English i'm Swiss :D
@sulgen98
And how does it spam the log?
Please stop the Log Spam my Log is 500kB after 10min !!! Make a option in the config please: :)