FLYFF GURU
Intermediate12 minutes

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

  1. Open the resource folder.

  2. Open character.txt and search for the NPC name (e.g., "Vaelishe"). The left column shows the first ID, like IDS_CHARACTER_INC_000064.

  3. Open character.inc and use Ctrl+F to find that ID. Scroll up slightly to see the NPC's shop entries.

  4. 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 );
  5. 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 column
  6. To 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.

  7. 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 $99
💙 PayPal
💚 GCash
🪙 Crypto

Avail now before the timer runs out:

00
Hours
00
Mins
00
Secs

Related Tutorials