左メニュー
左メニューサンプル左メニューはヘッダーメニューの【編集】>【左メニューを編集する】をクリックすると編集できます。ご自由に編集してください。掲示板雑談・質問・相談掲示板更新履歴最近のコメントカウン...
Icon Book.png | このページは未翻訳の部分があります。 こちらを参考に翻訳を行い、記事を完成させましょう! |
Console(コンソール)はデフォルトで有効になっています。何らかの理由で無効となっている場合は、ファイル「settings.ini」で設定を行う必要があります。これは「DoNotStarveTogether」フォルダにあります:
Windows, Mac:「settings.ini」データをメモ帳で開き、[MISC]の項目を探します。ENABLECONSOLE = trueであれば問題ありませんがfalseとなっている場合はtrueに書き換えましょう。
デフォルト設定であればコンソールはゲームプレイ中に「@」キーを押すことで開くことができます。キーは設定で変更可能です。
Notes:
多くの Don't Starve Command は引き続きDSTでも利用できるのでこちらも参照してください。
DebugSpawn("prefab") の拡張版。「prefab」にオブジェクトのコード、「amount」に呼び出すオブジェクトの数を指定し、マウスカーソルの下に指定されたオブジェクトを生成します。
「prefab」にオブジェクトのコード、「amount」に呼び出すオブジェクトの数を指定し、指定されたオブジェクトをインベントリ上に呼び出します。バックパックやアイテムのようなインベントリに収めることができるオブジェクトのみ対象です。
Apply a scenario script to the selection and run it.
「percent」の部分に任意の数値を入れることでそれに応じた現在の体力を指定できます。例:0.90 = 90%
「percent」の部分に任意の数値を入れることでそれに応じた現在の正気度を指定できます。例:0.90 = 90%
「percent」の部分に任意の数値を入れることでそれに応じた現在の満腹度を指定できます。例:0.90 = 90%
「percent」の部分に任意の数値を入れることでそれに応じた現在の濡れ度を指定できます。例:0.90 = 90%
「degrees」の部分に任意の数値を入れることでそれに応じた現在の体温を指定できます。例:30 = 30°
体力、正気度、満腹度が減らなくなり、あらゆるダメージを受けなくなります。ゴッドモード中にはコマンドを使用してステータスを変更することはできません。あなたが死んでいる場合はあなたを復活させます(c_godmode()で復活した場合、ゴッドモードにはなりません)。コマンドをもう一度入力するとゴッドモードを解除できます。
ゴッドモードと同じ効果に加えて、使用時にステータスを全回復させます。あなたが死んでいる場合はゴッドモードと同じようにあなたを復活させます(c_supergodmode()で復活した場合、ゴッドモードにはなりません)。コマンドをもう一度入力するとゴッドモードを解除できます(c_godmode()でも解除可能)。
「multiplier」に任意の数値を入れることで移動速度の倍率を変更できます。標準の移動速度は1.2です。2と入れると二倍の速さで移動でき、20以上の倍率を入力することで壁を通り抜け、水の上を簡単に歩くことができます。
他にもたくさんのコマンドがありますが、それらは使いにくく、あまり役に立ちません。
Note: Most of them will not work if you are a client and not an admin sending a remote control ( switching to remote mode with Ctrl ) .
Enabled by default, setting it to "false" will exchange rubberbanding for choppiness, but is often helpful for combat. This only does anything if executed by a client, hosts do not have prediction.
You can craft everything.
Change the Maximum Health of your character
Change the Maximum Sanity of your character
Change the Maximum Hunger of your character
Your character won't starve anymore.
Changes the Damage Multiplier of your character.
Turn Woodie into the Werebeaver. Change the .01 to 1 if you want to get out of Werebeaver form.
Note: Many of the following commands that are normally applied to your player, such as c_godmode() or c_sethealth(1), can be applied to other players by using c_select(AllPlayers[number]) first. So you will have the need for a playerlist to get the player numbers:
AllPlayers[1] will get ThePlayer if you are the host. Other players should have numbers as shown on the scoreboard (In certain situations, the number may be wrong. You can be more precise by using c_listallplayers() first to see the username and character for each player number.. Most of ThePlayer commands can be used with AllPlayers[number] instead of ThePlayer.
Replace command with another command, using "v" instead of AllPlayers[number]. For example, "for k,v in pairs(AllPlayers) do c_move(v) end" will move all players to the mouse position.
Moves the player to the cursor position.
Kills the player.
Resurrects the player.
Teleports you to to the player corresponding to the player number from c_listallplayers().
Drop everything from player's inventory corresponding to the player number from c_listallplayers()
This will delete their items, so it is recommended that you kill them first to drop their items, or let then DropEverthing() as shown above.
As of June 25, 2016, a new set of commands are introduced to call players. You can call a player by their player name instead of player number UserToPlayer('PlayerName'). For example, to kill a player called 'PlayerA' with player number 5, instead of doing:
AllPlayers[5]:PushEvent('death')This requires you to first run c_listallplayers() and figure out player number.
you can simply do this:
UserToPlayer('PlayerA'):PushEvent('death')After pressing enter, it teleports you to the first numerical instance of the named prefab. If multiple iterations of the prefab exist, a list of the entity numbers will be displayed in the console log, and each subsequent execution of the same command will transport the player from entity to entity in the order they were generated in the world.
After pressing enter, it deletes the item under your mouse. Use the second command on dedicated servers, the first command will not work.
This is a local-only command and will not work if you are a client.
Skips x days. Change x to skip more days or parts of days (e.g. 16*30*4.5 to skip 4.5 days)WARNING: Too big values may freeze the game. (Depending on computer speed)
Skips X time units and performs the "LongUpdate" function on world objects
Note: There are 30 time units per segment. To skip a whole day one can either use LongUpdate(480) or use multiplicative values such as LongUpdate(X*16*30) or LongUpdate(X*TUNING.TOTAL_DAY_TIME), with X=days to skip.
Skips the current phase.
Sets amount of segments. Errors if x + y + z adds up to over 16. Note that this will get reset the next day.
Example:
Very long day, very short dusk and night (one segment for dusk and one for night)
Sets amount of segments. Errors if x + y + z adds up to over 16. Unlike setclocksegs, this is permanent.
Example:
Very long day, very short dusk and night (one segment for dusk and one for night), with a slightly longer night in winter.
Sets the lengths of the seasons.
Start summer
Start winter
When the RoG DLC is added, the additional commands will likely be TheWorld:PushEvent("ms_setseason", "spring") and TheWorld:PushEvent("ms_setseason", "autumn")
Start rain.
Stop rain. This also includes Frog Rain.
Lightning strike on mouse cursor. Will hit lightning rod instead if there is one near
Meteor strike on mouse cursor. Spawns different kind of rocks randomly.
Activates all Events on the same time.
Prints the distance between player and object under mouse to the console log (displayed with Ctrl + L by default).
Note that this can be accomplished more easily through the scoreboard. The userid can be obtained from the AllPlayers table. Once you've found the number of the player you want to kick (as shown above in the Other Player Commands section), you can use AllPlayers[#].userid.
Example:
c_listallplayers()
[1] (KU_aabbccdd) Player1
[2] (KU_AABBCCDD) Player2
if Player2 is going to be banned from the server, console command can be written as
TheNet:Ban(AllPlayers[2].userid)
or
TheNet:Ban("KU_AABBCCDD")
Player can be banned for a short period of time. userid stands for the KU id of the player to be banned. Once it is obtained it can be put in this format:
TheNet:BanForTime("KU_aabbccdd", 120).
This will ban the player with specified KU id for 120 seconds. This command should be entered to both servers if server has multi-level option (caves and overworld).
If connecting conventionally doesn't work, it is possible to connect directly to an IP address. By default, the port is 10999. If there is no password, you can leave that part out: c_connect("10.0.0.8", 10999)
Reloads the world without saving. This command may crash your game if you are a client (unless you send it as a remote command).
Regenerates specified items in a world.
Regenerates specified items in a shard.
Forces the server to save immediately (servers normally autosave whenever night finishes).
true will save the game, false will exit without saving. c_shutdown() is the same as c_shutdown(true).
Rolls back a server by the given number of saves. c_rollback() will roll it back by one, while c_rollback(3) will roll it back three.
Setting it to true is the default behavior (people can join). Setting it to false prevents anyone from joining.
This allows you to announce server shutdowns/restarts so players do not just get disconnected without warning.
Clears the morgue. Requires closing and reopening the game for changes to be seen.
On dedicated servers the result is printed on the server console
To change tendency replace DEFAULT with one of the following. "RIDER", "ORNERY", "PUDGY"
シェアボタン: このページをSNSに投稿するのに便利です。
左メニューサンプル左メニューはヘッダーメニューの【編集】>【左メニューを編集する】をクリックすると編集できます。ご自由に編集してください。掲示板雑談・質問・相談掲示板更新履歴最近のコメントカウン...
ニュース...
Wikiテーマ用画像[]このページでは、Wikiのテーマとして使われる画像が特別:使われていないファイルに表示されないようにしています。Site-logoFile:Site-logo.pngSite-...
Wikiテーマ用画像[]このページでは、Wikiのテーマとして使われる画像がSpecial:UnusedImagesに表示されないようにしています。Wiki-wordmarkFile:Wiki-wor...
Yellow Gem入手 (Pickaxe.png)Broken_Clockworks1.png (Hammer.png)(Tumbleweed.png (0.01% x3) )(X_Marks_Th...
登場作品:Don%27t_Starve_Together_icon.pngDon't Starve TogetherYear of the Varg開催期間2018:2月9日~3月16日開発者Klei...
登場作品:Don%27t_Starve_Together_icon.pngDon't Starve TogetherYear of the Pig King開催期間2019:1月24日~3月7日開発者...
登場作品:Don%27t_Starve_Together_icon.pngDon't Starve TogetherYear of the GobblerDates2017年:1月19日~2月14日開...
Harp_Statue.pngこの記事は未完成のため加筆依頼が出されています。(理由:かくれんぼ遊びの情報がまだ未記述)編集による加筆、訂正またはコメントによる意見をお願いします。登場作品:Don't...
登場作品:Don%27t_Starve_Together_icon.pngDon't Starve TogetherYear of the Carrat開催期間2020年:1月23日~3月19日開発者...
Harp_Statue.pngこの記事は未完成のため加筆依頼が出されています。(理由:まだ情報が揃ってないのでとりあえず分かる範囲で。情報追加お願いします)編集による加筆、訂正またはコメントによる意見...
登場作品:Don%27t_Starve_Together_icon.pngDon't Starve TogetherYear of the Beefalo開催期間2021年:2月4日~3月11日開発者...
Yaarctopus Yaarctopus資源×1-9, Seaweed.pngCoral.pngShark_Fin.png( や Trinkets.pngと交換)×1, や Icon_Nautica...
登場作品:Shipwrecked_icon.pngShipwreckedX Marks The Spot必要な道具Shovel.png資源×2, Chest.pngデバッグ用コード"buriedtre...
登場作品:Don't Starve Together icon.pngDon't Starve Togetherこの記事は未完成のため加筆依頼が出されています。(理由:情報不足)編集による加筆、訂正ま...
この記事はWurtがゲーム内のアイテムを装備したときの見た目の変化をまとめたものになります。(画像クリックで原寸サイズ表示)目次1 衣装アイテム1.1 Beefalo Hat1.2 Belt of H...
登場作品:Don%27t_Starve_Together_icon.pngDon't Starve TogetherWurt肩書きおチビさん誕生日10月17日モットー「マーム族はとっても『義理高い』の...
登場作品:Shipwrecked_icon.pngShipwreckedWreck必要な道具Hammer.png資源Boards.png ()発生Pirate_Ghost.png再生可能?No主なバイ...
登場作品:Don%27t_Starve_Together_icon.pngDon't Starve Together この記事は書きかけです。是非とも、この記事に加筆してみてください。Woven Sh...
登場作品:Don't Starve Together icon.pngDon't Starve Togetherこの記事は未完成のため加筆依頼が出されています。(理由:情報不足)編集による加筆、訂正ま...