Don't Starve Together

Don't Starve Together

Chat Enter Key Toggle
34 Comments
Krista 1 Jan @ 1:50am 
great mod! can you make it so that it's easier to whisper as well? like pressing shift+enter to toggle whisper input
Fluxistence  [author] 13 Dec, 2023 @ 4:24pm 
Well, glad it worked out for you.
person 13 Dec, 2023 @ 4:22pm 
i use wasd to move around like a normal person, though i rebinded the primary key already so its fine
Fluxistence  [author] 12 Dec, 2023 @ 3:29pm 
What do you mean?
Instead of the left-click key? You use R to move around?
Or are you talking about the key to open the chat?

Either way, this mod only adds a feature; it doesn't touch existing things in the game. It will make it so that Enter opens the chat if it's closed and sends a message if it's open (or just close it if you haven't typed anything).
Nothing beyond that.
person 10 Dec, 2023 @ 2:21pm 
i have R set to the "primary" keybind, so if i type R in chat it closes the chat :(
will this fix that?
Yecats 24 Jan, 2023 @ 11:28am 
Sorry I'm being a prick. :chbee: You're the bestest ever. :8bitheart:
Yecats 24 Jan, 2023 @ 11:28am 
I
can
hardly
contain
my
excitement
holy
god
you
are
so
good
FLUX!
:chbee:
Fluxistence  [author] 24 Jan, 2023 @ 10:30am 
Fixed for all your Enter-spamming needs. :cupup:
Yecats 24 Jan, 2023 @ 9:16am 
What do you mean? I ALWAYS spam the enter key when the game is loading!!! It's WHAT BRINGS ME TO LIIIIIIIIIIIIIIIFE!!!! :wrycat:
Fluxistence  [author] 23 Jan, 2023 @ 11:22pm 
Hmm, that's quite peculiar since that line is run only when the Enter key is pressed.
I was able to reproduce the issue by spamming the Enter key while the game was loading, but there's no reason for it to happen otherwise.
I think that if you avoid pressing Enter while the game world itself is loading then you'll avoid the issue (using it in the chat at the character selection screen is fine).

That said, there's no reason not to protect the dereferences so that it doesn't happen then either, so I'll add that later.
Sorry for the inconvenience.
RICK 23 Jan, 2023 @ 11:38am 
I'm connecting to a public server with some mods, but it is so easy to solve that I don't need to provide more information.
This is the log: [string "../mods/workshop-2641093050/modmain.lua"]:6: attempt to index field 'ThePlayer' (a nil value)
RICK 23 Jan, 2023 @ 11:27am 
This just happens when the game is about to finish loading. This never happened before but it happens, so you should fix it. ThePlayer is initially nil, and later set to an entity. I guess it is when the HUD is ready but the ThePlayer is not.
Fluxistence  [author] 23 Jan, 2023 @ 10:58am 
@RICK Did you try running this mod on a dedicated server perhaps?
This already uses GLOBAL to access ThePlayer.
Also if this bit was wrong it would never work for anyone.

If you can provide some details on what you did exactly and which other mods you had active, that'd be very helpful in resolving the issue. =)
RICK 23 Jan, 2023 @ 7:16am 
Crash when ThePlayer is nil, you can add "if not GLOBAL.ThePlayer or not GLOBAL.ThePlayer.HUD then return end" to prevent this.
Fluxistence  [author] 21 Jan, 2023 @ 8:02am 
@Mr. Hollowed Thank you. ^_^
Mr. Hollowed 20 Jan, 2023 @ 9:32pm 
literally a top tier mod
Fluxistence  [author] 23 Jun, 2022 @ 11:25am 
@Za Balance Nice idea. Should be doable, I think, but I need to look into it.
I'll check when I have some time.
Za Balance 23 Jun, 2022 @ 9:29am 
Can you make Shift+Enter for whisper?
Fluxistence  [author] 13 Mar, 2022 @ 1:27pm 
@Cee :autonautwuv::autonautwuv::autonautwuv:
Yecats 13 Mar, 2022 @ 1:26pm 
Most deserving of many awards. :8bitheart:
Fluxistence  [author] 6 Mar, 2022 @ 11:56am 
@Fantazilite Thanks for the info. If and when I have time I'll see if I can make it support that mod.
Shotgun Shogun 3 Mar, 2022 @ 1:57am 
Unfortunately it's not greatly compatible with the Too Many Items search bar
Fluxistence  [author] 21 Dec, 2021 @ 9:24am 
Рад помочь. :cupup::cuphead:
Apple Bloom 21 Dec, 2021 @ 7:49am 
Мне это было нужно
Fluxistence  [author] 29 Nov, 2021 @ 4:37pm 
Sure, go ahead. :hfpumpkin::cupup:
Geraint小白 28 Nov, 2021 @ 8:53pm 
嘿,我能搬运到WeGame平台,它太方便了!!
Hey, can I move it to the wegame platform? It's so convenient!!thanks
Fluxistence  [author] 21 Nov, 2021 @ 6:35pm 
You're most welcome. =)
QuboD 21 Nov, 2021 @ 9:30am 
Thank youuuuu so mutch <3 <3 <3 <3
Fluxistence  [author] 20 Nov, 2021 @ 11:41am 
Yeah, I kept having issues accidentally typing letters too.
It's really inconvenient - for me at least - to open the chat with one key and close it with another.
I honestly don't know why the game itself doesn't have this feature; it's really something I expect (and see) in every other online game.
Kio 20 Nov, 2021 @ 8:09am 
I can switch between enter and assigned key button in no time. But I will still use this, so I have extra hotkey available to use.
Plus I always made typo with the letter I assigned. Thanks for making this mod. I don't understand why they don't use enter AHAHA.
Fluxistence  [author] 1 Nov, 2021 @ 2:40am 
Same here. 😄
Glad you like it. =)
Diêu Băng 1 Nov, 2021 @ 1:14am 
I was finding this mod for so long... Now I have to unlearn some habit to use this mod ~~ :steamhappy: Thanks
Fluxistence  [author] 30 Oct, 2021 @ 9:54am 
Good to know, hope it helps out. ^_^
谅直 30 Oct, 2021 @ 9:53am 
It's great !~ Thanks