Valheim

File information

Last updated

Original upload

Created by

Cooley

Uploaded by

Cooleyy

Virus scan

Safe to use

About this mod

Easy to use Item/NPC/Prefab spawner.

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

Requirements
Permissions and credits
Changelogs
Donations
Easy Spawner

Easy to use Item/NPC/Prefab spawner

Easy spawner provides a simple and easy to use UI for spawning any Valheim prefab. 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




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



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 



  • 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



  • Spawn something you didn't mean to or didn't 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.

Known Issues

Sometimes the check for new/leaving players is killed unexpectedly and stops updating the player dropdown 

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.

Source code

https://github.com/Cooleyy/EasySpawner