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!

 

Clock Tower Example

Clocks on towers!

 

Floor/Ceiling Example

Clocks in the floor!

Clocks in the sky!

 

Large Clock Example

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)

 

Layer example

 

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.

Selection Example

 

 

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>.

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files