项目作者: OKTW-Network

项目描述 :
A clock on the bossbar
高级语言: mcfunction
项目地址: git://github.com/OKTW-Network/Bossbar-Clock.git
创建时间: 2019-07-18T14:33:31Z
项目社区:https://github.com/OKTW-Network/Bossbar-Clock

开源协议:GNU General Public License v3.0

下载


Bossbar Clock

A Minecraft data pack that displays a clock on a bossbar.

Feature

Displays day and time dynamically to the bossbar.
The config file can be found by the path below:
..\data\bossbarclock\functions\config

Clock displaying

The config file provides four options for display the clock:

  1. /trigger command
  2. Holding a clock
  3. Inventory has a clock
  4. Always display the clock

Command

Use the /trigger command if you are not cheatable nor a server operator:
/trigger bossbarclock.showClock set 1 - Enable the clock
/trigger bossbarclock.showClock set 0 - Disable the clock
Those command required config settings

You can also use the command below if you have the permissions:
/scoreboard players set <ID> bossbarclock.showClock 1 - Enable the clock
/scoreboard players set <ID> bossbarclock.showClock 0 - Disable the clock

24-hour clock

The clock is displayed as a 12-hour clock by default, but making the clock show as a 24-hour clock is also possible.