You are viewing a potentially older version of this package. View all versions.
NarcLab-NarcLab_Resources-0.1.1 icon

NarcLab Resources

Server-authoritative Wood and Stone spawning for Valheim without full devcommands or admin access.

By NarcLab
Date uploaded a month ago
Version 0.1.1
Download link NarcLab-NarcLab_Resources-0.1.1.zip
Downloads 69
Dependency string NarcLab-NarcLab_Resources-0.1.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333

README

NarcLab Resources

NarcLab Resources provides restricted, server-authoritative spawning of vanilla Wood and Stone for Valheim.

Supported and qualified runtime: Valheim 1.0.7 / Deep North.

What It Does

The mod allows only these commands:

spawn wood <amount>
spawn stone <amount>

Amounts must be from 1 through 1000. For example:

spawn wood 500
spawn stone 250

The dedicated server validates every request. No full devcommands or Valheim administrator privilege is required for a player to request Wood or Stone.

Installation

Dedicated Server

Install NarcLab Resources on the dedicated server through Thunderstore, r2modman, or the normal BepInEx plugin mechanism.

Modded Player

Players who want to run the NarcLab Resources commands must install the same package through Thunderstore or r2modman.

Unmodded Player

Players without this client mod can still join a server that runs NarcLab Resources. They cannot use the NarcLab Resources commands, but they can see and pick up the normal vanilla Wood and Stone drops created by modded players.

Usage

Open the F5 console. Do not enter devcommands.

spawn wood <1-1000>
spawn stone <1-1000>

Commands may be repeated.

Restrictions

  • Only canonical vanilla Wood and Stone are allowed.
  • The maximum request is 1000 items.
  • Arbitrary prefabs, weapons, armor, creatures, and other resources are not available through this mod.

Command Collision

While NarcLab Resources is loaded, it replaces/intercepts Valheim's spawn console command and restricts it to Wood and Stone. Vanilla unrestricted spawn is not available through that command while this mod is loaded.

It may be incompatible with mods that also replace or substantially modify the same console command. Compatibility with Server Devcommands is not claimed.

Security Design

  • Server-authoritative validation.
  • No full devcommands.
  • No Valheim administrator privilege required.
  • No arbitrary prefab spawning.

CHANGELOG

Changelog

0.1.1

  • First public release.
  • Restricted server-authoritative Wood and Stone spawning.
  • Supports requests from 1 through 1000 resources.
  • Dedicated multiplayer support.
  • Mixed modded and unmodded client compatibility for normal vanilla drops.
  • Uses the qualified Valheim 1.0.7 world-drop creation path.