StonePortalControl
Gives you full control over stone portals. Item Restrictions, Portal Scale and Recipe Removal.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.dllon 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: https://github.com/dannanboi
