


Mod adds 5 NPCs that admins can configure: Marketplace, new Trader, ServerInfo, Daily Reward, Feedback
How to install: Put MarketplaceAndServerNPCs.dll into BOTH server and client BepInEx plugin folder. Mod WILL NOT WORK ONLY IN CLIENT SIDE.
SHORT VIDEO ON HOW ITS WORKING
Description:
Mod adds 5 different NPCs to server so admins can configure them from serverside with no need to restart server for applying settings.
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 sells items that admins set in MarketPlace.cfg file. This file is auto-updated into serverside so that you don't need to restart server for applying new items to a trader.
ServerInfo NPC - shows text info from ServerInfo.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
Daily Reward NPC - allows players to get reward setted up by admins in RewardList.cfg file every N seconds (DailyRewardTime value is setted in MarketPlace.cfg)
Feedback NPC - players can send message to your discord server webhook. So its basically some kind of feedback / ask admins for help / report trouble NPC. Webhook link setted up in MarketPlace.cfg file
How to spawn/change NPC:
you need to have NPCtoolAdmin in your hands. You can spawn this tool prefab with any mod that can spawn prefabs and items.
with NPCtoolAdmin in your hands open console (F5) and write: kgspawnnpc
If you want to change NPC type you need to interact with him while NPCtoolAdmin is equipped in your hand
If you CROUCH + interact - you're going to snap him to floor and turn him if NPC is not auto-turnable for player
YOU NEED TO START SERVER ONE TIME IN ORDER TO FOLDERS / CFG FILES TO BE CREATED. I RECOMMEND YOU TO WATCH MOD SHOWCASE VIDEO FIRST. NOTE THAT THIS MOD IS STILL NOT TESTED WELL AND ITS IN BETA. PLEASE FEEL FREE TO REPORT ALL BUGS YOU FIND
With NPCtoolAdmin in your hand you can add NPC component to any CHARACTER / HUMANOID object IF YOU NEED TO. (you can try to add it on RRR NPCs). But I DO NOT RECOMMEND you to do that since this new feature NOT TESTED YET
VIDEO ABOUT ADDING COMPONENT TO SKELETON FOR EXAMPLE
More Detailed Guide on every NPC: