Back to mods

Vintage Story Mod DB · Vintage Story mod

LexiconLib

LexiconLib LexiconLib is a Vintage Story mod that turns book text into SVG glyphs through reusable icons. Features • paragraph-based lexicon mode for books • optional per-paragraph glyph size • automatic glyph discovery from SVG filenames • longest-match

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which LexiconLib release should I use?

Updated 2 months ago
Latest stable file 0.4.3
Game version 1.21.0-pre.1, 1.21.0-pre.2, 1.21.0-pre.3
Loader Built-in Vintage Story mod system

LexiconLib 0.4.3 targets 1.21.0-pre.1, 1.21.0-pre.2, 1.21.0-pre.3. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is LexiconLib required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does LexiconLib 0.4.3 need?

0.4.3. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add LexiconLib without breaking your instance.

Built for LexiconLib 0.4.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.4.3. It targets 1.21.0-pre.1, 1.21.0-pre.2, 1.21.0-pre.3; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.4.3. It opens that exact file at the source.

About this project

What does LexiconLib add?

LexiconLib

LexiconLib is a Vintage Story mod that turns book text into SVG glyphs through reusable icons.

Features

  • paragraph-based lexicon mode for books
  • optional per-paragraph glyph size
  • automatic glyph discovery from SVG filenames
  • longest-match-first transliteration
  • support for multiple lexicons at once
  • admin /decypher command that creates a readable copy of a held book
  • external lexicon loading from VintagestoryData/ModData/LexiconLib

Book Syntax

Basic paragraph mode:

{{lexicon:demo_pixel24}}
Hello everyone. This whole paragraph will be rendered with the selected lexicon.

With explicit size:

{{lexicon:demo_pixel24,size:24}}
Hello everyone.

The lexicon remains active until the next blank line.

Built-in Assets

Bundled lexicons are stored here:

assets/ lexiconlib/ textures/ icons/ demo_pixel24/

Each .svg filename becomes an exact glyph match:

  • a.svg -> a
  • th.svg -> th
  • cha.svg -> cha

When multiple matches are possible, the mod always tries the longest one first.

External Lexicons

Players and server admins can add new lexicons without editing the mod zip or the JSON config.

Create folders here:

VintagestoryData/ ModData/ LexiconLib/ assets/ lexiconlib/ textures/ icons/ mylexicon/ a.svg th.svg cha.svg

The folder name becomes the lexicon code.
Example: mylexicon can be used with:

{{lexicon:mylexicon}}

Config

The packaged config file is lexiconlib.json.

It controls:

  • bundled lexicon definitions
  • shortcut delimiters
  • default glyph size
  • glyph wrap separator
  • debug logging

Admin Command

/decypher

Usage:

  • hold a readable book in your main hand
  • run /decypher
  • receive a deciphered copy in your inventory

The original book is never modified.

Current Status

This version supports:

  • {{lexicon:code}}
  • {{lexicon:code,size:24}}
  • reading and rendering SVG glyphs in books
  • external lexicon folders in VintagestoryData/ModData/LexiconLib
  • /decypher for admins or single-player hosts

Project description from Vintage Story Mod DB.

Pick your setup

LexiconLib releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

40 available setups

Showing the newest 12 of 40 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

LexiconLib versions and loaders

2 of 2 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.