Pig Pen Cipher

A font mod by Darkhax that adds the historical Pigpen cipher as a Minecraft font for books, chat, tooltips, and more — with `/pigpen` commands to encode and decode books, signs, and item names.

📖 Introduction

Pig Pen Cipher is a font mod by Darkhax. What it does is plain: it adds the Pigpen cipher as a Minecraft font, usable in books, chat, tooltips, and other in-game text.

What the Pigpen cipher is — a simple substitution cipher that maps letters onto the shape of a grid cell. The alphabet is laid out across two 3×3 grids and two X-shaped grids, and each letter is written as the lines enclosing it, with the second set of each pair marked by a dot. It's associated with the Freemasons — hence "Freemason's cipher" — and the grid gives it the nickname "tic-tac-toe cipher." Anyone with the key can reverse it exactly; it's a cipher of notation, not of security.

Commands

- /pigpen say — posts an enciphered message to chat. (The plaintext is logged server-side.) - /pigpen hand — renames the held item into cipher. Requires operator permission level 2. - /pigpen book (encode|decode) — converts a held book between plaintext and cipher. Permission level 2. - /pigpen tile (encode|decode) — converts a tile entity such as a sign. Permission level 2.

It also supports specifying the font ID directly via NBT in vanilla commands.

Against the same author's Runelic — Runelic is also a Darkhax font mod, but it adds a runic font. Runes are notation for atmosphere; Pigpen is a cipher you can actually read back. The two are separate fonts and don't collide if you run both.

It supports Forge, NeoForge, Fabric, and Quilt.

🕒 When to Use This Mod

When you want ciphered text on books, signs, or item names. Most of the commands require operator permission.

📦 Where It Matters Most

Adventure and map-building contexts where notation and atmosphere matter. It touches nothing in progression.

🎮 How It Changes Your Playthrough

Letters turn into fragments of a grid. Unreadable without the key, exact with it.

🚀 Getting Started — First 30 Minutes

Step 1 — Get the Pigpen key. Two 3×3 grids and two X grids; the second set of each pair takes a dot. That's all you need to read and write it.

Step 2 — Post a line with /pigpen say. It's the quickest check that the font is applying.

Step 3 — Convert a book or sign with /pigpen book encode or /pigpen tile encode. Both need operator permission level 2.

💡 Gameplay Tips

  • /pigpen hand, book, and tile need operator permission level 2. Ordinary players can't run them — check permissions on a server.
  • /pigpen say logs the plaintext server-side. It is not a real secret-communication channel.
  • /pigpen book decode reverses it, so an enciphered book can always be read back as plaintext — nothing is lost.
  • You can also set the font directly via NBT in vanilla commands — handy when building maps.

⚠️ Common Confusing Points

  • • This is not security. The key is public — it's a historical substitution cipher — and /pigpen say writes the plaintext straight into the server log.
  • • Most commands are operator-gated. Off singleplayer, a player without permission level 2 cannot encode or decode.

❓ FAQ

What is the Pigpen cipher?

A simple substitution cipher that maps letters to grid-cell shapes. The alphabet sits across two 3×3 grids and two X grids; each letter is written as the lines around it, with the second set of each pair dotted. It's tied to the Freemasons — "Freemason's cipher" — and nicknamed the "tic-tac-toe cipher" for its grid.

Where does it apply?

As a font across in-game text — books, chat, tooltips, and more. The /pigpen commands encode and decode books, signs, and held item names.

Can anyone run the commands?

/pigpen say posts an enciphered chat message, but hand, book, and tile require operator permission level 2. An ordinary player on a server will be blocked.

How is it different from Runelic?

Both are Darkhax font mods, but Runelic adds a runic font while Pig Pen Cipher adds a historical substitution cipher you can actually decode. They're separate fonts and don't conflict.

📦 Modpacks With This Mod

🔗 Related Mods