You are viewing a potentially older version of this package. View all versions.
JereKuusela-Expand_World_Prefabs-1.19.0 icon

Expand World Prefabs

Allows configuring build or spawned objects.

Date uploaded a day ago
Version 1.19.0
Download link JereKuusela-Expand_World_Prefabs-1.19.0.zip
Downloads 376
Dependency string JereKuusela-Expand_World_Prefabs-1.19.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Expand World Prefabs

Allows creating rules to react to objects being spawned, destroyed and more.

Install on the server (modding guide).

Usage

See documentation.

for help and examples.

Credits

Sources: GitHub

Donations: Buy me a computer

CHANGELOG

  • v1.19

    • Adds the file name to the error message when failing to load a file.
    • Adds a new way of filtering with objects and bannedObjects fields.
    • Changes the default value of zdo field parameters to be acquired from the object.
    • Fixes multiple prefabs not working on the field prefab.
    • Fixes the field bannedObjects not working.
  • v1.18

    • Adds a new way of spawning with spawn and swap fields.
    • Adds new fields addItems and removeItems to more easily add or remove items from containers.
    • Adds new fields maxHeight and minHeight to pokes and object filters.
    • Adds support for filtering with the data type items.
    • Adds new parameters "par5", "par6", "par7", "par8" and "par9".
    • Adds new parameters "item_*" to get the amount of a specific item in containers.
    • Adds a new parameter "snap" to get world height at current position.
    • Adds parameter support to fields data, day, maxAltitude, maxDistance, minAltitude, minDistance, minY, night, poke, remove, removeDelay, weight.
    • Adds a new field cancel to cancel some triggering actions.
    • Fixes global key filters not being converted to lower case.
    • Fixes nested parameters not working.
    • Fixes zdo based parameters not working when spawning objects.
    • Fixes the type long missing from filter types.
    • Fixes container items filtering not working with any container size.
    • Fixes the fields maxAltitude and minAltitude being checked incorrectly (60 meters off).
    • Removes the default value of 10000 meters from maxAltitude.
    • Removes door usage from the type state (no longer sent to the server).
  • v1.17

    • Adds new filters paint, minPaint and maxPaint.
    • Adds a new field injectData to change data without replacing the entire object.
    • Changes parameters "pid", "pchar" and "pname" to work as normal parameters.
    • Fixes creature spawn points losing track of the spawned creature when data swapping.
    • Removes the field playerSearch as obsolete. Use player pokes instead.
    • Removes the RPC target "search" as obsolete. Use player pokes instead.
  • v1.16

    • Adds a new parameter "day" to get the current day of the world.
    • Adds a new parameter "ticks" to get ticks since the world start.
    • Adds a new parameter "pos" to get the object position as x,z,y.
    • Adds a new parameter "rot" to get the object rotation as y,x,z.
    • Adds new data fields position and rotation.
    • Adds a new field packaged to RPC calls to send parameters as a single package (some RPCs require this).
    • Adds support for the data field connection to use ZDO id instead of connection hash.
    • Changes the parameter "time" to be seconds instead of ticks.
    • Fixes value groups not working for data filters.
    • Fixes nested value groups not working.
    • Fixes parameters not working for data filters.
    • Updates the RPC.md file.
  • v1.15

    • Adds a new type "globalkey" to trigger on global key changes.
    • Adds a new type "event" to trigger on event start or end.
    • Changes missing global keys to be evaluated as value 0.