arramus Posted November 30, 2020 Share Posted November 30, 2020 This is a 'quality of life' mod that allows you to decrease, increase, or simply shift the period of time a trader remains open. Download: https://github.com/arramus/Change-Trader-Open-And-Close-Time-A19 A19 saw the traders receive their own specialisations and with this came unique IDs for each. You can set the trading time of each Trader on an individual basis as per your own specifications. This can make your server trading experience easier, more challenging, or more varied. The current settings allow traders to open at 04:05 and close at 21:55. For server hosts using the Compo Pack, please note that the 4 in 1 and 5 in 1 traders will restrict variation of individual traders and setting common trading hours is advisable. Credits: Based on 'BloodiestCODY's: Always Open Traders Mod' traders.xml <config> <!--Set your own opening time--> <set xpath="/traders/trader_info[@id='1']/@open_time">04:05</set> <!--Trader Joel--> <set xpath="/traders/trader_info[@id='2']/@open_time">04:05</set> <!--Trader Jen--> <set xpath="/traders/trader_info[@id='6']/@open_time">04:05</set> <!--Trader Bob--> <set xpath="/traders/trader_info[@id='7']/@open_time">04:05</set> <!--Trader Hugh--> <set xpath="/traders/trader_info[@id='8']/@open_time">04:05</set> <!--Trader Rekt--> <!--Set your own closing time--> <set xpath="/traders/trader_info[@id='1']/@close_time">21:55</set> <!--Trader Joel--> <set xpath="/traders/trader_info[@id='2']/@close_time">21:55</set> <!--Trader Jen--> <set xpath="/traders/trader_info[@id='6']/@close_time">21:55</set> <!--Trader Bob--> <set xpath="/traders/trader_info[@id='7']/@close_time">21:55</set> <!--Trader Hugh--> <set xpath="/traders/trader_info[@id='8']/@close_time">21:55</set> <!--Trader Rekt--> </config> Link to comment Share on other sites More sharing options...
SiNiCaL Posted December 12, 2020 Share Posted December 12, 2020 Thanks, seeing this helped me get some of the syntax in my own mod correct. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.