pankajpmc

Create a Minecraft Spigot/Paper plugin named PMC WORTH in Java.

This plugin should automatically show the sell price of every item in its lore using the format: &7Worth: &a{price} All item prices must be controlled from a file called price.yml (example: bamboo: 8). The plugin should multiply price by stack size automatically.

It must correctly calculate total worth for stacked items and also for items inside Shulker Boxes (including nested contents) and display the accurate total.

If the worth is large, format numbers in short form like: 1,000 → 1K 1,500 → 1.5K 1,000,000 → 1M 5,600,000 → 5.6M Add a config option:

When show-only-priced-items is true, only items present in price.yml should show worth.

Add option to customize currency symbol.

Lore format must be configurable.

The plugin must be optimized, avoid lore duplication, and work smoothly on Paper servers.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code