[Tool] Main Menu Password Manager & more

Post Reply
User avatar
TalkLounge
Member
Posts: 313
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

[Tool] Main Menu Password Manager & more

by TalkLounge » Post

Image

What's that?
This tool is an extension for your main menu with a lot of useful features
1. Only enter your password once per server
2. Double-click a server to see who is online
3. Search for player & mods in the whole server list

How to install?
1. Download the ZIP-Archive & extract it
2. Move the extracted files to /minetest/builtin/mainmenu/
3. Delete the current tab_online.lua file
4. Rename the tab_online <version> .lua file to tab_online.lua(<version> should be your minetest version)
5. Start your minetest & enjoy

Dependencies
Java (Loading the detailed server list)
Tested with Windows 10 (Should work anywhere as well)

Download
Video
Browse on Github
Download

License
GPL 2.0 | Check my changes

Help! It doesn't work
1. Is java installed?
If not, install java
2. Is java an environmental variable?
If not, open your tab_online.lua file, go to line 27 and change "java" to your java executable. Example: "C:/ProgramData/Oracle/Java/javapath/java.exe"

Changelog
09.03.2019: Released. Supports: 0.4.16, 0.4.17, 0.4.17.1 & 5.0.0
14.04.2019: Support added for 5.0.1
19.07.2019: Improved player search & player display list
15.02.2020: Support added for 5.1.0 & 5.1.1
02.08.2020: Support added for 5.2.0 & 5.3.0
Last edited by TalkLounge on Sun Aug 02, 2020 16:21, edited 8 times in total.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Tool] Main Menu Password Manager & more

by texmex » Post

This is a great idea, thank you for the coding effort.

However, it’s not implemented the right way. As this is not licensed properly, unsecure and requires Java it should be reworked.
set secure.enable_security = false
This is a bad idea and should never be publicly advised.

I’d recommend working on a PR for a save password feature in the engine instead.
Last edited by texmex on Sat Mar 09, 2019 13:52, edited 1 time in total.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
TalkLounge
Member
Posts: 313
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Post

is not licensed properly
I wrote my own license because I can't find one thats exactly like mine. And the password manager is something that I use since a year now and want to share, because it's very useful. I use my license now for every mod that I will publish.
should be reworked
Yeah! Would be better to write that in the engine. But I can't write c++, so this was the easiest way to implement.
This is a bad idea and should never be publicly advised.
Otherwise you can't call the jar file, that's the problem.
I’d recommend working on a PR for a save password feature in the engine instead.
They can use my own written ciphering method. :)
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
TalkLounge
Member
Posts: 313
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Post

If not, go to your minetest.conf and set secure.enable_security = false
This was a wrong assumption from me, because I haven't tested that. You doesn't need to turn mod security off.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
cHyper
Member
Posts: 842
Joined: Fri May 06, 2011 08:49
GitHub: cHyper-0815OL
IRC: cHyper
In-game: cHyper cHyper_0815
Location: Austria
Contact:

Re: [Tool] Main Menu Password Manager & more

by cHyper » Post

are there any files for minetest version 5.1.0 ?

User avatar
TalkLounge
Member
Posts: 313
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Post

There is a file for minetest version 5.0.1. Minetest version 5.1.0 isn't released yet, but for the dev version of 5.1.0 you can try to use the file of version 5.0.1, because there are very less commits in tab_online.lua since minetest 0.4.16 in each minetest version. Between 0.4.15 and 0.4.16 was a "breaking" release in tab_online.lua, but after that, they added just a few new features.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
LMD
Member
Posts: 909
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: [Tool] Main Menu Password Manager & more

by LMD » Post

> They can use my own written ciphering method. :)
Can you prove it's safety ? Likely not.

Code: Select all

URL URL = new URL("http://servers.minetest.net/list?proto_version_min=0&proto_version_max=100");
Scanner sc = new Scanner(URL.openStream());
System.out.println(sc.nextLine());
sc.close();
1. Having variable names same as class names is a bad idea
2. Are you really using Java only to print out all the lines ? MT supports HTTPRequests, this is not required : https://github.com/minetest/minetest/bl ... .txt#L4621

I would not recommend using this before you add proper security.
My stuff: Projects - Mods - Website

User avatar
TalkLounge
Member
Posts: 313
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Post

Can you prove it's safety ? Likely not.
No, but if you want to, you can test it against brute forcing. :)
Having variable names same as class names is a bad idea
I know that's bad practise. But in this case it doesn't matter.
Are you really using Java only to print out all the lines ? MT supports HTTPRequests
HTTP requests don't work in the builtin. Because you can't set builtin as a secure trusted mod. This was the first I have tested before I decided to work with java.
Otherwise working with the command line would work as well. But then there are at least three different commands needed(Windows, Linux & Mac).
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
LMD
Member
Posts: 909
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: [Tool] Main Menu Password Manager & more

by LMD » Post

> No, but if you want to, you can test it against brute forcing. :)
It's not about this. If somebody cracks your PC, you don't want him to know all your passwords. They should be stored using a master password. No matter which algorithm you use, it can always be reverted when the attacker has access to the sourcecode.
Darum geht es nicht.
My stuff: Projects - Mods - Website

User avatar
TalkLounge
Member
Posts: 313
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Post

If somebody cracks your PC
Minetest should be the least problem you will have, if your computer were cracked. And you shouldn't use your minetest passwords anywhere else. That's a security risk at all. If someone get permissions to your computer, than he can play minetest with your account. Wow.
They should be stored using a master password
This was the first idea I had when I started to program this password manager. The problem is, that theres no method to save the master password until the minetest window is closed. I already asked for help in IRC long time ago. There is no script that runs all the time(Without editing C++ and compile minetest again), where you can save the master password.
Asking for the master password every time in the main menu isn't a advantage and there is another problem: You can run several minetest at the same time.
So you need to have a daemon that checks the minetest pid every time, but is that usefull and necessary for just saving a few server account passwords for a game? I don't think so.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
LMD
Member
Posts: 909
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: [Tool] Main Menu Password Manager & more

by LMD » Post

> no method to save the master password
You don't want to store the password, you want to store the hash.
> If someone get permissions to your computer, than he can play minetest with your account.
No. Not necessarily. If they get all your data (quite common), they can't play with your account - except if they got your files.
Last edited by LMD on Sun Feb 16, 2020 15:29, edited 1 time in total.
My stuff: Projects - Mods - Website

User avatar
TalkLounge
Member
Posts: 313
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Post

Added support for minetest versions 5.1.0 and 5.1.1
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

User avatar
TalkLounge
Member
Posts: 313
Joined: Sun Mar 26, 2017 12:42
GitHub: TalkLounge
In-game: TalkLounge
Location: Germany

Re: [Tool] Main Menu Password Manager & more

by TalkLounge » Post

Added support for minetest versions 5.2.0 and 5.3.0
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests