How I do change the traders to be non protected I have ur mod installed but it's not working they are still protected
They are still protected by default, because everyone likes different settings. If you wish to change it, then you will have to look inside blocks.xml of this mod, there are these lines:
<property class="AdvancedPrefabFeatures" >
<property name="Logging" value="false"/>
<property name="DisableTraderProtection" value="false" /> <!-- Disables Trader Protection in their prefabs -->
</property>
There is a property called
DisableTraderProtection with value
false. You have to somehow change that "
false" value to "
true". You can do this directly in this mod (
not recommended), or you can quickly craft your own mod that would change this value for you automatically. The advantage of the latter is that no matter how often 0-SphereIICore mod gets updated, it will be always updated correctly and you won't need to mess with those settings again every time new update may change them.
If you wish to do it the safe way through creating your own mod, create an empty folder inside your
Mods folder. Call it something like
TraderProtectionDisabled. Enter the folder and inside create a new xml file called
ModInfo.xml with this content:
<?xml version="1.0" encoding="UTF-8"?>
<xml>
<ModInfo>
<Name value="TraderProtectionDisabled" />
<Description value="Disables Trader Protection - Requires 0-SphereIICore." />
<Author value="ALT_Pain" />
<Version value="1.0" />
<Website value="" />
</ModInfo>
</xml>
Still in the same folder, create a new folder called
Config. Go inside the
Config folder and create a new xml file called
blocks.xml with this content:
<configs>
<!-- Disables trader protection -->
<set xpath="/blocks/block[@name='ConfigFeatureBlock']/property[@class='AdvancedPrefabFeatures']/property[@name='DisableTraderProtection']/@value">true</set>
</configs>
That's pretty much all there is to it. Of course
this relies on 0-SphereIICore mod, so you must first make sure you have that mod properly installed for this to work.
Enjoy!