Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Mods (short for modifications) are external changes of Don't Starve game content from what it originally was for the PC version only. Mods are usually developed by the Don't Starve community. They present new player experiences and tweaks to the game, such as making the game easier or harder, or modifying game attributes that change the way certain elements in the DS World function.
There are various kinds of mods including Modding Tools, Game Modifications, Language Packs, Custom Maps and new Characters.
Find the mods folder under:
Windows: C:/Program Files/Steam/steamapps/common/Don't Starve/mods/ OS X: ~/Library/Application Support/steamapps/common/Don't Starve/dont_starve.app/Contents/mods/ Linux/SteamOS: ~/.steam/steam/steamapps/common/Don't Starve/mods/
If your release has nothing to do with Steam, Find the mods folder under:
Windows: C:/Program Files/Don't Starve/mods/
Change dont_starve to dontstarve_steam and Don't Starve to Don't Starve Together for Don't Starve Together.
For Windows, look under
Program Files (x86). If you have Steam installed elsewhere, look there. For OS X, right-click on the application and click show package contents or use a terminal to
cd to get in the app.
~ means your home directory.
Players should know that Klei is not able to help you should issues arise while using mods. Use with caution!
Here is a simple procedure for installing mods, however, some mods may have different installation procedures. The following procedure is just a reference for players.
If downloading from the Workshop, all you need to do is subscribe it, go into the game and activate the mod from the "Mods" menu.
If downloading from the forums, unzip the mod under the mods folder mentioned above.
Read Don’t Starve Together Dedicated Servers#Mods if you are using a dedicated server.
If players have accidentally installed mods incorrectly, then usually the best thing to do is to use the backup players have made. However, there is an alternative method if players forget to create backup.
If you installed a broken mod from Steam Workshop, just unsubscribe it. Also don't forget to tell the author about the crash and a list of all mods you have in the folder.
If it comes from a zip file that you unpacked, go to the mods folder mentioned above, then delete that mod folder, or move it elsewhere. In 99% of cases so far, players should only have to delete their scripts folder. Now, some of the players may realize that this is like dropping a bomb to kill a spider, but that's okay. It just guarantees that all traces of mods are removed.
Finally go to your Steam Library, Right-Click on your game and choose properties. In the tab Local Files, choose verify integrity of game cache. Steam will take care of the whole thing.
Before creating new mods, players should read the Guidelines. Players are recommended to be familiar with the Lua language and the TEX file format before creating any mods. There are also tutorials on the forum. The API doc (see below) also has one.
Basic API Info Edit
The mod system takes two most important files,
modmain.lua. The earlier contains multiple info about your mod, like the name, version, and version compatibility. The latter is like the
main() function in other languages—that is, where the mod system invoke and loads your mod. It has an environment itself.
data/scripts folder under the game's program directory contains lua code for the vanilla game itself. You can refer to them for some API info. An unofficial API doc is also available.
Modding Tools Edit
|Klei Studio||Handsome Matt||Hungry for your hunger||Edit TEX and animation files of Don't Starve.|
|Mod Library||WrathOf||The End is Nigh||Provide support for modders and additional functions.|
|Don't Starve Mod Tools||Klei Enterteinment||1965676||Allow Modders to Upload to the Steam Workshop|
Since you are writing some code, you may want a text editor that supports syntax highlighting in Lua, so you can see the code clearly. Notepad++, Vim and Atom are often popular choices. You can also use Integrated development environments (IDE), since they may be even smarter.
Language Packs Edit
Players may download a language pack if their language is not supported by the game. Search through them here.