How to make the password remember for multiplayer?

Post Reply
haui
New member
Posts: 1
Joined: Sun Jan 12, 2025 00:23
GitHub: Haui1112
In-game: haui

How to make the password remember for multiplayer?

by haui » Post

Hi folks!

I have been playing on and off for a year and I really enjoy the game. Only problem is I always have to log into my password manager first to play and that insanely annoying on my linux phone (I know right? I really enjoyed writing that).

Is there currently any way (or mod) to have the password fill in automatically for multiplayer in the client? (I know there is some json magic for the server side but thats not what I'm searching for. I want the client to remember the password for the (or all) server(s).

If thats not the case, does anyone know if the password is something we can pull from the API to have it safely put away in a mod's database and pulled out on the next start?

Have a good one! :)

Astrobe
Member
Posts: 643
Joined: Sun Apr 01, 2018 10:46

Re: How to make the password remember for multiplayer?

by Astrobe » Post

It does not exist. Luanti doesn't store passwords, and mods can't help because they are run by the server, and they are only run in-game anyway.

Maybe for this type of use, you don't need a password manager. It's only a game, so the only "threat" you'll face is some troll who tries to guess your password. You don't need super-high-sec passwords that are designed to resist large scale password guessing attacks. Something not too short and not too obvious should be good enough. For instance, I use "happybirthdaytoyou" on all Luanti servers.
My game? It's Minefall.

real_mineplayer
Member
Posts: 42
Joined: Sat Jun 15, 2024 19:43
GitHub: realmineplayer
In-game: mineplayer
Location: Germany

Re: How to make the password remember for multiplayer?

by real_mineplayer » Post

Astrobe wrote:
Sun Jan 12, 2025 10:00
For instance, I use "happybirthdaytoyou" on all Luanti servers.
Maybe not the best idea to tell here :)

User avatar
Ghaydn
Member
Posts: 64
Joined: Sat Sep 26, 2020 11:58
In-game: ghaydn
Location: Moscow, Russia

Re: How to make the password remember for multiplayer?

by Ghaydn » Post

Most of applications that connect to some servers with passwords - these applications usually do have some simple builtin password manager. At least, they remember last password. It's a QoL thing. Why Luanti still doesn't have such a small and important feature - is a huge mystery to me.
Nobody understands me... — вРН БШ ЯЙЮГЮКХ?

User avatar
Blockhead
Moderator
Posts: 2252
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: How to make the password remember for multiplayer?

by Blockhead » Post

Ghaydn wrote:
Thu Jan 30, 2025 23:51
Most of applications that connect to some servers with passwords - these applications usually do have some simple builtin password manager. At least, they remember last password. It's a QoL thing. Why Luanti still doesn't have such a small and important feature - is a huge mystery to me.
And I never trusted any of them, because if it's stored in such a way that no password is needed to unlock the encryption on it, which it never seems to be, then it's trivial in many cases for a virus to just steal all the credentials that the application stored for you. All the obfuscation in the world doesn't matter, stealing passwords is big money, they're going to crack something that has not been encrypted in a way that requires the user to provide a secret like a password in no time at all.

What I would support is first-class support for password manager programs like KeepassXC, where the password manager has actually encrypted the passwords and, through a plugin, is able to bypass the clipboard and insert the password directly to the relevant spot inside of the browser (on many platforms, there is little to no restriction on what applications can read the clipboard, like when TikTok did it).
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
Ghaydn
Member
Posts: 64
Joined: Sat Sep 26, 2020 11:58
In-game: ghaydn
Location: Moscow, Russia

Re: How to make the password remember for multiplayer?

by Ghaydn » Post

Blockhead wrote:
Fri Jan 31, 2025 01:17
And I never trusted any of them
For those no-trusters it's common to add a checkbox "save password".
password manager programs like KeepassXC
I personally keep all my passwords in KeepassXC. But also I use browser's builtin password manager, for example, to log in to this forum. Because it takes too long to run KeePass, find a corresponding entry, copy-paste login and password... I never save passwords in browser for such things like e-money, of course. But a game is a thing where I'd prefer comfort better than security.
Nobody understands me... — вРН БШ ЯЙЮГЮКХ?

real_mineplayer
Member
Posts: 42
Joined: Sat Jun 15, 2024 19:43
GitHub: realmineplayer
In-game: mineplayer
Location: Germany

Re: How to make the password remember for multiplayer?

by real_mineplayer » Post

Firstly, I have to say that Luanti Server passwords aren‘t the most secret ones because what could happen if someone else get them / one of them? In the worst case, he will change the password so you cannot use that account any more. And if you spent much time on the server or have much power, you should use a unique password which isn‘t already used for other servers
Blockhead wrote:
Fri Jan 31, 2025 01:17
What I would support is first-class support for password manager programs like KeepassXC, where the password manager has actually encrypted the passwords and, through a plugin, is able to bypass the clipboard and insert the password directly to the relevant spot inside of the browser (on many platforms, there is little to no restriction on what applications can read the clipboard, like when TikTok did it).
Why don‘t use KeePassXC? I think when Luanti somehow uses the browser integration it would work with KeePassXC.
But as I said, the Luanti passwords aren’t the most important ones you have. That’s why I propose a Luanti password manager encrypted with a master-password. I would design it in a way that you can use it if you want.

User avatar
Blockhead
Moderator
Posts: 2252
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: How to make the password remember for multiplayer?

by Blockhead » Post

Ghaydn wrote:
Fri Jan 31, 2025 02:29
For those no-trusters it's common to add a checkbox "save password".
Yes, the saving is always optional and then I always turn it off/never. You'd have to be mad to suggest it be mandatory, thankfully nobody is.
Ghaydn wrote:
Fri Jan 31, 2025 02:29
Because it takes too long to run KeePass, find a corresponding entry, copy-paste login and password... I never save passwords in browser for such things like e-money, of course. But a game is a thing where I'd prefer comfort better than security.
It's true that it takes time to open it the first time, but I'm at my computer for very extended periods so once it's open I can just leave it all day and it's fine.
real_mineplayer wrote:
Fri Jan 31, 2025 06:53
Why don‘t use KeePassXC? I think when Luanti somehow uses the browser integration it would work with KeePassXC.

But as I said, the Luanti passwords aren’t the most important ones you have. That’s why I propose a Luanti password manager encrypted with a master-password. I would design it in a way that you can use it if you want.
If it's possible to make Luanti use KeePassXC's browser plugin, then that would be great and save time. An in-game one makes sense, it's just a question of the time taken to develop and review it. The relevant issue thread is #1566, which was never closed, so a good implementation should be accepted.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
Nininik
Member
Posts: 887
Joined: Thu Apr 06, 2023 01:55
GitHub: nininik0
IRC: nininik
In-game: nininik
Location: CA, Team thunderstrike headquarters
Contact:

Re: How to make the password remember for multiplayer?

by Nininik » Post

Ghaydn wrote:
Fri Jan 31, 2025 02:29
Blockhead wrote:
Fri Jan 31, 2025 01:17
And I never trusted any of them
For those no-trusters it's common to add a checkbox "save password".
password manager programs like KeepassXC
I personally keep all my passwords in KeepassXC. But also I use browser's builtin password manager, for example, to log in to this forum. Because it takes too long to run KeePass, find a corresponding entry, copy-paste login and password... I never save passwords in browser for such things like e-money, of course. But a game is a thing where I'd prefer comfort better than security.
When I used to play on mobile i kept my long ahh pword in my copypaste buffer thing
↯Glory to Team Thunderstrike!↯
↯T.T.S.↯

Post Reply