Valheim
This package has been deprecated and may no longer be maintained. We recommend looking for an alternative.
Install with App

Details

Latest version
0.2.0
Last Updated
First Uploaded
Downloads
67
Likes
0
Size
26KB
Dependants

Categories

Tags

Deprecated
ADDatHost Valheim hosting
€1

This mod is simple in concept but quite powerful in its potential for role-play or inhibiting cheaters.

The mod implements lists that restrict player actions. The lists are enforced server-side by ServerSync.

Currently the mod has implemented the following requirement checks:

Item Checks

TeleportItemReqList - a list of items required to be in a player's inventory in order to teleport (e.g. ShieldWood)
MineItemReqList - a list of node:item pairs of items required to be in a player's inventory to mine a specific node type (e.g. mudpile:CryptKey,silvervein:Wishbone)

Global Key Checks

TeleportKeyReqList - a list of keys required to be set in order to teleport (e.g. defeated_eikthyr)
SkillKeyReqList - a list of skillName:key pairs where the key is required to increase the skill (e.g. Swim:defeated_eikthyr)
EquipKeyReqList - a list of itemName:key pairs where the key is required to equip the item (e.g. PickaxeAntler:defeated_eikthyr)
PickupKeyReqList - a list of itemName:key pairs where the key is required to pickup the item (e.g. PickaxeAntler:defeated_eikthyr)
CraftKeyReqList - a list of itemName:key pairs where the key is required to craft the item (e.g. PickaxeAntler:defeated_eikthyr)
LearnKeyReqList - a list of itemName:key pairs where the key is required to learn the item's recipe (e.g. PickaxeAntler:defeated_eikthyr)
MineKeyReqList - a list of nodeName:key pairs where the key is required to damage the node (e.g. mudpile:defeated_gdking,silvervein:defeated_bonemass)

Lists are comma-separated.

Items use the item spawn name.

Global keys are here.

Skill names are Swords, Knives, Clubs, Polearms, Spears, Blocking, Axes, Bows, FireMagic, FrostMagic, Unarmed, Pickaxes, WoodCutting, Jump, Sneak, Run, Swim.

Mining node names are idek.

I'm open to suggestions for more restrictions, it's pretty easy to implement new ones.

Config

A config file BepInEx/config/aedenthorn.RequirementCheck.cfg is created after running the game once with this mod).

You can adjust the config values by editing this file using a text editor.

To reload the config from the config file, type requirementcheck reset into the game's console (F5).

Note that this should only work on the server, since config values are enforced using ServerSync.

DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro