Source-checkedGameplay & overhauls

Pig Pen Cipher

by Darkhax · for Minecraft

Adds the pigpen cipher to Minecraft

1.5MDownloads
40d agoLast updated
LGPL-2.1-onlyLicense
Fabric · Forge +2Loaders

About Pig Pen Cipher

From Modrinth

Adds the pigpen cipher to Minecraft

This mod adds the Pig Pen Cipher to Minecraft as a new font. This can be used for books, fonts, chat messages, tooltips, and virtually any other text in the game.

Overview

The Pig Pen Cipher is a simple substitution cipher used to encode messages which use the English alphabet.

User Guide

Using the Cipher

The Pigpen Cipher is sometimes referred to as a tic-tac-toe cipher. This is because the key used to encode/decode characters looks like a tic-tac-toe board.

To write a character using the Pigpen Cipher you simply replace the character with the lines that surround the character. For example if you want to write the letter A you would draw a backwards L shape and an E would be drawn as a square. If the symbol contains a dot you would use the version on the right, so a square with a dot inside of it is an N. The eight lower characters follow the same rules, T would be an arrow pointing right and W would be an arrow pointing down with a dot in it.

While the cipher may seem complicated at first it will become a lot easier to understand with some practice.

Commands

If this mod is installed on a Forge server you will be able to use some custom commands to help you use this mod. These commands can also be used in single player if the mod is installed.

  • /pigpen say - Posts a message in chat using the cipher. All players can use this command. The plaintext version is logged in the server console.
  • /pigpen hand - Renames the held item with cipher. Limited to lvl 2 ops.
  • /pigpen book (encode|decode) - Rewrites a held book to use cipher. Can also turn encoded books into plaintext books. Limited to lvl 2 ops.
  • /pigpen tile (encode|decode) <pos> - Rewrites a tile entity such as a sign to use cipher. Limited to lvl 2 ops.

Code

If you're developing a mod or have access to code/scripting tools you can apply the cipher to an ITextComponent by modifying the style of the component.

// MCP names not yet available
// func_240703_c_ = setStyle
// func_240719_a_ = setFontId
IFormattableTextComponent text = new StringTextComponent("Hello World");
text.func_240703_c_(text.getStyle().func_240719_a_(new ResourceLocation("pigpen", "pigpen")));

Vanilla Commands & NBT

Any vanilla command which allows you to specify a text component can use cipher by defining the font ID in the text properties. For example it can be used in the give command, or in the title command.

/give @p stone{display:{Name:"[{\"text\":\"Hello\",\"italic\":false,\"color\":\"gold\",\"font\":\"pigpen:pigpen\"}]"}} 1

/title @a title {"text":"Hello","font":"pigpen:pigpen"}

 

Highlights

From source data

Game versions

Supports 25 Minecraft versions, the newest being 26.3.

Loaders

Runs on Fabric, Forge, NeoForge and Quilt.

Footprint

Rated a light load on a server.

Pig Pen Cipher on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Fabric, Forge, NeoForge, Quilt
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
26.3.0.1, released 2026-09-25

Game versions by loader

LoaderGame versionsNewest
Fabric26.1 to 26.3 (5 versions)26.3
NeoForge26.2 to 26.3 (2 versions)26.3

From 5 recorded builds of Pig Pen Cipher.

Recent builds

BuildReleasedGame versionsLoaders
26.3.0.12026-09-2526.3NeoForge
26.3.0.12026-09-2526.3Fabric
26.2.0.12026-06-1826.2Fabric
26.2.0.12026-06-1826.2NeoForge
26.1.2.42026-06-1826.1 to 26.1.2 (3 versions)Fabric

Run Pig Pen Cipher on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Runs on your server

From source side support

Modrinth lists Pig Pen Cipher as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
FabricForgeNeoForgeQuilt
Runs on
Serverrequired on the server
Game versions
26.3 and 24 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓AuthorDarkhax, as published on Modrinth
  • ✓LicenseLGPL-2.1-onlyFree

Pig Pen Cipher, answered

Generated from the mod’s own source data.

Do my players need to install Pig Pen Cipher?

Modrinth lists Pig Pen Cipher as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric, Forge, NeoForge and Quilt.

Is it free?

Yes. Pig Pen Cipher is free to download from Modrinth. Its license is LGPL-2.1-only.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Pig Pen Cipher on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add Pig Pen Cipher in one click.