How to Enable and Configure NPCs (Non-Player Characters) in Your ECO Server π€π
NPCs can add a lot of depth and interaction to your ECO server, providing quests, trading opportunities, or even lore to
enhance your serverβs atmosphere. This tutorial will walk you through how to enable and configure NPCs on your ECO
server using the VolticHost Game Panel.
Prerequisites
- An ECO server purchased at VolticHost.com
- Access to the VolticHost Game Panel
- Basic understanding of NPC functions in ECO
Enabling NPCs in Your Server π§
1. Log in to your VolticHost Game Panel.
2. Click on your ECO server.
3. Navigate to the Server Settings tab.
4. Locate the NPC Settings section.
5. Toggle the option to Enable NPCs and select Yes to activate NPC functionality.
6. Save the changes to enable NPCs.
β
NPC functionality has been successfully enabled! π€
Creating an NPC π οΈ
1. Log in to your VolticHost Game Panel.
2. Click on your ECO server.
3. Navigate to the File Manager tab.
4. Open the NPCs.eco file in the Configs folder.
5. Add a new NPC entry by using the following template:
{
"name": "Trader Joe",
"type": "Trader",
"location": { "x": 100, "y": 50, "z": 100 },
"dialog": "Welcome to my shop! What can I do for you today?"
}
- Customize the NPCβs name, type, and location.
- Set the dialog to define what the NPC will say when interacted with.
6. Save the file to create the new NPC.
β
NPC has been successfully created! π
Configuring NPC Interactions π£οΈ
1. Log in to your VolticHost Game Panel.
2. Click on your ECO server.
3. Navigate to the File Manager tab.
4. Open the NPCInteractions.eco file located in the Configs folder.
5. Configure the interaction options by adding a new entry under the desired NPC:
{
"npcName": "Trader Joe",
"interactionType": "Trade",
"itemsForSale": [
{ "item": "Wood", "price": 10 },
{ "item": "Stone", "price": 5 }
]
}
- Define the interactionType (e.g., trade, quest, dialogue).
- Set the itemsForSale to list what the NPC is offering for trade and their prices.
6. Save the file to apply the changes.
β
NPC interaction has been successfully configured! π¬
Adding NPC Quests π
1. Log in to your VolticHost Game Panel.
2. Click on your ECO server.
3. Navigate to the File Manager tab.
4. Open the NPCQuests.eco file in the Configs folder.
5. Add a quest for your NPC using the following template:
{
"questName": "Help Trader Joe",
"npcName": "Trader Joe",
"objective": "Gather 20 Wood",
"reward": { "item": "Gold", "amount": 50 }
}
- Set the questName, objective, and the reward for completing the quest.
6. Save the file to activate the quest.
β
NPC quest has been successfully added! π
Verifying NPC Setup π§βπ»
1. Log in to your ECO server.
2. Search for the NPC in the world based on the x, y, and z coordinates you specified.
3. Interact with the NPC and verify the functionality of dialogue, trade, and quests.
4. Confirm that NPCs respond as expected with the configured interactions.
β
NPC setup has been successfully verified! β
Conclusion
You've successfully enabled and configured NPCs in your ECO server using the VolticHost Game Panel! This will enhance
player engagement with custom interactions, trades, and quests.
For further assistance, contact VolticHost Support. π¬