Mod Details

Trader Namer

Trader Namer 4.0.0

Created by  sgtlaggy

5.8K Downloads

SPT 4.0.1 Compatible

Change your traders' names and avatars.

Latest Version 4.0.0
SPT 4.0.1

Updated Oct 11, 10:56 PM

0.0 MB

Version Notes

Updated to SPT 4.0.

Moved and changed config file. Previously separate files for language and trader details, now just config.json with those as separate keys. An old names.json file can simply be copy-pasted over the empty {} in the new config file.

This download is externally hosted.
Always scan for viruses.

A web configuration tool is available to configure trader details without manually editing the JSON config.

The novel difference from other avatar-swapping mods is that it uses trader nicknames instead of obscure avatar IDs that don’t match the trader ID. By default the name should be in your system language but this can be changed in config.json. You can find language codes in SPT_Data/Server/database/locales/; the value for English is en, Russian is ru, etc.

Instead of using a trader’s nickname you can use either their regular ID (for compatibility with Windows filename restrictions) or avatar ID (to easily switch from other avatar-switching mods).

Both features of the mod should work for custom traders as long as this mod loads after them.

Setting Trader Names

Edit config.json and add a new line between the {} in the format "Default Name": "New Name".

The key (left) should be the trader’s default nickname/ID like Prapor or 54cb50c76803fa8b248b4571, the value (right) is what you want their new name to be.

Examples:

{
    "Prapor": "Sidorovich"
}
{
    "Prapor": "Sidorovich",
    "Fence": "Drebin"
}

Details like the trader’s Location and Description can also be changed with extended syntax. Valid keys are “FullName”, “FirstName”, “Nickname”, “Location”, and “Description”. All are case-sensitive.

{
  "Prapor": {
    "Nickname": "Sidorovich",
    "Location": "Rookie Village in the Cordon",
    "Description": "A reliable source of equipment for stalkers."
  },
  "Fence": "Drebin"
}

Setting Trader Avatars

Name an image based on the trader’s default nickname/ID like Prapor.jpg, 54cb50c76803fa8b248b4571.jpg, or 59b91ca086f77469a81232e4.jpg and put it in the mod’s avatars folder.

Images should be JPEG or PNG and sizes around 500x500 work best.

All users will need to go into their launcher settings and select Clean Temp Files for avatars to update.

Version 4.0.0
Download Mod Version
SPT 4.0.1
Latest Compatible SPT Version

0.0 MB

112 Downloads

Created Oct 11, 9:35 PM

Updated Oct 11, 10:56 PM

Virus Total Results

Updated to SPT 4.0.

Moved and changed config file. Previously separate files for language and trader details, now just config.json with those as separate keys. An old names.json file can simply be copy-pasted over the empty {} in the new config file.

Version 3.1.0
Download Mod Version
SPT 3.11.4
Latest Compatible SPT Version

914 Downloads

Created Apr 1, 10:37 PM

Updated Apr 1, 10:37 PM

Virus Total Results

Now supports using trader ID to get around Windows filename restrictions

Because it wasn’t much more effort, you can also use early traders’ avatar ID to more easily transition from other avatar-switching mods

These apply to both avatars and names.json

Traders’ original names are now grabbed from the system locale instead of English by default. This can be changed in the new lang.json config.

This is mainly useful for anyone using Fika with players who use different system languages and don’t have a dedicated server setup.

Version 3.0.0
Download Mod Version
SPT 3.11.4
Latest Compatible SPT Version

255 Downloads

Created Mar 15, 10:24 PM

Updated Mar 15, 10:24 PM

Virus Total Results

Updated to 3.11

Version 2.1.2
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

2.6K Downloads

Created Nov 23, 2024 at 11:56 PM

Updated Nov 23, 2024 at 11:56 PM

Virus Total Results

Small update to fix a logging issue.

Version 2.1.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

1.4K Downloads

Created Aug 14, 2024 at 10:24 PM

Updated Aug 14, 2024 at 10:24 PM

Virus Total Results

Now allows alternate syntax to edit other parts of the trader’s locale values like Location and Description.

To do this, use an object instead of nickname.

{ “Prapor”: “Sidorovich”, “Fence”: “Drebin” } changes to

{ “Prapor”: { “Nickname”: “Sidorovich”, “Location”: “Rookie Village in the Cordon”, “Description”: “A reliable source of equipment for stalkers.” }, “Fence”: “Drebin” } Valid keys are “FullName”, “FirstName”, “Nickname”, “Location”, and “Description”. All are case-sensitive.

Version 2.0.1
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

337 Downloads

Created Jul 8, 2024 at 9:14 PM

Updated Jul 8, 2024 at 9:14 PM

Virus Total Results

Fixes Lightkeeper, BTR Driver, and Ref

DAve7

the mod says Jaeger does not exist, so I cant chance His png

0 Likes

I’m able to change both his name and avatar. The most recent update uses your system language to get names by default, so you might need to either change names or the language used in lang.json. As an alternative, you can use his ID 5c0647fdd443bc2504c2d371 as you might with other mods.

0 Likes
pewpewpew47

Had a really good laugh with the thumbnail. Thank my man

0 Likes
Cleytech

What folder should this be extracted to?

0 Likes
sgtlaggy

The game folder, the “user” folder should merge with the existing one.

0 Likes
Rwbster

Thank youuuuu so much

0 Likes
m43l57r0m

Hi,

I cant seem to get this working.

Installed latest files from the DL link. but i cant get it to update the trader names or avatars.

Im using:
SPT3.9.8
Fika Beta 0.9.9015.15435

0 Likes

I had the same issue, but it was my fault.

Did you clean temp files from your SPT launcher? You have to clean the temp files from the launcher to update the images in-game.

0 Likes

yes i cleaned up the temp files several times.

but both renaming traders and changing avatars fail.

0 Likes
sgtlaggy

This has been reported a couple times now and I can’t reproduce it. Maybe try manually deleting “sptappdata” from the “user” folder .

0 Likes

deleting the folder did nothing, i also tried cleaning after deleting it, and installing your mod before or after deleting the folder and it didnt do anything.

manually replacing the avatars here: “user\sptappdata\files\trader\avatar” with the new ones and copying the names did work though (eg: fence is: 579dc571d53a0658a154fbec.jpg)

Im not sure if im doing something wrong though

0 Likes
Hardiel

Mod doesnt work for me. I tried it on my main install and only Viper’s avatar was successfully changed. Then I tested the mod on a clean install and no changes were made. I cleared temp files in the Settings, checked avatar names but nothing helped. In the server console it says

ModLoader: loading: 1 server mods… Mod: TraderNamer version: 2.1.0 by: sgtlaggy loaded Server: executing startup callbacks… Importing database… Database import finished [TraderNamer] 5a7c2ebb86f7746e324a06ab does not exist, not changing avatar. [TraderNamer] Artem does not exist, not changing avatar. [TraderNamer] Changing Fence’s avatar. [TraderNamer] Gambler does not exist, not changing avatar. [TraderNamer] Hephaestus does not exist, not changing avatar. [TraderNamer] Changing Jaeger’s avatar. [TraderNamer] Lotus does not exist, not changing avatar. [TraderNamer] Changing Mechanic’s avatar. [TraderNamer] Painter does not exist, not changing avatar. [TraderNamer] Changing Peacekeeper’s avatar. [TraderNamer] Changing Prapor’s avatar. [TraderNamer] Changing Ragman’s avatar. [TraderNamer] Changing Ref’s avatar. [TraderNamer] Requisitions Office does not exist, not changing avatar. [TraderNamer] Scorpion does not exist, not changing avatar. > [TraderNamer] Changing Therapist’s avatar. [TraderNamer] Viper does not exist, not changing avatar. Started webserver at http://127.0.0.1:6969 Started websocket at ws://127.0.0.1:6969 Server is running, do not close while playing SPT, Happy playing!! Even though it says “Changing avatar” there are no changes of vanilla trader avatars.

0 Likes
sgtlaggy

This appears to be related to Halloween event trader images. Not entirely sure of the cause, but it should sort itself out when the event ends.

0 Likes
Rairiku07

Sadly even after the event, it did not change them.
So I had to go into tarkovs config and manually edit the photos file path.

0 Likes
SEALs

Now how can I write descriptions or even locations after the names???

0 Likes
sgtlaggy

See the extended syntax example at the end of the mod description.

0 Likes
SEALs

?

0 Likes
sgtlaggy

{ “Prapor”: { “Nickname”: “Sidorovich”, “Location”: “Rookie Village in the Cordon”, “Description”: “A reliable source of equipment for stalkers.” }, “Fence”: “Drebin” }

The example from the description shows how you can change Prapor’s name, location, and description.

0 Likes
SEALs

Every time I try to do this it says “Expected ‘,’ or ‘}’ after property value in JSON (random position)”

0 Likes
sgtlaggy

Post your JSON here or use JSONLint to get more specific information.

0 Likes
SEALs

As soon as I just put

{

}

the server crashes even with the indent

0 Likes
sgtlaggy

Indents don’t matter, just makes it easier for you to read it. But that does appear to be invalid JSON. Looks like you only have the {} and starting quote and nothing else? You’re missing a trader name, closing quote, colon, and value.

0 Likes
SEALs

Is the curled parenthesis after the name needed?

0 Likes
sgtlaggy

Yes, you need { at the beginning and } at the end of the file, as well as around any other object (sequence of key-value pairs) just like in the example. You need commas between items in lists/objects, but not after the last item.

0 Likes

{

“Prapor”: {

“Nickname”: “Macho”,

“Location”: “Zachary Military Base in the Priozersk Reserve”,

“Description”: “Ex-Marine selling Russian weapons and gear to all factions, even non Russians…”

},

“Fence”: {

“Nickname”: “King”,

“Location”: “Illegal dumping ground and junkyard in Wolfehead”,

“Description”: “Leader of militia gang called The Lost Dogs running illegal trading operations to rural and central Tarkov”

},

“Peacekeeper”: {

“Nickname”: “Jean”,

“Location”: “Los Vaqueros military base in Mexico City”,

“Description”: “Leader of an ex-military faction called Shadow Company running trading operations with his leftover crew. He moved stations to Mexico to avoid unnecessary war in Russia, imports gear from Mexico”,

},

“Therapist”: {

“Nickname”: “Collie”,

“Location”: “American Embassy medical station in Serbia”,

“Description”: “A medic in the US Marshall’s service stationed in Serbia to provide medical support for injured mercs in Tarkov, transporting victims, and importing medical supplies to Russia”,

},

“Skier”: {

“Nickname”: “Arackniss”,

“Location”: “Port and improvised dorm station off the Black Sea in Ukraine”,

“Description”: “Rogue secret service agent. He imports weapons and gear provided to him by the US government”,

},

“Mechanic”: {

“Nickname”: “Mavis”,

“Location”: “Underground bunker in smalltown Moscow”,

“Description”: “Brother of Macho, and skilled weapons mechanic housed in the city of Moscow, providing non-stop service to Scavs, PMCs, and even bosses”,

},

“Jaeger”: {

“Nickname”: “Clay”,

“Location”: “Carford High School in small town Alabama”,

“Description”: “A high schooler running a weapons dealing operation in his school gymnasium to survive and get allies”,

},

“Ragman”: {

“Nickname”: “Vox”,

“Location”: “VoxCo headquarters in Pentagram City”,

“Description”: “CEO of VoxCo, a technology company in Pentagram City, he deals stolen gear imported from the Lost Dogs to keep his business running”,

},

“Ref”: {

“Nickname”: “K9”,

“Location”: “The gang fighting arena in central Tarkov”,

“Description”: “Coach and for newbie mercs coming to Tarkov, and referee for the fighting arena in central Tarkov”,

“FullName”: “Darren Trevor Mills”

}

does this look good? (tell me if theres any issues“

0 Likes

At a quick glance, you have trailing commas after the last items for all traders except Ref, Prapor, and Fence. JSONLint (linked above) will give you this error:

Error: Parse error on line 31: …ear from Mexico“,},“Therapist”: { ––––––––––^ Expecting ‘STRING’, got ’}’Some code editors like VSCode should be able to format and show a list of problems.

0 Likes

Now its saying “Expected Double-Quoted property name in JSON”

what does this mean?

0 Likes

I don’t know where you’re getting that error message from. Use JSONLint or VSCode to get more specific information, like where it might be expecting something.

0 Likes

I GOT IT!!!!!!!!

0 Likes

just needed one more } at the last line

0 Likes

new problem: My avatars are now not showing up

0 Likes
Cross

I’d been hoping for a mod like this since 3.7.X Works very well, including with modded traders. Thank you!

0 Likes
clout

is editing of the trader description possible

0 Likes
sgtlaggy

Updated. There’s an example showing how to do it in the Versions tab.

0 Likes
Charlie_h

Ha-ha, Brappor

0 Likes

Details