Starter kits and downloads
These are ready-made mods to start from. Each ZIP installs as it is, so you can see it working before you change it. To install one, open Settings, then Mods, and choose Install from a file.
Every download here comes from GitHub, from the public repositories the files are made in. The links go straight to the file.
Starter kits #
Unzip a kit, put your own name in its mod.json and follow its README.txt. Each kit also carries
VS Code settings. The kits are files of a release of playac-mods,
made from its templates folder.
| Kit | For | Inside |
|---|---|---|
| Villager lines kit | Writers. Villagers say your lines, for everyone, by personality or by name. You edit one text file, talk.json, with no code. | mod.json, talk.json, README.txt |
| Script kit | Scripters. A Lua script that handles the everyday events and a fish caught, keeps saved data, reads a setting, uses another mod when it is there, and has villagers say a line only when you carry an apple. | mod.json, main.lua, messages.json, README.txt |
| Shop kit | Writers. Your own flower shop name, hours, greeting and stock, and goods of your own at Nook's. | mod.json, shops.json, README.txt |
| Texture kit | Artists. A texture mod that works as it is. The town grass becomes a green check. Paint over it or add your own textures. | mod.json, textures/README.txt, README.txt, textures/*.dds (3 pictures) |
The texture kit works as it is. It turns the town grass into a green check. To repaint other textures, find their names
in the model viewer. Then save your pictures in the kit's textures/ folder under those names. The artist path has every step, and the Springtime Town example below is another
texture mod to start from.
The lines kit has no code. Its talk.json holds pools of lines for everyone, a personality or one
villager, and the villagers say them as small talk when you choose to chat, or in another place in the talk. The script kit shows the other way, a line from Lua
that depends on something: a villager notices an apple in your pockets. The Lines guide says which to use.
Example mods #
The cookbook explains each one, file by file. Each is a public repository on GitHub, and each version is a release there with the mod's ZIP attached.
- Springtime Town (Textures and villager lines, no code). Repository: playac-example-springtime-town, release v1.0.0.
- After Hours (Nook's at night, an item with its own pictures). Repository: playac-example-after-hours, release v1.0.0.
- Harvest Post (Calendar days, letters, a script with commands and a timer). Repository: playac-example-harvest-post, release v1.0.0.
- Button Tricks (Buttons, looks, weather, reactions and saves). Repository: playac-example-button-tricks, release v1.0.0.
Tools #
- JSON schemas. With a schema, your editor checks a file as you type: mod.schema.json (mod.json), shops.schema.json (shops.json (flower shop and Nook's)), messages.schema.json (a messages file, which cannot name its own schema, so map it in your editor), mod-items.schema.json (an items file), letters.schema.json (a letters file), calendar.schema.json (a calendar file), talk.schema.json (a talk pools file). A
mod.jsonorshops.jsoncan name its own with"$schema": "https://playaconline.com/schemas/mod.schema.json". The game ignores that key. - Lua type hints. playac.lua has every call and event, for VS Code's Lua extension (by sumneko). Add it to
Lua.workspace.library. The public repository has the same file as api/playac.lua. - The item list. items.json has every item and piece of furniture, with its name, price, lowest price and which shop can stock it. The item reference shows the same list as a page.
- The whole API as data. Download api.json.
- The playac-mod tool. It needs Node.js 18.17 or newer. Its commands are
check,devandpack. Install the tool withnpm install -g https://github.com/Play-AC-Online/playac-mods/releases/download/cli-v1.1.0/playac-mod-1.1.0.tgz.That is playac-mod-1.1.0.tgz, release 1.1.0, a file of a GitHub release of playac-mods. Its SHA-256 and every command are on The playac-mod tool. - Developer mode. It needs no download. Open the game with
?moddev=1. In Settings, Mods, choose your folder, or press Connect to reachplayac-mod dev. Then restart once. See Testing.
For AI assistants, get the AI pack, from the same release of playac-mods as the starter kits. Make mods with an AI assistant says how to use it.
The public repository #
The public repository on GitHub holds every starter kit as plain folders, the API files, the setup guides and the tool's source. Its releases hold the kits' ZIPs, the AI pack and every release of the tool. Each example mod is its own repository. All of it is under the MIT licence, and a mod you make from a kit or an example is yours.