Item Finder Console 1.0.1

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Recently db.sp-tarkov was down for a few days, and I decided to implement some of its functionality as a console nodejs application.

INSTALATION

  1. Download node JS and install it.
  2. Open the console (windows console, cmd.exe, powershell, press Win+R and type cmd) and install the readline-sync package with the command “npm install readline-sync
  3. Open itemFinder.js and specify the root directory of the AKI server (directory where the SPT_Data folder is located)

fl2Eef8.png

USING

Since EFT has been translated into quite a few languages, the script now supports them all.

It understands queries in any language, but gives results in English.

If you want to get results in your native language, specify the name of your language locale when running the script, in EFT locales are named with two letters, e.g. Russian - ru, English - en, etc.


5PqaOAm.png


That is, if you like to read in Russian, for example, then after the name of the script write the letters ru, if in Chinese ch, in Spanish es, etc.


Run the script and enter the item's ID, name, or part of its name.


4yS9x6M.png


The script generates a list according to the terminal size, it does not show results that go beyond the terminal size, so if you search for anything related to Glock for example you will see no more than 27 items, if you want to see them all, refine the query or increase the terminal size by holding down the Ctrl key and spinning the mouse wheel and repeat the request.


You will see the list of detected matches, which you can navigate with WASD keys, to select an item press any (except control) keys.

W and A are moved to the beginning of the list.

S and D are moved to the end of the list.



5ggmuSl.png

ClyL1js.png


and get its object from items.json, locale en.json and handbook.json


SRB4KMl.png


nqwNDUr.png


To exit the application enter exit or press Ctrl+C to clear the console enter clear.

  • Is there any way to search for modded items? Like, is there a database generated somewhere in the server files or is it something temporary loaded into memory when you start a server? I'd like to search for items throwing errors. BTW guys, if you installed SPT correctly into the C: drive, Line:24 in itemFinder.js should look like this...

    let AKI_FOLDER = "C:\\SPT"; //AKI FOLDER

  • can't figure out at all how to install it, can you make the instructions clearer/more in-depth?

    Thinking 1
    • bruh I don't really know how to make it any clearer than that, maybe you could tell me exactly what you're having trouble with.

  • so hard ;(

    Happy 1