Derived Sell
Calculate the worth of items based on the worth of the items used to craft them.
Setup
- Add Derived Sell jar into your plugins folder.
- Restart your server.
Commands
- /derivedsell help: Show the help message.
- /derivedsell reload: Reload the plugin.
- /derivedsell migrate <plugin>: Migrate worths from another plugin.
- /setworth <worth>: Set the worth of the item you are holding. The plugin must be reloaded in order for worth changes to take effect.
- /setworth <material> <worth>: Set the worth of a specific material. The plugin must be reloaded in order for worth changes to take effect.
- /worth hand [quantity]: Check the worth of the item in your hand.
- /worth <material> [quantity]: Check the worth of a specific material.
- /worth all: Check the worth of all items in your inventory.
- /worth container: Check the worth of all items in the container you are looking at.
- /sell hand [quantity]: Sell the item in your hand. If no quantity is provided it will sell all of that item.
- /sell <material> [quantity]: Sell a specific material. If no quantity is provided it will sell all of that item.
- /sell all: Sell all items in your inventory.
- /sell container: Sell all items in the container you are looking at.
Permissions
- derivedsell.user.sell (default): Allows the player to sell an item.
- derivedsell.user.worth (default): Allows the player to check the worth of an item.
- derivedsell.admin.reload: Allows the player to reload the plugin configuration.
- derivedsell.admin.setworth: Allows the player to set the worth of an item.
Config
round-worth-to: 2 # Number of decimal places to round worth to.
cooking-recipe-multiplier: 2.0 # Multiplier for cooking recipe worth calculations.
log-worth-calculations: true # Whether to log worth calculations to the console.
blocked-materials: # List of materials that should not be considered for worth calculations.
- wooden-sword
- stone-sword
- iron-sword
- golden-sword
- diamond-sword
- netherite-sword
- wooden-pickaxe
- stone-pickaxe
- iron-pickaxe
- golden-pickaxe
- diamond-pickaxe
- netherite-pickaxe
- wooden-shovel
- stone-shovel
- iron-shovel
- golden-shovel
- diamond-shovel
- netherite-shovel
- wooden-axe
- stone-axe
- iron-axe
- golden-axe
- diamond-axe
- netherite-axe
- wooden-hoe
- stone-hoe
- iron-hoe
- golden-hoe
- diamond-hoe
- netherite-hoe
- leather-helmet
- chainmail-helmet
- iron-helmet
- golden-helmet
- diamond-helmet
- netherite-helmet
- leather-chestplate
- chainmail-chestplate
- iron-chestplate
- golden-chestplate
- diamond-chestplate
- netherite-chestplate
- leather-leggings
- chainmail-leggings
- iron-leggings
- golden-leggings
- diamond-leggings
- netherite-leggings
- leather-boots
- chainmail-boots
- iron-boots
- golden-boots
- diamond-boots
- netherite-boots
- bow
- crossbow
- trident
- fishing-rod
- shield
- elytra
- mace
- shulker-box
- spawner
- enchanted-book
Worth Calculation
- If an item has a worth set manually it will use that worth.
- If an item does not have a worth set but the items used to craft it have a worth then it will calculate the worth using the following formula: (TotalWorthOfItemsInRecipe / NumberOfResultingItems) * RecipeTypeMultiplier
- Standard recipes use a RecipeTypeMultiplier of 1. Cooking recipes (Recipes in a furnace or other cooking block) can have their worth configured in config.yml (Defaults to 2).