Last updated: 21 Nov 2026
TheoTown has extensive features for creating plugins. This topic collects the tutorials and documentation so you can quickly find what you need.
1. Before publishing
Every Plugin Store submission is reviewed against the Plugin Store Rules, and plugins that don't meet them are rejected. Plugins for your own use don't need to be published: you can install them locally (see section 2).
Plugin Store Rules
Copyright
Self-check before submitting
- It's your own work, or you have permission to use it. Giving credit is not enough.
- It fits the game's style: isometric perspective and scale, clean pixel art, light from the left, muted colors.
- It's more than a recolor or a small edit of an existing building.
- If you used AI for graphics, you declare it, and the result still meets the style above.
- It displays correctly in all city rotations, and you tested it in the game.
- All IDs are unique, it doesn't depend on other plugins, and the minimum version is set.
- It's balanced compared with similar in-game buildings.
- Title, description and preview image show exactly what players get.
Simple, unfinished or low-effort plugins and color-only changes are rejected.
2. Installing plugins locally
To test a plugin, open the region view, then the game menu, then File manager β plugins, and import your files. The
FAQ lists the game folder locations for each platform.
3. JSON
Creation
How to create a small building in 10 steps
How to write a plugin
Advanced tags for building plugins
How to make a json with Json Genie
Animation
Advanced smoke types
Date dependent animations
Custom animations
Lights/Night Animations
Saving plugin space using Animations
People animation
Firework
Transportation
Roads
Higher level bridges (requires prior knowledge of roads and bridges)
Cars
Tunnels
Car chains
Airplanes
The ACTUAL tutorial on flags
Road decoration
Bus stops
Pedestrians
Helicopter
Res/ind car identification
Determining vehicle direction on roads
Transportation System Extension
Upgrades & requirements
Upgrades
Enabling and Disabling Your RCI Spawning
Override
Explicit plugin overriding
Custom water
Override background
Security
Create a .ttplugin file (plugin encryption)
Hide id
How to Add a Hidden Signature
Translation
Inline translations
External translations
Misc
Custom loading texts/topics
Categories
Templates
Themes
Preview Frames
Compositions
Non-square buildings
Biomes
Fences
Heightmaps
Writing plugin.manifest files
4. Behavior via Fun
Fun is simple but quite limited, so we recommend Lua for anything non-trivial.
Fun basics
Functionality using fun
Variables
Animation control
Notifications
Date dependent fun condition
Weather manipulation
Sound with Fun
Virtual Variables
Action Index
Condition Index
5. Lua scripting
How to use Lua scripts
GUI Compendium
Dark mode compatible UI
Drawing basics
Saving data persistently
Real time script editing
Plugin settings
Tree Planter Tool Example
GUI example in Plugin Creator Tools
Lua API reference
6. Shaders (GLSL)
Custom Shaders (incomplete)
7. Graphics
Creation
A visual guide for shadows, shading, depth and noise
How to draw winter graphics
Creating a quality house plugin
How to create a plugin
How to apply textures to surfaces in Pixly
Resources
World texture
Game JSON files and assets
Building templates
8. Legend




Text tutorials by difficulty: beginner, intermediate, expert, extreme

Snippets or examples

Lists and references

Images and resources

Videos
Thanks to everyone who helped create these tutorials and documentation.