Jewels Bank Configuration

The Jewels Bank provides account-wide storage for jewels and other stackable items, with capacity limits based on account level. Players can deposit and withdraw items across all characters on their account, with optional auto-deposit functionality.

File Location#

Data/Plugins/Items/JewelsBank/JewelsBank.xml

Dependencies#

Depends OnPurpose
DataServerStores account bank data, auto-deposit flag, and transaction log
AccountLevel SystemDetermines storage capacity multipliers (AL0 through AL4/VIP)
Item.xmlSource of the Type/Index pairs used in the <Items> list

Configuration Structure#

<JewelsBank Enable="1" MaxItemsPerPage="9" ConfirmCooldownMs="1000">
    <AccountLimits>
        <!-- Storage capacity multipliers by account level -->
    </AccountLimits>
    <Items>
        <!-- Allowed items and their base storage limits -->
    </Items>
</JewelsBank>

Sections#

Root Element#

<JewelsBank Enable="1" MaxItemsPerPage="9" ConfirmCooldownMs="1000">
AttributeTypeDefaultDescription
Enablebool0Enable/disable the entire plugin
MaxItemsPerPageint9Items displayed per page in UI (cosmetic)
ConfirmCooldownMsint1000Milliseconds between deposit/withdraw actions to prevent spam

AccountLimits#

Defines storage capacity multipliers based on account level. The actual storage limit for each item is MaxCount * Multiplier.

<AccountLimits>
    <Tier Level="0" Multiplier="1.0" />   <!-- Standard -->
    <Tier Level="1" Multiplier="1.5" />   <!-- AL1 -->
    <Tier Level="2" Multiplier="2.0" />   <!-- AL2 -->
    <Tier Level="3" Multiplier="3.0" />   <!-- AL3 -->
    <Tier Level="4" Multiplier="5.0" />   <!-- VIP -->
</AccountLimits>
AttributeTypeDefaultDescription
LevelintRequiredAccount level (0-4)
Multiplierfloat1.0Storage capacity multiplier applied to all items

Example: With MaxCount="500" for Bless and Multiplier="2.0" for AL2:

  • AL2 players can store 500 * 2.0 = 1,000 Jewels of Bless

Items#

Defines which items can be stored and their base maximum counts.

<Item Type="14" Index="13" Level="*" MaxCount="500" Name="Jewel of Bless" />
<Item Type="14" Index="11" Level="0" MaxCount="50" Name="Box of Kundun +1" />
AttributeTypeDefaultDescription
TypeintRequiredItem type category (e.g., 14 = Jewels, 12 = Wings/Bundles)
IndexintRequiredItem index within type
Levelstring*Item level filter: * = all levels, or specific level (0-15)
MaxCountint100Base storage limit before account level multiplier
Namestring-Display name for logging (not shown to players)

Item Code Calculation: ItemCode = Type * 512 + Index

Example: Jewel of Bless = 14 * 512 + 13 = 7181

Level Matching Behavior#

Example Configuration:

  • Level="*": All Box of Kundun levels (+1 to +5) share one storage pool
  • Level="0", Level="1", etc.: Each level has separate storage

Important Behavior#

Item Code Reference#

Common jewel item codes for configuration:

Item NameTypeIndexItemCodeNotes
Jewel of Bless14137181Core jewel
Jewel of Soul14147182Core jewel
Jewel of Life14167184Core jewel
Jewel of Creation14227190High-tier jewel
Jewel of Chaos12156159Type 12, not 14!
Jewel of Guardian14317199Socket jewel
Jewel of Harmony14417209Harmony jewel
Gemstone14437211Socket item
Lower Refine Stone14447212Refining
Higher Refine Stone14457213Refining
Box of Kundun14117179Level-specific (0-15)
Bless Bundle12306174Bundle item
Soul Bundle12316175Bundle item

Examples#

<JewelsBank Enable="1" MaxItemsPerPage="9" ConfirmCooldownMs="1000">
    <AccountLimits>
        <Tier Level="0" Multiplier="1.0" />
        <Tier Level="1" Multiplier="1.5" />
        <Tier Level="2" Multiplier="2.0" />
    </AccountLimits>
    <Items>
        <!-- Core jewels -->
        <Item Type="14" Index="13" Level="*" MaxCount="500" Name="Jewel of Bless" />
        <Item Type="14" Index="14" Level="*" MaxCount="500" Name="Jewel of Soul" />
        <Item Type="14" Index="16" Level="*" MaxCount="500" Name="Jewel of Life" />
        <Item Type="12" Index="15" Level="*" MaxCount="200" Name="Jewel of Chaos" />
    </Items>
</JewelsBank>

Result: Standard account (AL0) can store 500 of each core jewel, AL1 gets 750, AL2 gets 1000.

Common Issues#

DataServer Persistence#

Jewel stacks, the auto-deposit preference, and the transaction log are all written through DataServer as part of account persistence. No manual table creation is required; schema migrations run automatically when the DataServer starts.

Last updated August 20, 2026