You are viewing a potentially older version of this package. View all versions.
KGvalheim-Marketplace_And_Server_NPCs_Revamped-7.9.2 icon

Marketplace And Server NPCs Revamped

Mod adds Marketplace where people can sell/buy items and 8 more NPC's: Quests/ Trader / Banker / Teleporter / Info / Feedback / Gambler / Buffer

Date uploaded 2 years ago
Version 7.9.2
Download link KGvalheim-Marketplace_And_Server_NPCs_Revamped-7.9.2.zip
Downloads 456
Dependency string KGvalheim-Marketplace_And_Server_NPCs_Revamped-7.9.2

README

https://i.imgur.com/CkSehPu.png https://i.imgur.com/dBf99Od.png

Like my mods? Support me: Paypal: [email protected]

Mod adds 7 different NPCs to server so admins can configure them from serverside with no need to restart server for applying settings:

Changelog:

v7.9.2

  1. increased max marketplace price to 10 mil
  2. bugfixes

v7.9.1:

  1. bugfixes ^_^

v7.9.0:

  1. fixed problem where item with 5 sockets were shown as 4 sockets max

v7.8.9:

  1. fixed kill quest sometimes giving double reward

v7.8.8:

  1. fixed previous version

v7.8.7:

  1. now collect and craft quests may also have target level
  2. fixed JC api
  3. added new buttons x1,x5,x10,x100 to Trader UI

v7.8.6:

  1. added Korean language support
  2. fixed possible EIDF item dupe

v7.8.5:

  1. fixed cooking skill bug
  2. fixed marketplace UI sorting by itemname/price/amount/seller text disappear on click

v7.8.4:

  1. added german + portugese languages support
  2. HOTFIX for bug that doesn't allow mod to work

v7.8.3:

  1. changed marketplace fonts and optimized UI
  2. battlepass fixes
  3. webhooks now having <color> richtext removed

v7.7.9-7.8.2:

  1. added new mechanic: Battlepass. (Still it test so no guides atm)
  2. fixed marketplace default NPC models being able to go through (model collider issues)
  3. added marketplace comptibility with ANY EIDF (Extended Item Data Framework) mod, such as my Transmogrification, Jewelcrafting, EpicLoot and so on
  4. items in marketplace now have tooltip in right side with item stats and additional mod effects
  5. added new quest Requirement: HasItem. Example: HasItem: Coins, 500
  6. added new territory flags: LimitZoneHeight, CustomPaint
  7. some additional optimizations
  8. quest system improvements in terms of serverside crashes

v7.7.8:

  1. fixed Jewelcrafting incompatibility
  2. added new API methods for my server control bot

v7.7.7:

  1. max accepted quest count now controlled by option in serverside
  2. updated accepted quests UI. Added scrollview so you can see a lot of quests now. Also accepted quests UI now expandable in height if you drag its bottom border
  3. fixed visible on map npc icon giving error
  4. fixed patrol npc skyrocket in sky

v7.7.2-7.7.6:

  1. small bugfixes
  2. fixed npc patrol dropping underground because of no collision check
  3. added isModed = true flag for valheim
  4. new territory flags were added: CustomPaint, LimitZoneHeight

v7.7.1:

  1. added /zones command to show zones in world
  2. added F8 client GUI to create/remove/edit zones
  3. added new NPC that's visible on map
  4. added caching of quest descriptions
  5. quests now may have multiple restrictions
  6. added caching of teleporter icons
  7. added new NPC name <icon> tag that allows you to add icon to NPC (exampe: <icon>Hammer</icon>), icon may be in-game monster, item or teleporter icon
  8. NPC's now can move if you set their patrol data (example: X0, Y0, X1, Y1, X2, Y2 and so on)
  9. New territory flags (screenshot below)
  10. Fixed bug where every player would be an owner of any admin zone
  11. NPC that visible on map will be displayed as quest complete icon if its Talk quest target
  12. Fixed some patrol errors
  13. Changed discord connector config so you can write your own messages using {0] {1} {2} string formatting
  14. Now all configs (including discord config, territory config and MAIN config (that also got changed) ) updating in server runtime without restart
  15. Now skill level as quest REWARD will not give skill levels if skill level is 0 (professions)

  1. Marketplace NPC - allows players to sell/buy items by setting them on marketplace with setting quantity + price. Even if player is offline he still will get gold if someone buys his item. (Player will need to get his gold by clicking "Income" button in right bottom).

  2. new Trader NPC - is basically a trader npc that exchanges items that admins set in TraderProfiles.cfg. This file is auto-updated into serverside so that you don't need to restart server for applying new items to a trader.

  3. Banker NPC - allows people to store any quantity of items in it

  4. ServerInfo NPC - shows text info from ServerInfoProfiles.cfg file which is also updated in runtime. Rich-text is automaticly applied to text, so you can use <color=red> </color> and other rich text markers. Also I added custom <button>Name, link, width, height<button> mark so you can add dynamic buttons to your server info

  5. Teleporter NPC - teleport-hub that allows admins to set up teleport points in any place of map. Can use different profiles as any other NPC in TeleportHubProfiles.cfg

  6. Gambler NPC - adds gamble system in game

  7. Quests NPC - adds quest system in game that allows admins to create their own quests for players with custom targets/types/rewards/conditions

  8. Buffer NPC = adds npc that can buff you with custom buffs

https://i.imgur.com/iWZO1dp.png

How to spawn/change NPC:

  1. Add yourself as server admin

  2. Open console (F5) and write: spawn marketplacenpc

https://i.imgur.com/gDYUi8R.png

  1. To control NPC (change profile, override model, override name, snap to ground and rotate or change NPC type) press Shift + Interact on NPC

https://i.imgur.com/lQ5SPQf.png

Menu:

https://i.imgur.com/5A9Fgx4.png

Change NPC Type => Changes NPC type to chosen one

Change NPC Profile => Changes NPC profile string so Seller/Buyer/Info/Teleporter can change its values from config

Override NPC Name => Overrides NPC name to any string. Can apply rich text to it (font size, font color) with <color> and e.t.c

Override NPC Model => Overrides NPC model to your chosen Creature Prefab from Valheim (you can also use modded creatures)

Apply => Apply options

Main Options Config:

All main options are located in BepInEx/MarketplaceKG/MarketPlace.cfg

https://i.imgur.com/O1wcMwZ.png

OnlyEpicLootItems => If true, then players will be able to sell ONLY ITEMS WITH EPICLOOT EFFECTS in marketplace

ItemMarketLimit => limit of max slots that player can place in marketplace (I recommend to leave it on 15)

MarketTaxes => This % of gold will be reduced for seller to get after his item is sold

VIPplayerTaxes => **## This taxes will be applied instead of usual one if player is in VIP list

BlockedPlayers => steam ids (write each after , ) that can't use marketplace

VIPplayersList => steam ids (write each after , ) that have different taxes value

CanTeleportWithOre => can player use teleport hub (teleporte npc) with ore in their inventory

BlockedPrefabs => prefab on each line is prohibited to sell in marketplace

Marketplace NPC:

https://i.imgur.com/qKLkeIu.png

Marketplace allows player to add item in market slot and for other player to buy it. After your item slot bought, you get gold in "Income" tab. Player will get gold in "Income" even if seller is offline. 

In order for seller to get his gold you need to click INCOME button.

Players can cancel their own lots after pressing on it and clicking "CANCEL"

https://i.imgur.com/QQNDo5f.png

Marketplace 100% supports EpicLoot mod with all its MagicItemEffects and extentions:

https://i.imgur.com/xL8JFFK.png

"My Sales" button allows you to see only YOUR sales so you can cancel them

Info NPC:

NPC will read info from ServerInfo.cfg and display that on GUI. Rich text markers can be applied to text you write. Guide Also if you want to add button in your GUI (that will open any link), you can use <button>Name of button, link to site, width, height<button>

ServerInfo npc uses "default" profile by default. But you can add as many info profiles you want (same as Trader NPC profiles). Example below:

https://i.imgur.com/sD7wex8.png

Non-profiled text will be applied to every new Info NPC with "default" profile. But if you want to add your own you need to add new line with [ProfileName] and then in new line write your text you want

Teleporter NPC:

NPC acts as teleport-hub but all in one. Its profile/data controlled by BepInEx/MarketplaceKG/TeleportHubProfiles.cfg

https://i.imgur.com/RY551NN.png

To Add new teleport spots you need to add them new line each with structure: Spot Name, X coord, Y coord, Z coord, Icon name

You can add Icons in BepInEx/config/MarketplaceKG/MapPinsIcons folder

https://i.imgur.com/yZVRMLF.png

I recommend you to use 32x32 icons. Also you can write ItemPrefab name instead of icon in order to use its icon as map pin When you click Interact on Teleporter NPC with profile you will open map and it will show pins to you. After Left Mouse click on icon you will teleport to XYZ coords of spot.

https://i.imgur.com/Hoy6Gg1.png

XYZ COORDS SHOULD BE INTEGERS VALUE ONLY (5.6 <= WRONG, 5 <= good)

ALL OPTIONS / PROFILES / NPCs DATA ARE AUTO-RELOADED IN SERVER RUNTIME WITHOUT RESTART

https://i.imgur.com/5ZHfxlo.png

To install mod place MarketPlaceRevamped.dll into Client Plugins folder AND Server Plugins Folder

https://i.imgur.com/gTTJ9HJ.png

For Questions or Comments, find ## KGhttps://i.imgur.com/CPYNjXV.png in the Odin Plus Team Discord: https://i.imgur.com/XXP6HCU.png