Don't Starve Together

Don't Starve Together

Not enough ratings
Console++ [full version]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
807.522 KB
Sep 11, 2022 @ 7:30am
Jun 20, 2024 @ 5:25am
11 Change Notes ( view )

Subscribe to download
Console++ [full version]

Description
This mod implements many improvements to the DST command console.
  • Full multiline capability
    • Shift+Enter starts a new line
    • Enter starts a new line if code is missing closing `]]`, `end`, etc
    • Move up and down with arrow keys
  • The console log is scrollable when the console is open
  • Lua global completions and table completions when indexing with `.` and `:`
  • View shard logs
  • Ctrl+Enter runs command without closing the console [1]
  • Remote/Local will not be toggled when using key combinations
  • Disable annoying server Un/Paused messages
  • Print expression results (pretty print tables)
  • Ctrl-C writes current console contents to Klei/DoNotStarveTogether/<NUMBERS>/pseudoclipboard.txt
The following features apply to all text inputs; not just the console
  • Position cursor with mouse click
  • Ctrl+Backspace (or Ctrl+W) to delete word
  • Cmd/Windows/Super + Backspace/Delete to delete line
  • Home/End keys move to start/end of line
Console commands
  • c_revealmap() -- Reveals and loads entire map without stalling the server
  • c_revealmap(false) -- Hides entire map

Run c_config() in the console to configure Console++ without needing to go to the mod settings and restart your game.
12 Comments
Cliffford W. Mar 25, 2024 @ 6:00pm 
How does one do it so i can get the autofill on vanilla ?
https://i.imgur.com/oqFW1xX.png
like that
FriendlyGrass  [author] Mar 16, 2023 @ 3:02pm 
Thanks!
Crimeraaa Mar 14, 2023 @ 10:30pm 
every once in a while, I get a strange crash when indexing tables. It usually happens when I'm pressing backspace on the line where I'm indexing. I can give the full traceback if that helps, but for now here's what I got:

[00:09:48]: [string "scripts/widgets/wordpredictionwidget.lua"]:330: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
scripts/widgets/wordpredictionwidget.lua:330 in (method) RefreshPredictions (Lua) <224-346>
../mods/workshop-2861673744/main/wordpredictionwidget.lua:183 in (field) fn (Lua) <183-183>
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
scripts/scheduler.lua:419 in (global) RunStaticScheduler (Lua) <417-425>
scripts/update.lua:173 in () ? (Lua) <164-215>

I'm not entirely sure how to reliably replicate this, and other than that this mod (along with its Client version) are ridiculously helpful so thanks for making these in the first place!
FriendlyGrass  [author] Feb 1, 2023 @ 7:28pm 
This should not be possible but I've inserted a check just in case.

Hey! I've just accidentally deleted your comment by a miss-click! Sorry about this (though Steam UI is at fault here).
... Nov 6, 2022 @ 5:41pm 
Glad to hear it! Great mod, big lifesaver. :]
FriendlyGrass  [author] Nov 6, 2022 @ 9:12am 
Fixed, thanks!
... Nov 3, 2022 @ 1:24pm 
Nope, not that. No clue then. :,)
... Nov 3, 2022 @ 1:20pm 
Oh! Let me check if it's because I have tab set to tab through?
... Nov 3, 2022 @ 1:19pm 
Was testing things out of curiosity. TheSim. <-- the . crashes, but doesn't with the client mod. This seems to happen with any punctuation used for code from what little I've seen, but I could be wrong. Here's a snippet from the crash:

LUA ERROR stack traceback:
=[C]:-1 in (global) pairs (C) <-1--1>
../mods/workshop-2861673744/main/completer.lua:90 in (upvalue) getpossiblekeys (Lua) <59-128>
../mods/workshop-2861673744/main/completer.lua:157 in () ? (Lua) <155-160>
=[C]:-1 in (method) CallRPC (C) <-1--1>
scripts/networkclientrpc.lua:1216 in (global) HandleRPCQueue (Lua) <1197-1266>
scripts/update.lua:42 in () ? (Lua) <33-135>
FriendlyGrass  [author] Oct 21, 2022 @ 11:13am 
It isn't possible to autocomplete when the __index is an arbitrary function but I could hardcode this behaviour specifically for Klei's class "props" (properties?) and that should be just fine, thanks.