You are viewing a potentially older version of this package. View all versions.
WackyMole-RareMagicPortal-2.0.0 icon

RareMagicPortal

Adds rare magical requirements to making and using Portals

Date uploaded 2 years ago
Version 2.0.0
Download link WackyMole-RareMagicPortal-2.0.0.zip
Downloads 493
Dependency string WackyMole-RareMagicPortal-2.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2200

README

RareMagicPortal

Server and client side required for Server Sync enforcement.

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?
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

Prefab IDs:

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

Configuration Options:

RareMagicPortal.cfg

  • [General]

    • Force Server Config:
      • Enable/Disable ServerSync enforcement

    • 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

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

    • PortalJuiceValue:
      • Default selling 300 coins at Haldor the trader

        Set to value of 0 removed the sale at Haldor

YML (config/Portal_Names/*.yml)

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

  Demo_Portal_Name:
    Portal_Crystal_Cost:
      Red: 1
      Green: 0
      Blue: 0
      Gold: 1
    Portal_Key:
      Red: true
      Green: false
      Blue: false
      Gold: true
    Free_Passage: false > set true makes the portal FOC from crys/keys
    Admin_only_Access: false

Compatibility:

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.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

Credits:

  • Thank you to OdinPlus Team for some useful information.
  • Zeall for readme update