StonePortalControl
Gives you full control over stone portals. Item Restrictions, Portal Scale and Recipe Removal/Edit. Server-synced and locked config in multiplayer.
About this mod Author’s original text
Description
Gives you full control over stone portals. Server-synced options in multiplayer.
Overview
| Feature | Description | Synced from Server |
| ------------- | ------------- | ------------- |
| Item Restrictions | Make stone portals behave like wood portals. | Yes |
| Portal Scale | Set the scale for stone portals. | Yes |
| Disable Recipe | Remove the stone portal recipe from players even if all materials have been found. | Yes |
| Show enabled text | Adds hover text on the portal to show if item restrictions are enabled or disabled. | No, local option |
| Show scale text | Adds hover text on the portal to show its scale. | No, local option |
Configuration and values
Item restrictions
true blocks inventory items with m_teleportable = false through
stone portals, including items added by other mods. This check remains active
even if the world's portal modifier allows all cargo. false restores the
stone portal's original item allowance. Wooden portals are never changed.
This only toggles item restrictions; it does not disable the plugin, scaling,
hover options or version enforcement.
Portal scale
A decimal number from 0.5 through 1, using a decimal point.
(Any number less than 50% would make them unusable due to collisions; therefore, 50% is the smallest number.)
1 is 100% and 0.5 is 50% of the original scale on each axis. Default: 1
Show enabled text
true adds Item restrictions: Enabled or Item restrictions: Disabled below the vanilla portal text. Default: false.
Show scale text
true adds Scale: 50%, Scale: 75%, Scale: 100%, etc., using the active scale value. Default: false.
Offline play uses your local file. When joining a server, its settings override and lock the active values. Your local file is never overwritten by the server.
Manual Installation
- Extract to BepInEx/plugins/StonePortalControl/dannanboi_StonePortalControl.dll on clients and servers
- Start the game or server once. It creates:
BepInEx/config/dannanboi.stoneportalcontrol.cfg.
Compatibility
It has not been tested with other mods; it should work as its footprint is minimal.
A client with this mod also rejects a multiplayer server that lacks the matching mod.
Remove/disable the mod in that profile to join a server without it.
dannanboi Mod Philosophy
My mods aim to be small, modular mods that stay close to the vanilla experience of Valheim and work well together or independently.
You can stack all my mods with all options switched on to change the game a lot, but you can also cherry-pick just the features you want or like for your style of playing.
I believe that, as a player, it is truly your experience and run, and as such, you should be able to customize it just the way you want to.
You should never be forced into unwanted features "as an added bonus" or "nice to have"; they should always be options.
All my mods are designed with a hierarchical mindset in multiplayer, where the server dictates all gameplay-influencing options and purely visual options stay local and up to each player.
Credits
You the player. Thanks you for using my mod!
Source
GitHub:
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.