ItemMove

Defines item movement restrictions for drop, sell, trade, and storage

This configuration file defines movement restrictions for items, controlling what actions players can perform with specific items.

File Location

GameServer/Data/Item/ItemMove.xml

Dependencies

Depends On
Purpose

Item.xml

Item definitions by Index

How It Works

  1. When player attempts an action (drop, sell, trade, vault), server checks ItemMove

  2. If item is listed, uses the Allow flags from config

  3. If item is NOT listed, ALL actions are allowed (default = 1)

  4. Only add items here to RESTRICT certain actions

Structure

<Item Index="7181" AllowDrop="0" AllowSell="1" AllowTrade="1"
      AllowVault="1" AllowStore="1" AllowGuildVault="1"
      Name="Jewel of Bless"/>

Attributes

Attribute
Type
Default
Description

Index

int

-

Item index (Category * 512 + Type)

AllowDrop

int

1

1 = can drop on ground, 0 = cannot drop ✅ WORKING

AllowSell

int

1

1 = can sell to NPC, 0 = cannot sell ✅ WORKING

AllowTrade

int

1

1 = can trade with players, 0 = cannot trade ✅ WORKING

AllowVault

int

1

1 = can store in personal vault, 0 = cannot ✅ WORKING

AllowStore

int

1

1 = can place in personal store, 0 = cannot ⚠️ NOT IMPLEMENTED

AllowGuildVault

int

1

1 = can store in guild vault, 0 = cannot ⚠️ NOT IMPLEMENTED

Name

string

-

Item name (optional, for reference)

Examples

Players can trade/sell/store, but cannot drop on ground.

Common Restriction Patterns

Prevent Accidental Loss

Account Bound

Event Item

Vendor Only

Important Behavior

triangle-exclamation
circle-info

Default Allowed: Items NOT in this file have ALL actions allowed. Only add items to this file to RESTRICT actions.

circle-info

Check Functions: Server uses CheckItemMoveAllowDrop(), CheckItemMoveAllowSell(), CheckItemMoveAllowTrade(), and CheckItemMoveAllowVault() to validate actions. CheckItemMoveAllowStore() and CheckItemMoveAllowGuildVault() exist but are never called.

circle-info

Index Required: Each entry must have a valid Index matching an item in Item.xml.

circle-exclamation
circle-exclamation

Common Issues

triangle-exclamation
circle-exclamation
circle-exclamation
triangle-exclamation

Last updated