Mohamed-PoV_Marketplace_Link icon

PoV Marketplace Link

Links Marketplace (KG, 10.0.9+) to Path of Valheiman: PoV level/path/ascendancy/node conditions and exact PoV XP rewards for quests.

Last updated 4 days ago
Total downloads 37
Total rating 0 
Categories Client-side Utility NPCs AI Generated
Dependency string Mohamed-PoV_Marketplace_Link-1.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2360
treextr-PathOfValheiman-6.0.14 icon
treextr-PathOfValheiman

Reforge Valheim: two passive trees for combat and crafting with 6,000+ nodes. Discover deep loot and crafting systems, world events, new bosses and quality-of-life upgrades.

Preferred version: 6.0.14

README

PoV Marketplace Link

Links Marketplace and Server NPCs (Revamped) by KG to Path of Valheiman by treextr.

It adds Path of Valheiman conditions, commands and quest rewards to Marketplace quests and dialogues. Use it to gate NPC dialogue by PoV level, path, ascendancy or tree node, and to reward PoV experience from quests. It fills the role the old EpicMMO integration had (EpicMMO_EXP, EpicMMOLevelMore, ...).

Requirements

  • Marketplace and Server NPCs (Revamped) by KG, version 10.0.9 or newer. Install it separately: it is not on Thunderstore, so this mod cannot list it as a dependency. Get it from KG's page (https://kg-marketplace.pages.dev/) or from Hexium (https://valheim.hexium.gg/), and keep its version the same as the server's. Without it, or on an older version, this mod does nothing: it registers nothing and logs a warning.
  • Path of Valheiman (installed automatically as a dependency).
  • BepInEx (installed automatically as a dependency).

Installation

Install on every player's client. Marketplace and PoV both run these checks and rewards on the client. Installing it on the server does no harm, but the server does not need it.

Syntax

These are Marketplace's usual rules:

  • Quest reward: Name: arg1, arg2
  • Dialogue command / condition: Name, arg1, arg2
  • Marketplace removes every space from the line. Arguments cannot contain spaces, ,, | or :.
  • Names are case-insensitive.

Quest rewards

Reward Effect
PoV_EXP: 500 Gives exactly 500 PoV tree experience.
PoV_EXP: 500, Kills Same. The optional kind (Combat, Kills, Crafting, Gathering, Mining, Building, Travel, Map) only labels the XP source in PoV's statistics.
PoV_ProfessionEXP: miner, 200 Gives exactly 200 experience to a PoV profession.

Professions in PoV 6.0.12: miner, smith, armorer, woodcutter, builder, shipwright, sailor, hunter, herder, cook, brewer, beekeeper, farmer, forager, fisher, pathfinder, delver. Use povlink_info to check them.

Dialogue / quest event commands

Command Effect
AddPoVExp, 500 Same as PoV_EXP: 500.
AddPoVExp, 500, Kills With an XP kind label.
AddPoVProfessionExp, miner, 200 Same as PoV_ProfessionEXP: miner, 200.

Conditions

Condition Passes when
PoVLevelMore, 30 PoV level is 30 or higher. This is the same as the old EpicMMOLevelMore.
PoVLevelLess, 30 PoV level is below 30. This is the same as the old EpicMMOLevelLess.
PoVHasNode, idA, idB The player has at least one of these nodes (passive or crafting tree).
PoVNotHasNode, idA The player has none of these nodes.
PoVPath, Warrior, Ranger The player's path is one of these.
PoVNotPath, Warrior The player's path is none of these.
PoVAscendancy, Berserker The active ascendancy is one of these.
PoVNotAscendancy, Berserker The active ascendancy is none of these.

Path and ascendancy names are compared ignoring spaces, symbols and case. They accept the id or the title. When a condition fails, the player sees the reason, for example "Requires PoV level 30".

Example

[old_warrior]
I only talk to seasoned warriors.
Text: I am ready | Condition: PoVLevelMore, 30 | Condition: PoVPath, Warrior | Command: AddPoVExp, 1000
Text: Goodbye

Exact experience

On its own, PoV runs every experience gain through its normal rules:

  • Biome penalty: XP fades when the player is above the biome's recommended level. A level 36 character in the Meadows keeps 5%.
  • Night bonus: +50% at night.
  • Multipliers: the server's global and per-kind experience multipliers, and the player's XP bonus.

A quest reward would then depend on where and when the player receives it. PoV Marketplace Link compensates for all of this, so the amount written in the quest is the amount the player gets.

This uses parts of PoV that are not in its public API. After a PoV update, the mod checks them at startup. If they changed, the log says Exact XP NOT available, and rewards fall back to PoV's normal rules instead of breaking. After every grant the mod also checks the real gain and logs a warning if it does not match.

Finding the right names

In the console (F5), inside a world:

  • povlink_info shows your PoV level, path, ascendancy and professions, in the format the conditions use.
  • povlink_info nodes lists the ids of every node your character has, for PoVHasNode.

It is not a cheat command. It only reads your own character.

Credits