7 Days to Die

7 Days to Die

View Stats:
boqsc Dec 26, 2023 @ 11:08am
[Modlet] The 24/7 Open Trader in Single Player.
With this post I'm continuing the single player non-dedicated server enchancement journey. In the previous post I've written about how to start a new single player game with custom XP and Loot values: https://steamcommunity.com/app/251570/discussions/5/4031349576213652873/

This time I've got annoyance of trader not being available after I was done writing and editing the previous post.


1. Create a new folder with the name "Mods".
Example: C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods

2. Download KHA21-AlwaysOpenTrader mod that removes open_time and close_time from traders.xml. https://7daystodiemods.com/always-open-traders/

3. Extract the mod like this: C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods\KHA21-AlwaysOpenTrader

4. Restart the game and press to continue the game, select the world and you should immediately be allowed to enter trader at night. The doors should be unlocked.

The Mod Overview.

The mod core source file: Mods\YourModNameFolder\Config\traders.xml looks like this:
<config> <removeattribute xpath="/traders/trader_info[@id='1']/@open_time" /> <removeattribute xpath="/traders/trader_info[@id='1']/@close_time" /> <removeattribute xpath="/traders/trader_info[@id='6']/@open_time" /> <removeattribute xpath="/traders/trader_info[@id='6']/@close_time" /> <removeattribute xpath="/traders/trader_info[@id='2']/@open_time" /> <removeattribute xpath="/traders/trader_info[@id='2']/@close_time" /> <removeattribute xpath="/traders/trader_info[@id='7']/@open_time" /> <removeattribute xpath="/traders/trader_info[@id='7']/@close_time" /> <removeattribute xpath="/traders/trader_info[@id='8']/@open_time" /> <removeattribute xpath="/traders/trader_info[@id='8']/@close_time" /> </config>

The mod information header file Mods\YourModNameFolder\ModInfo.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?> <xml> <Name value="AlwaysOpenTrader" /> <DisplayName value="Khaines Always Open Trader" /> <Description value="Removes open and close times from the traders." /> <Author value="KhaineGB" /> <Version value="1.0.0.1" /> <Website value="" /> </xml>

Copy-pasting these codes into files as mentioned and restarting the game,
pressing to continue the game: should immediately allow you to enter trader at night.

For people that only want to avoid labor to copy and paste and create files/folders:
You can download the mod here: https://7daystodiemods.com/always-open-traders/

The source code is available here: https://github.com/KhaineGB/KhaineA21ModletsXML/tree/main/KHA21-AlwaysOpenTrader
Last edited by boqsc; Dec 27, 2023 @ 5:53am
< >
Showing 1-1 of 1 comments
NΞo187 Feb 29, 2024 @ 9:21am 
Thanks for help i was need that
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Dec 26, 2023 @ 11:08am
Posts: 1