Skip to main content

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:
  1. Open Steam
  2. Right-click on Poly Plaza
  3. Select “Properties”
  4. Go to “Local Files”
  5. Click “Browse Local Files”
  6. 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

  1. Create a new folder inside the Scripts directory
  2. Add your Lua files inside this folder
  3. 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

  1. Make sure your Lua files are in the Scripts folder
  2. Launch Poly Plaza
  3. 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.