arramus 196 Posted November 30, 2020 Share Posted November 30, 2020 (edited) 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> Edited November 30, 2020 by arramus (see edit history) Link to post Share on other sites
SiNiCaL 2 Posted December 12, 2020 Share Posted December 12, 2020 Thanks, seeing this helped me get some of the syntax in my own mod correct. 1 Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now