AnalogClocks
This is for all servers out there with a clock tower, or thinking of adding clocks somewhere!
Ever thought it would be really neat if that decorative clock you have in the town actually moved?
Now it can!
Clocks on towers!
Clocks in the floor!
Clocks in the sky!
Massive clocks just because you can!
Each of the hands can be a different material, and even a unique centerpiece. Clocks can show minute updates (10 updates per minecraft hour), or just move the hour hand. Additionally, you can give the clocks some depth so each hand has its own layer (only 2 deep supported at the moment)
Currently admin-only, and the blocks are not protected from destruction. Best set up in areas where players are not able to break blocks, eq protected with WorldGuard.
Fairly lightweight and CPU-friendly, but all updates happen in the same tick, so don't go TOO crazy. This isn't intended for use on a clocks-only world. That said, I have tested running at least 30 clocks simultaneously - some of which were quite large - with no noticeable impact on server performance. Additionally, the plugin double-checks to see if the clock's chunk is even loaded before attempting to update the clock face, so that helps ease usage.
To define a clock, simply select the corners of a surface that you want to be a clock, up to 2 blocks deep. The size of the selection must be an odd-number and square. The border of the clock will not be replaced by the plugin, but if you have blocks in the way, such as in this example below, they will eventually be replaced by the plugin when a hand needs the space.
Commands:
- /analogclock create [hour_block] [minute_block] [center_block] [hours_only]
- Minute and center are not required if setting a custom type - they will be set to the prior block defined
- If block types are not specified, Black Wool is the default
- If hours_only is set to true, the minute hand will not spin
- Floor and Ceiling clocks define their bottom based from where you're looking when you define it
- Wall clocks use your position when you define it to determine which side is the front
- /analogclock remove [name]
- If no name is specified, will remove all clocks defined within your current WorldEdit selection
- /analogclock list
- Just in case you need a listing of the active clocks ;)
Permissions:
- analogclock.admin
- Grants access to /analogclock <create/remove/list>.
The clock stops when the server is turned off and on.
How do you exactly select the corners of a surface in order to define the clock? I didn't understand that part too much.
In reply to Forge_User_19379194:
Selections are done using WorldEdit :)
Lovely plugin, really, I had Digital clock on my clocktower, but that one stopped working around 1.12.
Do make a digital version too, it is awesome if you can choose, like the analog clock is too big to put in my stations, but 5 blocks high digital version would be also just as awesome.
Do have a nitpicking item, is it possible to let the hour hand move a bit later after the half and full hour, like 11 o'clock looks ok, but five past eleven looks like five past 12 because of the hour hand...
What I discovered is that the right command should be
/analogclock create MYCLOCK black_wool white_wool glowstone and that remove kinda removes all.... think that you did not mend to do it that way....
Keep up your plugin, it is appreciated!!!!!
Come to DRUIFJES.NL go to New Holland server and find the clocktower in Amsterdam....
You should add this to your description:
Permissions
Love the plugin! So do my players
In reply to RalphORama:
Oh! Completely forgot to add that! Thanks!
Also, Awesome to hear I'm not the only one using this plugin :)