| Details |
|
SignPrintf is a plugin for hMod version 124 that gives signs a formatting syntax similar to that of C's "printf" functions. The custom signs automatically update twice a second (but only when necessary -- updates aren't sent when no text has changed), and the signs are stored in a file so that they stay around even when the server closes. |
| Format code | Does this... |
| %#z | Sets the timezone according to the parameter, as hours added to/subtracted from GMT time. No parameter resets the clock functions to GMT time. |
| %h | Shows the hours of the current time on the server, in 24 hour format. |
| %j | Shows the hours of the current time on the server, in 12 hour format. |
| %i | Shows the minutes of the current time on the server. |
| %p | Shows whether the current server time is AM or PM. |
| %t | Shorthand for "%h:%i". |
| %u | Shorthand for "%j:%i %p". |
| %d | Shows the current day of the month. |
| %m | Shows the current month. |
| %y | Shows the current year, in 4 digit format. |
| %a | Shorthand for "%m/%d/%y". |
| %H | Shows the hours of the time inside of Minecraft, in 24 hour format. |
| %J | Shows the hours of the time inside of Minecraft, in 12 hour format. |
| %I | Shows the minutes of the time inside of Minecraft. |
| %P | Shows whether the current minecraft time is AM or PM. |
| %T | Shorthand for "%H:%I". |
| %U | Shorthand for "%J:%I %P". |
| %#c | Counter, starts from zero by default, goes up by 1 when right clicked, reverts to 0 when left clicked. The parameter is a starting offset. |
| %#C | Same as previous, except this counter cannot be reverted to 0 by left clicking. |
| %#x | A counter designed for larger numbers -- right clicking with a wooden tool increases the counter by 5, stone will increase it by 10, iron by 25, gold by 50, and diamond by 100. Like %c, this will revert to 0 when left-clicked, and the parameter acts as a starting offset. |
| %#X | Same as previous, except that like %C, this sign can't be reverted to 0 by left clicking. |
| %#w | Sign warp. The necessary parameter tells the sign what waypoint sign it should be looking for. You can have multiple sign warps pointing to one waypoint. |
| %#W | Sign waypoint. The necessary parameter determines what waypoint number this is. There can only be one of each waypoint number in existence at a time, you will receive an error if you try to use a number that's already used. |
| %v | Shows the current version of SignPrintf. |
| %% | Places a raw % symbol in the sign. |
| Screenshots |
![]() Counter (%c) in use. |
![]() Both a counter (%C) and minecraft time command (%U) in use. |
![]() On the left is three different server time lines, each with different time zones using %-4z, %-7z and the like. On the right is the minecraft time, again using %U. |
![]() An error message gives you details on any mistakes you might make. |