首先进入文件夹C:\Users\用户名\Documents\Klei\DoNotStarveTogether(上述文件位置针对Win8.1系统;如果是XP系统则是在"我的文档"文件夹下的Klei\DoNotStarveTogether;如果是Win7系统则可以访问"文档"的库\Klei\DST文件夹)然后把settings.ini里的[MISC]下面那一列改成"CONSOLE_ENABLED=true"(也就是false改成true)保存后关闭,进入游戏后按下"~"(这个键一般在数字1左边,Tab键上方)呼出控制台输入如下命令即可获取相应的物品到背包c_give("物品英文名",数量),举例:通例:c_give("redgem")你的背包里会多一块红宝石(因为不输入数量就默认为1)c_give("log",50)你的背包里会多50个木头特例:c_give("tallbirdnest",10)你的鼠标当前位置处会设置一个高脚鸟巢穴,过几秒后会出现10只成年的高脚鸟(因为高脚鸟巢穴无法放入背包)最后放一些网上公布的作弊码:(请使用Ctrl+F在本页查找你所需的代码)DebugSpawn"resurrectionstone"即可在鼠标位置放置一个试金石,区分大小写,按Ctrl+L关闭控制台。Bamboo(竹子)材料:nitre(硝石)redgem(红宝石)purplegem(紫宝石)greengem(绿宝石)orangegem(橙宝石)yellowgem(黄宝石)houndstooth(犬牙)pigskin(猪皮)log(木头)livinglog(活木头)twigs(树枝)cutgrass(草)petals(花瓣)petals_evil(噩梦花瓣)poop(便便)silk(蜘蛛丝)spidergland(蜘蛛腺体)rocks(岩石)flint(燧石)rope(绳子)boards(木板)cutstone(石砖)goldnugget(黄金)beardhair(胡子)beefalowool(牛毛)pinecone(松果)charcoal(木炭)ash(灰)cutreeds(采下的芦苇)papyrus(纸)honeycomb(蜂巢)stinger(蜂刺)walrus_tusk(海象牙)feather_crow(乌鸦羽毛)feather_robin(红雀羽毛)feather_robin_winter(雪雀羽毛)horn(牛角)tentaclespots(触手皮)trunk_summer(夏象鼻)trunk_winter(冬象鼻)nightmarefuel(噩梦燃料)bluegem(蓝宝石)deerclops_eyeball(巨鹿眼球)gears(齿轮)marble(大理石)slurtleslime(蜗牛龟粘液)slurtle_shellpieces(蜗牛龟壳片)guano(鸟粪)lightbulb(荧光果)slurper_pelt(缀食者之皮)thulecite(铥矿石)minotaurhorn(远古守护者角)thulecite_pieces(铥矿碎片)coontail(浣熊尾巴)工具和武器:lucy(露西斧子)book_birds(召唤鸟的书)book_tentacles(召唤触手的书)book_gardening(催生植物的书)book_sleep(催眠的书)book_brimstone(召唤闪电的书)abigail_flower(阿比盖尔之花)balloons_empty(空气球)balloon(气球)lighter(薇洛的打火机)compass(指南针)sewing_kit(缝纫工具包)gunpowder(火药)backpack(背包)piggyback(猪皮包)krampus_sack(坎普斯背包)umbrella(雨伞)axe(斧子)hammer(锤子)goldenaxe(黄金斧头)trap(陷阱)hambat(火腿短棍)torch(火炬)trap_teeth(牙齿陷阱)trap_teeth_maxwell(麦斯威尔的牙齿陷阱)birdtrap(鸟陷阱)amulet(红色护身符)blueamulet(蓝色护身符)purpleamulet(紫色护身符)yellowamulet(黄色护身符)orangeamulet(橙色护身符)greenamulet(绿色护身符)pickaxe(镐)goldenpickaxe(黄金镐)shovel(铲子)goldenshovel(黄金铲子)pitchfork(草叉)goldenpitchfork(黄金草叉)heatrock(保温石)spear(矛)tentaclespike(狼牙棒)razor(剃刀)bedroll_straw(草席卷)bedroll_furry(毛皮铺盖卷)panflute(排箫)bugnet(捕虫网)fishingrod(鱼竿)blowdart_sleep(麻醉吹箭)blowdart_fire(燃烧吹箭)blowdart_pipe(吹箭)beemine(蜜蜂地雷)onemanband(独奏乐器)pumpkin_lantern(南瓜灯)boomerang(回旋镖)nightsword(暗影剑)icestaff(冰魔杖)firestaff(火魔杖)telestaff(传送魔杖)orangestaff(橙色魔杖)greenstaff(绿色魔杖)yellowstaff(黄色魔杖)diviningrod(探矿杖)cane(行走手杖)lantern(提灯)batbat(蝙蝠短棒)multitool_axe_pickaxe(多功能工具)ruins_bat(远古短棒)nightmare_timepiece(铥矿奖章)waxwelljournal(麦斯威尔的日志)头饰和穿着:sweatervest(小巧背心)footballhat(猪皮帽)strawhat(草帽)tophat(高礼帽)flowerhat(花环)beefalohat(牛毛帽)featherhat(羽毛帽)armorwood(木盔甲)armorgrass(草盔甲)armormarble(大理石盔甲)armor_sanity(夜魔盔甲)beehat(蜂帽)walrushat(海象帽)earmuffshat(兔耳罩)winterhat(冬帽)minerhat(矿工帽)spiderhat(蜘蛛帽)trunkvest_summer(夏日背心)trunkvest_winter(寒冬背心)bushhat(丛林帽)slurtlehat(蜗牛帽子)armorsnurtleshell(蜗牛龟盔甲)armorruins(远古盔甲)armorslurper(饥饿腰带)ruinshat(远古王冠)建筑:ancient_altar(远古祭坛)ancient_altar_broken(损坏的远古祭坛)ruins_statue_head(远古头像)ruins_statue_mage(远古法师雕像)chessjunk1(损坏的机械1)chessjunk2(损坏的机械2)chessjunk3(损坏的机械3)winterometer(寒冰温度计)rainometer(雨量计)rabbithouse(兔房)cave_exit(洞穴出口)turf_woodfloor(木地板)turf_carpetfloor(地毯地板)turf_checkerfloor(棋盘地板)cookpot(锅)icebox(冰箱)adventure_portal(冒险之门)rock_light(火山坑)campfire(营火)slow_farmplot(一般农田)fast_farmplot(高级农田)firepit(石头营火)gravestone(墓碑)homesign(路牌)mound(坟墓土堆)pighouse(猪房)pond(池塘)pond_cave(洞穴池塘)rabbithole(兔房)rock1(带硝石的岩石)rock2(带黄金的岩石)rock_flintless(只有石头的岩石)skeleton(人骨)pighead(猪头棍)mermhead(鱼头棍)tent(帐篷)pigtorch(猪火炬)resurrectionstatue(肉块雕像)resurrectionstone(重生石)researchlab(科学机器)researchlab2(炼金术引擎)researchlab3(阴影操纵者)researchlab4(灵子分解器)treasurechest(木箱)skullchest(骷髅箱)pandoraschest(华丽的箱子)minotaurchest(大华丽的箱子)beehive(野生蜂窝)beebox(蜂箱)wasphive(杀人蜂窝)walrus_camp(海象窝)tallbirdnest(高鸟窝)birdcage(鸟笼)teleportato_ring(环状传送机零件)teleportato_box(盒状传送机零件)teleportato_crank(曲柄状传送机零件)teleportato_potato(球状传送机零件)teleportato_base(传送机零件底座)teleportato_checkmate(传送机零件底座)wormhole(虫洞)wormhole_limited_1(被限制的虫洞)wall_wood_item(木墙)wall_stone_item(石墙)wall_ruins_item(铥墙)wall_hay_item(草墙)wall_wood(地上的木墙)wall_stone(地上的石墙)wall_ruins(地上的铥墙)wall_hay(地上的草墙)animal_track(动物足迹)dirtpile(可疑的土堆)nightlight(暗夜照明灯)telebase(传送核心)gemsocket(宝石看台)houndmound(猎犬丘)houndbone(狗骨头)mermhouse(鱼人房)marblepillar(大理石柱子)marbletree(大理石树)treasurechest_trap(箱子陷阱)meatrack(晾肉架)lightning_rod(避雷针)slurtlehole(蜗牛窝)stalagmite_full(大圆洞穴石头)stalagmite_med(中圆洞穴石头)stalagmite_low(小圆洞穴石头)stalagmite_tall_full(大高洞穴石头)stalagmite_tall_med(中高洞穴石头)stalagmite_tall_low(小高洞穴石头)batcave(蝙蝠洞)monkeybarrel(猴子桶)stafflight(小星星)relic(废墟)ruins_rubble(损毁的废墟)bishop_nightmare(损坏的雕像)rook_nightmare(损坏的战车)knight_nightmare(损坏的骑士)pottedfern(盆栽)eyeturret(固定在地上的眼睛炮塔)eyeturret_item(可带走的眼睛炮塔)nightmarelight(影灯)spiderden(蜘蛛巢穴)basalt(玄武岩)basalt_pillar(高玄武岩)insanityrock(猪王矮柱石)sanityrock(猪王高柱石)ruins_chair(远古椅子)ruins_vase(远古花瓶)ruins_table(远古桌子)食物:red_mushroom(红蘑菇)red_cap(采摘的红蘑菇)red_cap_cooked(煮熟的红蘑菇)green_mushroom(绿蘑菇)green_cap(采摘的绿蘑菇)green_cap_cooked(煮熟的绿蘑菇)blue_mushroom(蓝蘑菇)blue_cap_cooked(煮熟的蓝蘑菇)blue_cap(采摘的蓝蘑菇)carrot(胡萝卜)pumpkin(南瓜)dra