How to Edit FlyFF NPC Shop Items & Prices
Customize what each NPC sells, organize items into shop tabs, and set custom prices. Covers the differences between v16 (price in character.inc) and v19 (price in spec_item).
What You'll Learn
- How to find a specific NPC in character.txt and character.inc
- How AddShopItem organizes items into shop tabs
- Where v19 stores prices (spec_item) vs. v16 (character.inc)
- How to look up the Item ID for any in-game item
What You'll Need
- Access to your server resource folder
- A capable text editor (Notepad++ or VS Code)
Step-by-Step Guide
Open the resource folder.
Open character.txt and search for the NPC name (e.g., "Vaelishe"). The left column shows the first ID, like IDS_CHARACTER_INC_000064.
Open character.inc and use Ctrl+F to find that ID. Scroll up slightly to see the NPC's shop entries.
A typical shop entry looks like this. The first AddShopItem argument is the tab number (0 = first tab, 1 = second, etc.):
AddMenu( MMI_DIALOG ); AddMenu( MMI_TRADE ); AddShopItem( 0, II_SYS_SYS_EVE_CHOCOLATE08, 20000000 ); // tab 0, item ID, price (v16) AddShopItem( 1, II_SYS_SYS_EVE_GINGERBRADE01, 15000000 ); // tab 1 AddShopItem( 2, II_SYS_SYS_EVE_CHRISTMASCAKE01, 10000000 ); // tab 2 // v19 syntax — no price here: AddShopItem( 2, II_SYS_SYS_EVE_CHRISTMASCAKE01 );
For v19 the price lives in spec_item instead. Find the row for your item — the price is the column shown below:
IK3_SWD JOB_MERCENARY TRUE = = 187000 7200000 100 ↑ price columnTo find an Item ID, open propitem.txt and search by item name. The left column gives the first ID (IDS_PROPITEM_TXT_xxxxxx). Open spec_item and search for that first ID — the row will contain the second ID (II_xxx) which you place in AddShopItem.
Save your changes, restart the server, and talk to the NPC in-game to verify.
Flash Sale! The FlyFF Ultimate 2026 Bundle!
Buy Now Before Our 92% OFF Promo Ends!
Buy now for only $99 for a limited time only! (Regular Price: $599)
Buy Now For only $99Avail now before the timer runs out:
Related Tutorials
How to Add Starter Items, Weapons & Fashion to FlyFF Characters
Give every newly-created character a custom starting inventory — weapons, helmets, fashion sets — by editing J…
How to Edit FlyFF Armor, Jewelry, and Weapon Stats
Customize how items behave: jewelry effects in accessory.inc, weapon and CS attributes in spec_item, and full …
FlyFF Server Tools Overview & Usage
A guided tour of the editor tools shipped with the FlyFF v19 bundle: the character simulator, drop editor, NPC…