first commit

This commit is contained in:
Gitea
2023-08-19 17:56:41 +08:00
commit ae499b3510
29 changed files with 842 additions and 0 deletions

6
mods/INSTALLING_MODS.txt Normal file
View File

@@ -0,0 +1,6 @@
Looking to add mods to your game?
1) Head to the mod downloads section in the Klei Forums
http://forums.kleientertainment.com/downloads.php
2) Unzip the files you download to this location
3) Start the game, go to the mods menu, and enable the mods you'd like to run!

8
mods/MAKING_MODS.txt Normal file
View File

@@ -0,0 +1,8 @@
Want to make your own mods?
1) Download some mods other users have made to see what a mod looks like!
http://forums.kleientertainment.com/files/
2) Create or copy a folder in this location (mods folder) and you've started modding.
2) Having trouble? Head to the mod discussion forum for advice and support. (Feel free
to ask for @Ipsquiggle, Klei's modding representative!)
http://forums.kleientertainment.com/forum/79-dont-starve-together-mods-and-tools/

View File

@@ -0,0 +1,11 @@
--There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.
--ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
--The Workshop id can be found at the end of the url to the mod's Workshop page.
--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795
--ServerModSetup("350811795")
--ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.
--The Workshop id can be found at the end of the url to the collection's Workshop page.
--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180
--ServerModCollectionSetup("379114180")

17
mods/modsettings.lua Normal file
View File

@@ -0,0 +1,17 @@
-- Use the "ForceEnableMod" function when developing a mod. This will cause the
-- game to load the mod every time no matter what, saving you the trouble of
-- re-enabling it from the main menu.
--
-- Note! You shout NOT do this for normal mod loading. Please use the Mods menu
-- from the main screen instead.
--ForceEnableMod("kioskmode_dst")
-- Use "EnableModDebugPrint()" to show extra information during startup.
--EnableModDebugPrint()
-- Use "EnableModError()" to make the game more strict and crash on bad mod practices.
--EnableModError()