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
By KGvalheim
Date uploaded | 2 years ago |
Version | 7.9.1 |
Download link | KGvalheim-Marketplace_And_Server_NPCs_Revamped-7.9.1.zip |
Downloads | 3737 |
Dependency string | KGvalheim-Marketplace_And_Server_NPCs_Revamped-7.9.1 |
README
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.1:
- bugfixes ^_^
v7.9.0:
- fixed problem where item with 5 sockets were shown as 4 sockets max
v7.8.9:
- fixed kill quest sometimes giving double reward
v7.8.8:
- fixed previous version
v7.8.7:
- now collect and craft quests may also have target level
- fixed JC api
- added new buttons x1,x5,x10,x100 to Trader UI
v7.8.6:
- added Korean language support
- fixed possible EIDF item dupe
v7.8.5:
- fixed cooking skill bug
- fixed marketplace UI sorting by itemname/price/amount/seller text disappear on click
v7.8.4:
- added german + portugese languages support
- HOTFIX for bug that doesn't allow mod to work
v7.8.3:
- changed marketplace fonts and optimized UI
- battlepass fixes
- webhooks now having <color> richtext removed
v7.7.9-7.8.2:
- added new mechanic: Battlepass. (Still it test so no guides atm)
- fixed marketplace default NPC models being able to go through (model collider issues)
- added marketplace comptibility with ANY EIDF (Extended Item Data Framework) mod, such as my Transmogrification, Jewelcrafting, EpicLoot and so on
- items in marketplace now have tooltip in right side with item stats and additional mod effects
- added new quest Requirement: HasItem. Example: HasItem: Coins, 500
- added new territory flags: LimitZoneHeight, CustomPaint
- some additional optimizations
- quest system improvements in terms of serverside crashes
v7.7.8:
- fixed Jewelcrafting incompatibility
- added new API methods for my server control bot
v7.7.7:
- max accepted quest count now controlled by option in serverside
- 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
- fixed visible on map npc icon giving error
- fixed patrol npc skyrocket in sky
v7.7.2-7.7.6:
- small bugfixes
- fixed npc patrol dropping underground because of no collision check
- added isModed = true flag for valheim
- new territory flags were added: CustomPaint, LimitZoneHeight
v7.7.1:
- added /zones command to show zones in world
- added F8 client GUI to create/remove/edit zones
- added new NPC that's visible on map
- added caching of quest descriptions
- quests now may have multiple restrictions
- added caching of teleporter icons
- 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
- NPC's now can move if you set their patrol data (example: X0, Y0, X1, Y1, X2, Y2 and so on)
- New territory flags (screenshot below)
- Fixed bug where every player would be an owner of any admin zone
- NPC that visible on map will be displayed as quest complete icon if its Talk quest target
- Fixed some patrol errors
- Changed discord connector config so you can write your own messages using {0] {1} {2} string formatting
- Now all configs (including discord config, territory config and MAIN config (that also got changed) ) updating in server runtime without restart
- Now skill level as quest REWARD will not give skill levels if skill level is 0 (professions)
-
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).
-
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.
-
Banker NPC - allows people to store any quantity of items in it
-
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
-
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
-
Gambler NPC - adds gamble system in game
-
Quests NPC - adds quest system in game that allows admins to create their own quests for players with custom targets/types/rewards/conditions
-
Buffer NPC = adds npc that can buff you with custom buffs
How to spawn/change NPC:
-
Add yourself as server admin
-
Open console (F5) and write: spawn marketplacenpc
- To control NPC (change profile, override model, override name, snap to ground and rotate or change NPC type) press Shift + Interact on NPC
Menu:
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
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:
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"
Marketplace 100% supports EpicLoot mod with all its MagicItemEffects and extentions:
"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:
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
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
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.
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
To install mod place MarketPlaceRevamped.dll into Client Plugins folder AND Server Plugins Folder
For Questions or Comments, find ## KG in the Odin Plus Team Discord: