Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Need nails or a sparkplug but don't have four hours to run up and down the coast? Cheat. Why not, it's your server.
- cfgeconomycore.xml, add before </economycore>
- <!-- Custom spawnabletypes - WoodenCrate with nails -->
- <ce folder="custom">
- <file name="cfgspawnabletypes.xml" type="spawnabletypes" />
- </ce>
- sample cfgeventspawns.xml, add to bottom, these are defined later
- <event name="StaticContractorCrate">
- <pos x="13254.6" z="10712.1" a="0.0" />
- </event>
- <!-- <event name="StaticContractorSledgeHammer">
- <event name="StaticContractorShovel">
- <pos x="13261.9" z="10733.9" a="0.0" />
- </event> -->
- events.xml has the event definitions (db folder):
- <event name="StaticContractorCrate">
- <nominal>1</nominal>
- <min>1</min>
- <max>1</max>
- <lifetime>7200</lifetime>
- <restock>0</restock>
- <saferadius>60</saferadius>
- <distanceradius>60</distanceradius>
- <cleanupradius>60</cleanupradius>
- <flags deletable="0" init_random="0" remove_damaged="0"/>
- <position>fixed</position>
- <limit>child</limit>
- <active>1</active>
- <children>
- <child lootmax="0" lootmin="0" max="1" min="1" type="WoodenCrate"/>
- </children>
- </event>
- <!-- <event name="StaticContractorShovel">
- <nominal>1</nominal>
- <min>1</min>
- <max>1</max>
- <lifetime>60</lifetime>
- <restock>0</restock>
- <saferadius>60</saferadius>
- <distanceradius>60</distanceradius>
- <cleanupradius>60</cleanupradius>
- <flags deletable="0" init_random="0" remove_damaged="0"/>
- <position>fixed</position>
- <limit>child</limit>
- <active>1</active>
- <children>
- <child lootmax="0" lootmin="0" max="1" min="1" type="FieldShovel"/>
- </children>
- </event> -->
- cfgspawnabletypes.xml shouldn't get mangled, but just override or add what you want to tweak. Extras don't matter, it just
- helps if you want to change ContractorShovel to a Contractor Hatchet:
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <spawnabletypes>
- <type name="WoodenCrate">
- <hoarder />
- <!-- Guaranteed NailBoxes - separate slots are more consistent -->
- <cargo chance="1.00">
- <item name="Hammer" chance="1.00" min="1" max="1" />
- </cargo>
- <cargo chance="1.00">
- <item name="NailBox" chance="1.00" min="5" max="5" />
- </cargo>
- <cargo chance="1.00">
- <item name="NailBox" chance="1.00" min="1" max="1" />
- </cargo>
- </type>
- <type name="SledgeHammer">
- </type>
- <type name="Hatchet">
- </type>
- <type name="FieldShovel">
- </type>
- </spawnabletypes>
- (so add anything not already listed in the event spawner xml)
- this will work until the next day's check for updates/validate then expect this behavior:
- [2026-03-31 03:26:48] Validation: corrupt chunk b6151c860b4fdcab313866b7fc2e0ede8d8105e2 has de3efbb5ed6b08b3a593c0ebf3b2af7fa10b2536 at offset 0 (1907 bytes)
- [2026-03-31 03:26:48] Validation: 1 chunks corrupt of 1 total in file "mpmissions\dayzOffline.chernarusplus\cfgeconomycore.xml"
- [2026-03-31 03:26:48] Validation: corrupt chunk e6bb31ee27578757d62f9803ac56f9496efd3d8f has a67dc68d6939081deb357c528c6ba3ae43125ec4 at offset 0 (81403 bytes)
- [2026-03-31 03:26:48] Validation: 1 chunks corrupt of 1 total in file "mpmissions\dayzOffline.chernarusplus\cfgeventspawns.xml"
- [2026-03-31 03:26:48] Validation: corrupt chunk bc67d56d134f62fd9ea4586592a930d48c0592ce has 5ce7b6120b7ca5de34ea29257f53ad4a6d4e65fe at offset 0 (51477 bytes)
- [2026-03-31 03:26:48] Validation: 1 chunks corrupt of 1 total in file "mpmissions\dayzOffline.chernarusplus\db\events.xml"
- [2026-03-31 03:26:52] Validation: full scan in "c:\dayz-server" found 3/429 mismatching files (134.79 KB/3.96 GB) in 32 seconds).
- afterwhich you'll need to restore/re-edit those three files.
Add Comment
Please, Sign In to add comment