Valheim Marketplace Mod
Complete Configuration Guide
🎯 Overview
The Valheim Marketplace mod adds various NPCs and mechanics to your Valheim server, allowing admins to configure them server-side without needing to restart the server.
🏪 Marketplace
Player-to-player trading system with currency support
👥 NPCs
Trader, Buffer, Gambler, Banker, Teleporter, Quest Giver, Info NPC
🎮 Quests
7 quest types: Kill, Collect, Harvest, Craft, Talk, Build, Move
💬 Dialogues
Interactive conversations with conditions and commands
🗺️ Territories
Zone management with special effects and restrictions
🎨 Transmog
Item appearance customization with visual effects
⚙️ Installation & Setup
Prerequisites
- Valheim server with BepInEx installed
- Admin access to server files
- Debug mode enabled for NPC placement
Installation Steps
- Install the mod on both server and all clients
- Restart the server to generate configuration folders
- Enable debug mode and spawn the "MarketplaceHammer"
- Configure NPCs using the hammer tool
📁 Folder Structure
👥 NPC System
Creating NPCs
- Enable debug mode
- Spawn "MarketplaceHammer" item
- Use hammer to place NPCs in the world
- Configure NPC type, profile, and appearance
NPC Types
🏪 Marketplace
Player-to-player trading
🛒 Trader
NPC-to-player trading
⚡ Buffer
Temporary buffs for items
🎲 Gambler
Chance-based rewards
🏦 Banker
Item storage and interest
🚀 Teleporter
Fast travel system
NPC Configuration
🎮 Quest System
Quest Database Format
Quest Types
| Type | Description | Example |
|---|---|---|
| Kill | Target creatures | Wolf, 10, 2 (10 wolves level 2+) |
| Collect | Target items (takes from inventory) | SwordIron, 5 |
| Harvest | Target pickable objects | Pickable_Carrot |
| Craft | Target crafted items | SwordIron, 1, 5 (level 5 iron sword) |
| Talk | Target NPCs by name | Village Elder |
| Build | Target building pieces | WoodWall |
| Move | Target coordinates | X, Z, Radius, "Destination", true |
Quest Rewards
Example Quest
💬 Dialogue System
Dialogue Format
Player Option Attributes
| Attribute | Usage | Example |
|---|---|---|
| Text | Option text | Text: Hello there! |
| Transition | Next dialogue | Transition: NextDialogue |
| Command | Execute action | Command: GiveItem, Coins, 50 |
| Icon | Display icon | Icon: Hammer |
| Condition | Show conditionally | Condition: HasItem, SwordIron, 1 |
| Color | Text color | Color: 255, 128, 0 |
Available Commands
Example Dialogue
💰 Trading Systems
Trader Format
Advanced Trader Format
Gambler Format
Banker Format
🗺️ Territory System
Territory Format
Available Flags
Basic
PushAway, NoBuild, NoPickaxe, NoInteract, NoAttack
PvP
PvpOnly, PveOnly
Healing
PeriodicHeal, PeriodicHealALL
Environment
NoMonsters, CustomEnvironment, ForceBiome
Movement
MoveSpeedMultiplier, NoPortals
Resources
InfiniteFuel, InfiniteEitr, InfiniteStamina
Example Territory
🛠️ Quest Builder Tool
Create quests, dialogues, and other configurations using interactive forms. Fill out the forms below and generate the proper configuration code.
🎮 Quest Configuration
💬 Dialogue Configuration
💰 Trader Configuration
⚡ Buffer Configuration
🤖 AI Agent Instructions
For AI Agents Creating Configurations
When creating configurations for the Valheim Marketplace mod, follow these guidelines:
1. File Structure
- Always create files in the correct subdirectories under
Configs/ - Use descriptive filenames that indicate the purpose
- Follow the exact formatting shown in examples
2. Quest Creation
- Use
[QuestID=autocomplete]for quests that should auto-complete - Always specify quest type, name, description, targets, rewards, cooldown, and requirements
- Use proper formatting for multiple targets/rewards with
|separator - Include appropriate cooldown values (use 10000+ for one-time quests)
3. Dialogue Creation
- Use unique profile names in square brackets
- Include NPC dialogue text on the line after the profile name
- Format player options with proper attributes separated by
| - Use appropriate conditions and commands for interactive dialogues
4. Common Mistakes to Avoid
- Don't forget commas between parameters
- Don't mix old and new format syntax
- Don't use invalid prefab names
- Don't forget to include all required fields
- Don't use incorrect condition syntax
5. Validation Checklist
6. AI Agent Workflow
- Identify Requirements: Determine what type of content is needed
- Choose File Type: Select appropriate configuration file type
- Create Structure: Set up basic file structure with proper headers
- Add Content: Fill in all required fields with appropriate values
- Validate Format: Check syntax and formatting against examples
- Test Logic: Ensure quest chains, dialogue flows, and rewards make sense
- Balance Check: Verify costs, rewards, and requirements are appropriate
- Final Review: Double-check all references and dependencies