Worth Display

The Worth Display feature shows item sell values directly in the item's lore while viewing your inventory. This is one of EasySell's most powerful features for player convenience.

Overview

When enabled, as you hover over items in your inventory, their sell value is automatically added to the item's lore in real-time. This works without modifying the actual items.

How It Works

  1. Packet Interception - EasySell uses ProtocolLib to intercept inventory packets

  2. Lore Injection - Worth information is added to item lore before display

  3. Real-Time - Updates happen as you browse your inventory

  4. Non-Destructive - Actual items are never modified

Configuration

Enable/Disable

In config.yml:

item-worth: true
  • true - Enable worth display in item lore

  • false - Disable the feature entirely

Customize Lore

Placeholders:

  • %worth% - The calculated sell value (includes stack amount)

Examples

Simple:

Display: Worth: $120.00

With separator:

Display:

Multiple lines:

Hex colors:

Price Calculation

Single Items

Worth = Item Price × Stack Amount

Example: 64 diamonds at $120 each = $7,680.00

Shulker Boxes

Worth = Shulker Box Price + Contents Worth

Example:

  • Shulker Box: $75

  • Contents: 64 diamonds ($7,680) + 32 emeralds ($256)

  • Display: $8,011.00

Where It Appears

Worth display shows in:

  • ✅ Player inventory

  • ✅ Chest inventories

  • ✅ Shulker box previews

  • ✅ Ender chest

  • ✅ Barrel, hopper, etc.

Worth display does NOT show in:

  • ❌ Creative mode inventory

  • ❌ Sell GUI (to avoid confusion)

  • ❌ Other plugin GUIs

Number Formatting

Large values are formatted with suffixes for readability:

Value
Display

1,000

1K

15,500

15.5K

1,000,000

1M

2,140,000,000

2.14B

Requirements

  • ProtocolLib must be installed

  • item-worth: true in config.yml

Troubleshooting

Worth not showing

  1. Check ProtocolLib is installed and enabled

  2. Verify item-worth: true in config.yml

  3. Run /easypayreload to reload config

  4. Make sure you're not in Creative mode

Wrong prices showing

  1. Check prices.yml for the item

  2. Verify the material name is correct

  3. Reload with /easypayreload

Lore looks wrong

  1. Check YAML formatting in config.yml

  2. Ensure color codes are correct

  3. Test with simple lore first

Performance

The worth display feature is optimized for performance:

  • Only processes packets for survival/adventure mode

  • Skips already-processed items

  • Uses efficient number formatting

  • Minimal server impact

Comparison with /worth

Feature
Worth Display
/worth Command

Shows stack total

✅ Yes

❌ Single item

Requires action

❌ Automatic

✅ Type command

Works in chests

✅ Yes

❌ No

Shows all items

✅ Simultaneously

❌ One at a time


Last updated