Cooleyy-EasySpawner icon

EasySpawner

Easy spawner provides a simple and easy to use UI for spawning any Valheim prefab inside the game. Use this mod to spawn in items or enemies (of any level!) or just experiment spawning any gameobject possible (includes fx, vfx, and sfx)

Last updated a year ago
Total downloads 51264
Total rating 23 
Categories Mods Tools Client-side Utility
Dependency string Cooleyy-EasySpawner-1.6.1
Dependants 117 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.701 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.701

README

EasySpawner

Mod for Valheim using BepInEx

Easy to use Item/NPC/Prefab spawner

Easy spawner provides a simple and easy to use UI for spawning any Valheim prefab inside the game. Use this mod to spawn in items or enemies (of any level!) or just experiment spawning any gameobject possible (includes fx, vfx, and sfx)

While in game press "/" or "Numpad /" to show/hide the menu. Hotkey can be changed in config.

The main feature of the provided menu is a search field that when typed into updates a list of prefabs that contain the search term (non case-sensitive). The prefabs will contain all manner of gameobjects from items, enemies, world objects, fx, vfx, sfx and anything else in the game. Anything that can be provided a level such as equipable items and enemies can be spawned at any level up to 999,999,999. The mod is fully client-side and not required by anyone but the person who wants to use it, this can be used on any server.

Note: The prefab names may differ from the in game name. E.g. The 5th boss Yagluth's prefab is called GoblinKing

Warning: This mod can massively affect your character and world. Do not use this on a server where you are not given permission by others on it!

Menu UI

Menu UI

Example. Entering "copper" will provide all prefabs with "copper" contained in the name, here it provide Copper bar, Copper ore, Copper knife and three variants of a copper vein.

Copper example

Clicking the spawn button, pressing "=" or "Numpad +" will create the selected prefab at the chosen player.

Features

  • The menu UI can be dragged within the screen with the mouse.

  • The search field auto updates the prefab list with every character entered

  • You can choose the player to spawn the prefab at. Note: you cannot place items into others inventory

  • You can choose the amount and level of the item/object you want to spawn using the amount and level field

  • You can create Items/Npcs much higher level than the game normally permits. E.g. a level 999999999 Silver sword

High level silver sword example

  • You can tick the "Put in inventory" toggle to immediately place the item in your inventory. Note: this only works for item drops and only works on yourself, if you tick this and try on other players it will just spawn in front of them as normal

  • You can go over the normal stack size limit by ticking the "Ignore stack size" toggle. E.g. a 999 stack of arrows

Large arrow stack example

  • Spawn something you didnt mean to or didnt realise would be indestructible? You can undo it by pressing the Undo hotkey, defaults to left ctrl + z

  • You can select favourite items that will stay at the top of the list for easier access.

Config

In your BepInEx/Config there is a config file that can be used to change the hotkeys to open/close the menu, spawn items and undo. Be aware setting this to a letter will cause the menu to close if you type it in the search box! The config can also be used to change the menu width.

Installation

  1. Install BepInEx for Valheim

  2. If you have the zip, extract within your BepInEx plugins folder. Otherwise place the .dll in a folder called "EasySpawner" in your BepInEx plugins folder.

Changelog

1.6.1

  • Fix bug with internal gameobject name changes

1.6.0

  • Menu width now configurable from config.

1.5.0

  • Massive UI overhaul, now follows Valhiem UI styling

1.4.2

  • Favourite items now stored in same location as config file.

1.4.1

  • Asset bundle for UI is now contained within main .dll

1.4.0

  • Adds ability to select favourite items that stay at the top of the list. These are saved on file to persist between sessions.
  • Player input is more thouroughly blocked during input to fields.

1.3.0

  • Changed prefab dropdown to a scrollView. Now all prefabs are shown in the list at all times, so removed the "show > 100 search results" toggle.
  • Prefabs from other mods are correctly sorted into the list.

1.2.0

  • Added Undo hotkey feature. Can be used to undo last set of spawns, deleting the objects from the game. If items have been destroyed since spawning this does nothing.
  • Hotkeys are now shown on UI. Hotkey text will update when hotkeys changed in config.

1.1.4

  • Fixed bug with spawning Serpent Trophy as its max stack size is incorrectly set to 0 by the base game.

1.1.3

  • Added ability to set hotkey modifiers. E.g. leftAlt + / to open menu

1.1.2

  • Fixed conflict with Extended Item data mod

1.1.1

  • No longer needs exact file name, should fix issues with mod managers

1.1.0

  • Added config file to change hotkeys