Item components

TimePiece

item component · builder

Turns the item into a [timepiece] that displays the time

You can use the following options with this component:
name <name> - sets the name of the component
desc <desc> - sets the description of the component
clock <which> - the clock which this timepiece is based on
timezone <which> - sets the timezone for this timepiece
playercanset - toggles whether players can set the time on this item
display <text> - sets the time display string.

Note: With the DISPLAY subcommand you can use the following markup in the text:

$s - the seconds as a number, e.g. 21
$S - the seconds as a word, e.g. twenty one
$m - the minutes as a number, e.g. 08
$M - the minutes as a word, e.g. eight
$h - the hours as a number. Note, this ignores time intervals (e.g. 24 hour time). E.g. 15
$H - the hours as a word. Note, this ignores time intervals (e.g. 24 hour time). E.g. fifteen
$j - the hours as a number, respecting time intervals (e.g. a.m / p.m), e.g. 3
$J - the hours as a word, respecting time intervals (e.g. a.m / p.m), e.g. three
$t - the timezone abbreviation, e.g. GMT
$T - the timezone description, e.g. Grenwich Mean Time
$c - the crude time, e.g. four o'clock
$i - the interval abbreviation, e.g. a.m or p.m
$I - the interval description, e.g. in the afternoon, in the morning

← Back to Item components