Skip to content

v2.2.7 - Single-player fix: the panel now works when you host

Choose a tag to compare

@hldblc hldblc released this 17 Jul 07:07

Fixed — the panel did nothing in single-player

If you played single-player, or hosted a game for friends, every server-executed action silently did
nothing: spawning items, creatures and bosses, Bag/Give, kits, undo, summon, heal, kick, ban, broadcast, events
and peaceful mode. The panel said "Requested ..." and nothing appeared.

This has been broken since the very first release. Thank you to the player who reported it — the failure was
silent, so it looked like a bad install rather than a bug.

Why it happened: the companion identified who sent a command by looking them up in the server's peer list.
That list only ever contains remote connections — when you host, you are not in it. So the host failed the
admin check before adminlist.txt was even read. That is also why adding your own Steam ID to the admin list
didn't help: on a host, that lookup is never reached. The host is now recognised as an admin directly, the same
way Valheim itself does it.

Client-side features (buffs, teleport, fly, the map-point T teleport) never went through that check, which
is why those kept working while spawning didn't.

In single-player you no longer need an adminlist.txt entry — you're the host, so you're automatically an
admin. (It never actually worked there anyway.)

New — logo header

The Advanced Admin Panel logo now sits above the tabs. Turn it off in Settings → Show logo header.

Dedicated servers

Unaffected by the bug — admins connect as remote clients and were always resolved correctly. There is no
behaviour change for you. Updating the companion is optional and safe.

Install

Copy both DLLs into <Valheim>\BepInEx\plugins\:

  • AdminPanel.dll — v2.2.7 (client)
  • AdminPanelCompanion.dll — v2.1.2 (executor/auth)

Both changed in this release — please update both. Press F7 in-game.

Dedicated server: put AdminPanelCompanion.dll in the server's BepInEx\plugins\ and add admin Steam IDs to
the server's adminlist.txt. Each admin's client needs both DLLs.


Discord (support & bug reports): https://discord.gg/2RVn78hNrz

Advanced Admin Panel is an unofficial, fan-made mod and is not affiliated with or endorsed by Iron Gate AB.