Setup your coding environment
To begin creating mods for Poly Plaza, you’ll need a script editor that supports Lua. We recommend using Sublime Text or Visual Studio Code.
Locate the Scripts folder
The Scripts folder is located in your Poly Plaza installation directory:
- Open Steam
- Right-click on Poly Plaza
- Select “Properties”
- Go to “Local Files”
- Click “Browse Local Files”
- Open the “Scripts” folder inside of the PolyPlaza folder
Directory structure
The Scripts folder contains several default Lua files that power the base game. Important notes:
- Be careful when modifying default files as they control core game functionality
- The Scripts folder resets with each game update
- We recommend keeping your mod files in a separate backup location and copying them to the Scripts folder for testing
Create your first mod
- Create a new folder inside the Scripts directory
- Add your Lua files inside this folder
- Your mod will automatically load when you start Poly Plaza
Example mod structure:
PolyPlaza/
└──Scripts/
└── MyFirstMod/
├── init.lua
└── customFeatures.lua
When you launch Poly Plaza, the game will automatically detect and load your mod files.
Testing your mod
- Make sure your Lua files are in the Scripts folder
- Launch Poly Plaza
- The game will load your mod automatically
Keep a backup of your mod files outside the Scripts folder to prevent losing your work during game updates.