FAQ and troubleshooting
The problems people hit most, and how to fix them. For a specific message, see the errors catalogue.
My texture doesn't show #
- Did you restart after installing? Mods load only when the game starts.
- Is the mod switched on in the Mods tab, with no red message under it?
- Is the file name exactly the one the model viewer shows, ending
.ddsor.png? With one wrong letter in thetex1_...part the game never asks for the file. Use Save all or Copy name rather than typing it. - Is it a
.png? It must be at most 2048 x 2048. All mods' PNGs together must be at most 96 MB of pixels (24 MB on a phone). The Mods tab names a PNG it left out. - Is it in the folder
content.texturesnames inmod.json? - Is it saved with no mipmaps, as uncompressed RGBA, BC1, BC3 or BC7? The game skips a file it cannot read. BC7 needs a browser with BPTC support. Try uncompressed RGBA to rule that out.
- Does the texture change with the season or time of day? It may be drawn under another palette, with another name. Use the
$name (Any palette) to cover them all. See palettes and seasons. - Is another mod lower in the list replacing the same texture? The lowest one wins.
Where do I find a texture's name? #
You do not need to. In the model viewer, open the model, press Textures, then Save all. Every texture of the model comes already named. Paint over them and put them in your mod's textures/ folder. For one texture's exact name, pick it and press Copy name.
The viewer also lists the town's ground and water, rooms and the train window, menus, effects and more. See the textures guide.
My JSON file is refused #
JSON is strict. These are the usual slips:
- A comma after the last item in a list or object.
- A missing comma between two items.
- Curly quotes (“ ”) from a word processor instead of straight quotes (").
- A quote mark inside a line not written as
\". - The same key twice.
{
"line1": "Hello!",
"line2": "Bye!", <- the last line must not end in a comma
}A code editor such as VS Code underlines these as you type.
My script stopped #
The Mods tab row says Script stopped: and why. A reason like yourname.my-mod/main.lua:12: attempt to index a nil value points at line 12.
| Reason | What happened | What to do |
|---|---|---|
script took too long | A handler did too much work in one event. | Prepare data when the script starts, not on every talk. See limits. |
script kept the game waiting | Too many event runs were slow, each one under the hard limit. | Do less per event, or spread the work over several events. |
out of memory | Your script holds more than 4 MB, or all mods together more than 16 MB. | Keep less data in tables. |
on(): '...' is not in this mod's "scripts.events" list in mod.json | The script handles an event that mod.json does not list. | Add that event to scripts.events in mod.json. |
on(): handlers can only be added while the script loads | The script called on() after it finished loading. | Move the on() call to the top level of your file. |
A store.set error | The store is over 8 KB, or a key or value is too long. | Store less. See the store. |
A stopped script stays stopped until the next start. After you fix it, install the ZIP again and restart. In developer mode, saving the fixed file starts it again with no restart.
My villager line never appears #
- Every pool needs a
place. A pool with"place": "topic"is a topic line for small talk, after the hello. Choose the chat answer, such as "Let's talk!", not the errand answer or "Never mind". The villager picks small talk only on some chats, so name moretopics(or"any") to be heard more often, or use another place. A pool speaks inchancetalks in 100 that it fits (every one if you leave it out). Check the pool'sseason,time,weatheranddayare the ones now. A new player's first ten chats are tips from the villagers, so topics start after those. - A
helloline replaces only an everyday hello. A hello with news, such as a bee sting, is kept. - A pool for the villager by name, or for their personality, takes that place over the less specific pools. If it rolls no, the pools for everyone are not asked.
- A script's line for a place another mod higher in the list already took is not said. The Mod log says so.
- For a script,
villager_talkedmust be inscripts.events, and your handler must return a non-empty string or a talk table with aplace. - Only ordinary talks reach mods. A special talk never does. Talk to the villager again, and the next ordinary talk reaches your mod.
- Special talks are a first meeting, a villager moving out, an errand, a delivery or a contest going with you, a complaint, a pitfall, a bee chase, an islander, Kamakura and summer camp.
- A mod higher in the list may have answered first. Move yours up, or switch the other one off to test.
message("key")givesnilfor a key your messages file does not have. Check the spelling, and check thatcontent.messagesnames the file.
My shop does not change #
- The mod must be a World mod (
"scope": "world"). - Visit during your
hours, and not between 2 AM and 7 AM. - In The City, a World mod's shops are switched off.
- Goods the game cannot sell are left out and named on the mod's row.
- Is a price higher than you set? The game raises a price below what Nook pays up to that amount.
- A town fruit (apple, cherry, pear, peach, orange) is raised to 500. A coconut's lowest price is 150.
My mod was skipped, or says "made for an older game" #
- This mod did not load gives the reason. Often a file it names is missing from the ZIP.
- made for an older game means its
"api"is missing, or below the oldest level this game still runs. The game runs level 1. Set"api": 1and install it again. - needs a newer game means its
"api"is above what this game knows. Reload the page to get the newest game, or lower the number. - All switched-on mods together can unpack to 96 MB on a computer and 24 MB on a phone. Over that, a new mod installs switched off and says so, and an update to a mod that is on is refused. Switch another mod off, or make yours smaller.
A friend visit is refused #
- The message says your World mods don't match. Both towns need the same World mods that count for visits, in the same versions and order, or none. The multiplayer guide says which count.
- Compare your Mods tabs. Or switch your World mods off for the visit and restart.
- Just you mods never cause this.
- If every World mod of the host that counts is a reviewed version from the mod list, the visitor is offered to load them for that visit instead. A mod installed from a file cannot be lent.
My upload was refused #
- If it is refused straight away, the site names the rule and the file.
- The common causes are a texture that is an unchanged copy of the game's or the HD pack's, a DDS with mipmaps, a reserved
author name such as
example, a version you already shared, someone else's id, and too many uploads in an hour. - If it is refused after review, its row in the list under Share a mod shows the reason, what it means and the moderator's note. Fix it and upload again. See review.
The game will not start with my mod #
Choose Start without mods in the Mods tab, or open /play/?nomods=1. Then switch the mod off or remove it.
Where are my mods kept? Will I lose them? #
- Mods are kept in your browser's storage on that device.
- When you are signed in, your account also keeps the list of what you installed, with on or off, order and settings. Your other browsers and devices then offer to install the same mods. See other devices.
- Only mods from the mod list download on another device. A ZIP you installed from a file is never uploaded, so install that file there yourself.
- The game asks the browser to keep your mods. If the browser clears them anyway, the Mods tab tells you once. Keep your ZIPs.
Can I make mods on a phone? #
You can install and test mods on a phone. Making them is easier on a computer, because you edit files and make ZIPs. The model viewer names textures on a phone too.