Jump to content

Change Trader Open and Close Time - A19


Recommended Posts

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 by arramus (see edit history)
Link to post
Share on other sites
  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...