Skip to content

Item Data Format

CaptainGummiball edited this page Nov 17, 2026 · 1 revision

Item Data Format

For map makers, server tools and other mods. SignIt Modern stores signatures in vanilla item components; no special item type is involved.

minecraft:custom_data

{
  signit_modern: {
    signature: {
      v: "1",
      id: "a8f3c2d1-0000-4000-8000-000000000001",
      signer: "00000000-0000-4000-8000-0000000000aa",
      name: "Alex",
      at: "1794924180000",
      rarity: "rare",
      server: "Emerald Bay",
      world: "minecraft:overworld"
    }
  }
}
Key Meaning
v schema version (1)
id unique signature id (random UUID)
signer UUID of the signing player
name player name at signing time
at time in milliseconds since 1970-01-01 UTC
rarity common, uncommon, rare, epic or legendary
server optional server label
world optional dimension id

All values are strings. Other keys in custom_data belong to other mods or maps and are never touched.

Look at it in game:

/data get entity @s SelectedItem.components."minecraft:custom_data".signit_modern

An item that has the signit_modern.signature compound counts as signed, even if the values are damaged.

minecraft:lore

The visible lines are appended to the existing lore as translatable texts with an English fallback:

Translation key English German
signit_modern.lore.signed_by Signed by: %s Signiert von: %s
signit_modern.lore.signed_on_time Signed on: year-month-day time UTC Signiert am: day.month.year time UTC
signit_modern.lore.signed_on Signed on: year-month-day Signiert am: day.month.year
signit_modern.lore.rarity Rarity: %s Seltenheit: %s
signit_modern.lore.signature_id Signature ID: %s Signatur-ID: %s

The lore is only for display; the data in custom_data is what counts. Writing this data by hand (for example with /give) creates an item that looks signed; /signit info will show "no entry" for it on any server that did not sign it.

Ledger table

SQLite table signatures (schema version 1, stored in PRAGMA user_version):

Column Type Content
signature_id TEXT, primary key signature id
signer_uuid TEXT signer UUID
signer_name TEXT name at signing time
signed_at INTEGER milliseconds since 1970-01-01 UTC
item_id TEXT e.g. minecraft:diamond_sword
rarity TEXT rarity id
server TEXT, nullable server label
world TEXT, nullable dimension id
schema_version INTEGER signature schema version

The JSONL file has one JSON object per line with the keys v, id, signer, name, at, item, rarity, server, world.

Clone this wiki locally