WackyMole-RareMagicPortal icon


Adds rare magical requirements to making and using Portals. Colors Individual Portals

Last updated 2 days ago
Total downloads 5222
Total rating 1 
Categories Tweaks
Dependency string WackyMole-RareMagicPortal-2.1.3
Dependants 33 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1900 icon

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1900



Server and client side required for Server Sync enforcement. V2.1.3

MinimumRequiredVersion = "2.1.3"

Tired of portals being the end all, be all of Valheim?
You don't want to unnecessarily restrict which items can be teleported or not?
Do you want to see more PVP or more cooperation between your buddies and their bases?
Do you want more colors on your portals or more freedom or restrictions?
Well, I've a mod for you!

Main Feature:

  • Magical Portal Fluid

    • Added 1 extra required item to the Portal building recipe
    • Controlling the distribution of fluid = Controlling the amount of portals can be built in the world
    • Increasing portals' scarcity and value on a multiplayer server
  • Crystal and Key Economy

    • v2.0 adds 4 Crystals and 4 Keys, color-tiered:Red, Green, Blue and Gold/Master.
      • Crystals will be consumed upon entering the portal
      • Keys to be possessed before entering the portal
        • Simulate the economy progression from spending and upgrade to long-holding possession

    • Allows you to make special portal for:
      • Special access portal by team members only
      • Special toll charges for custom locations/bosses portal
    • Helps your server build a more interactive economy in Valheim

How to Get Crystals/Keys/Fluid in your World

The Crystals/Keys/Fluid are mostly meant for Multiplayer Worlds
The Admins can add them to the world in several different ways.
Drop That mod : https://valheim.thunderstore.io/package/ASharpPen/Drop_That/
Sell That mod : https://valheim.thunderstore.io/package/ASharpPen/Sell_That/
Better Trader: https://valheim.thunderstore.io/package/OdinPlus/Better_Trader_Remake/
CLLC: https://valheim.thunderstore.io/package/Smoothbrain/CreatureLevelAndLootControl/
KG's Marketplace https://valheim.thunderstore.io/package/KGvalheim/Marketplace_And_Server_NPCs_Revamped/
KnarrTheTrader https://valheim.thunderstore.io/package/OdinPlus/KnarrTheTrader/
Server rewards for completing objectives, like in KG marketplace mod for bounties,
https://valheim.thunderstore.io/package/NewHaven/Server_Rewards/ Server rewards, but I don't recommend

Portal Colors

  • Portal Colors - You can manually edit or cyle through colors with "LeftControl-E" as Admin or Owner with EnableCrystal off
  • Black Portal -With EnableCrystals- Admin Only Portal

  • Yellow Portal -With EnableCrystals- Normal Portal, no crystal or key req

  • Red Portal -With EnableCrystals- Red Crystal, Red Key, Gold Crystal, Gold Key

  • Green Portal -With EnableCrystals- Green Crystal, Green Key, Gold Crystal, Gold Key

  • Blue Portal -With EnableCrystals- Blue Crystal, Blue Key, Gold Crystal, Gold Key

  • Gold Portal -With EnableCrystals- Gold Crystal, Gold Key

  • White Portal -With EnableCrystals- Teleport Anything, Traverese with Metals or Ore

  • Portal Drink
  • Allows you do drink a potion and be able to Teleport Anything for a configurable amount of time. (Turns Any Portal White with base color behind)

YML files are synced on creation to the rest of the clients. Server always override client files on sync, except on finding a new portal or changing Portal color.

Prefab IDs:

  • PortalMagicFluid
  • PortalCrystalMaster
  • PortalCrystalRed
  • PortalCrystalGreen
  • PortalCrystalBlue
  • PortalKeyGold
  • PortalKeyRed
  • PortalKeyGreen
  • PortalKeyBlue
  • PortalDrink

Configuration Options:


  • [General]

    • Force Server Config:
      • Enable/Disable ServerSync enforcement

    • YML Logs
      • Useful for seeing what a Portal Requirements are: Default: True

    • CraftingStation_Requirement:
      • Default required workbench

    • Level_of_CraftingStation_Req:
      • Default required lvl 1 of workbench

    • OnlyCreatorCanDeconstruct:
      • Allow/Disallow ONLY creator of the portal can demolish/destroy the portal

    • Portal_Health:
      • Configure the HP of portal

    • OnlyCreatorCanChange:
      • Allow/Disallow ONLY creator of the portal can rename the portal tag

  • [Portal Crystals]

    • Portal_Crystal_Enable:
      • Enable/Disable Crystals and Keys to be loaded and used in game

    • Crystal_Consume_Default:
      • Default required 1 crystal for each portal

    • Portal_Crystal_Color_Default:
      • Default required RED crystal for TP consumption

  • [PortalJuice]

    • EnablePortalJuice:
      • Enable/Disable Portal Fluid to be loaded and used in game: 2.1.1 Default false

    • PortalMagicFluidSpawn:
      • Default spawning 3 fluids upon NEW CHARACTER created into the world/server

    • PortalJuiceValue:
      • Default 0 coins

        Set to value of 1 or more to sale at Haldor

  • [Portal Drink]

    • Portal_drink_timer = 120 : Seconds that PortalDrink lasts

YML (config/Portal_Names/*.yml)

  • The mod will auto generate default data into each yml named after your current world upon getting close to ANY portal.

      Red: 1
      Green: 0
      Blue: 0
      Gold: 1
      Red: true
      Green: false
      Blue: false
      Gold: true
    Free_Passage: false  - No Crystal or Key requirement
    TeleportAnything: false  - Portal allows you to Teleport Anything
    AdditionalProhibitItems: -- Additional items restricted at this portal or [Stone, Wood]
    - Stone
    - Wood
    Admin_only_Access: false -- Only admins


Author's Note:

  • Mod was produced with the hope that multiplayer servers will require more teamwork or more PVP to capture the scarce resource.
  • Other mods can allow the resources to be bought at the trader for high prices, gambled on or become rare drops from bosses.
  • If you are using ServerCharacters,

Change Log:

    Version 2.1.3
        Bug fix for Admin status: I swear there are little gremlins messing up Serversync and admin permissions.
    Version 2.1.2
        Extra Compatibility with TargetPortal
        Now shows TargetPortal Icon colors based on color of Portal
        bug fixes
    Version 2.1.1
        Changed Default for EnablePortalJuice to false for everyone that just wants PortalColors.
        Changed ConfigEnableYMLLogs to allow for indivudal log settings. 
        Fixed Spelling errors. 
    Version 2.1.0
        Added PortalDrink - Configurable Time that allows a player to Teleport anything.
        Added PortalColor Changing feature, can be used exclusively or with Crystals and Keys
        Added AdditionalProhibitItems, If you restrict additional items on specific portals
        Added TeleportAnything for individual Portals- White Portals allows anything thorugh
        Defaults changed on PortalJuiceValue
        Bug fixes for TargetPortal mod
        Fixed WackysDatabase comptability with Portals- Keep EnablePortalJuice = false and add PortalJuice with Wackysdb instead if you want unique reqs
    Version 2.0.0
        Rewrite of mod: Added Crystals and Keys. YML configuration on entering portals. 4 Different types of crystals and keys. 
        Crystals are Consumable. Keys are not. TargetPortal, AnyPortal, TeleportAnything compatibility. YML file for each world. ServerSynced admin control
    Version 1.6.0
        Added three New Configs: Portal Health, OnlyCreatorCanDeconstruct (  destroy possible), OnlyCreatorCanRename
    Version 1.5.1
        Fixed potential SinglePlayer Bug
    Version 1.5.0
        Fixed another ServerSync bug, cleaned up log outputs.
    Version 1.4.1
        Fixed Single Player bug. 1.4.0 Removed JVL requirements.
    Version 1.4.0
        ´╗┐Removed JVL requirements from the Mod. Fixed Station Lvl message to display ingame station name.
    Version 1.3.0
        Added CraftingStation and CraftingStation lvl to config! You can now change midgame by editing cfg or with ConfigurationManager
    Version 1.1.1
        Fixed Server Sync. - Now with moar Server Sync!
    Version 1.00
        Mod Release


Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-8-11 2.1.3 109 Version 2.1.3 Install
2022-8-10 2.1.2 75 Version 2.1.2 Install
2022-8-5 2.1.1 140 Version 2.1.1 Install
2022-8-3 2.1.0 63 Version 2.1.0 Install
2022-7-20 2.0.0 339 Version 2.0.0 Install
2022-5-31 1.6.0 931 Version 1.6.0 Install
2022-5-12 1.5.1 488 Version 1.5.1 Install
2022-3-5 1.5.0 1880 Version 1.5.0 Install
2022-2-24 1.4.1 381 Version 1.4.1 Install
2022-2-11 1.3.0 421 Version 1.3.0 Install
2022-1-25 1.1.1 236 Version 1.1.1 Install
2021-12-21 1.0.1 159 Version 1.0.1 Install