djkrose / 7DTD-ScriptingMod

Adds scripting support and other useful functionality to 7 Days To Die dedicated server
19 stars 10 forks source link

Allow exporting/importing protected areas and traders correctly #19

Open djkrose opened 7 years ago

djkrose commented 7 years ago

Right now trader areas are not treaded special in import/export.

But traders need to be registered globally, and the trader spawner needs to be set correctly for the trader entity to appear. Also the trader area protection might need to be applied differently.

Using the import/export commands it should be possible to fully copy a working trader into another location.

Also removing a trader by overwriting it with some other blocks should properly change the protection and remove and leftover trader spawner.