You are viewing a potentially older version of this package. View all versions.
cjayride-SenealCapeOnLogin-1.0.3 icon

SenealCapeOnLogin

Re-applies your SeneaL UI cape after login when an Adventure Backpack is wearing the shoulder slot. Client side.

Date uploaded 3 weeks ago
Version 1.0.3
Download link cjayride-SenealCapeOnLogin-1.0.3.zip
Downloads 133
Dependency string cjayride-SenealCapeOnLogin-1.0.3

This mod requires the following mods to function

seneaL-SeneaL_UI-1.1.6 icon
seneaL-SeneaL_UI

Complete Valheim UI redesign: HUD, inventory with equipment and quick slots, chests, crafting, build menu, world map, character windows, in-game settings. The server sets the gameplay rules.

Preferred version: 1.1.6
Vapok-AdventureBackpacks-2.2.1 icon
Vapok-AdventureBackpacks

A Valheim Mod to add a catalogue of Adventuring Backpacks to the Game. These packs will grow and become more useful as the game progresses.

Preferred version: 2.2.1
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

README

🦸 SeneaL Cape On Login

Automatically Restore Your Cape After Loading

A client-side Valheim mod that automatically re-applies your SeneaL UI cape slot after login, world loading, spawning, and respawning.

Designed to work with Adventure Backpacks, including when the backpack occupies the shoulder slot, so your cape can return to the correct equipment slot without needing to re-equip it manually.

✨ Features

  • Automatic cape restoration after login, world load, spawn, and respawn.
  • SeneaL UI integration to restore the cape to its dedicated equipment slot.
  • Adventure Backpacks compatibility with shoulder-slot equipment.
  • Inventory recovery if SeneaL UI's cape reference is cleared during loading.
  • Delayed retry handling to allow equipment initialization to finish before restoring the cape.
  • Correct equipment layout by relocating the cape into the equipment row instead of leaving it in the inventory grid.

📦 Installation

Install the mod through your preferred Valheim mod manager, or use the package's manual installation instructions.

For additional installation details, see Package/README.md.

🛠️ Building

The Thunderstore package can be built locally. The generated archive is not committed to the repository.

Expected package output:

dist/cjayride-SenealCapeOnLogin-1.0.3.zip

🎨 Icon

See ICON_PROMPT.md for the mod icon concept and generation prompt.

CHANGELOG

Changelog

1.0.4

  • Verified Player.Load(ZPackage), Player.OnSpawned(bool), Player.OnRespawn(), and Humanoid.m_shoulderItem against Valheim 1.0.21.
  • Cache SeneaL API delegates and static field refs instead of MethodInfo.Invoke / FieldInfo.GetValue on every retry.
  • Collapse overlapping load/spawn/respawn retries into one generation-token coroutine; poll every other frame.
  • Use SeneaL CapeSlot.IsCape when present and stop the inventory scan once an equipped cape is found.

1.0.3

  • Verified against Valheim 1.0.21 (Release build).
  • BepInEx dependency set to denikson-BepInExPack_Valheim-5.4.2360.

1.0.2

  • After CapeSlot.Set, call SeneaL’s Slots.Relocate so the cape appears in the equipment row (not left in the bag grid). Clicking the cape did this via the normal EquipItem postfix.

1.0.1

  • Fix: after login/load, re-find the cape in inventory when SeneaL’s CapeSlot.Item was cleared (1.0.0 only re-applied if that static field was already set).
  • Hook Player.Load and retry for ~3 seconds so re-apply runs after Adventure Backpacks equips to the shoulder slot.

1.0.0

  • Initial release: re-apply SeneaL cape slot after spawn/respawn.