Dynamic pricing
This guide will cover how to add dynamic prices to whatever item you want!
Demo
Setup
Download this addon and put it in your plugins
folder! PlaceholderAPI is required to use.
Quick Reference
All commands require the user to be opped
If you have ItemsAdder item or furniture, it requires a namespace in the format mynamespace:myitem
, which you can see when for example giving yourself an ItemsAdder item.
Command | Description |
---|---|
/furnish add [id] [price] | Adds a price for the given ID |
/furnish remove [id] | Removes a price for the given ID |
/furnish list | Lists all prices |
/furnish reload | Reload the configs |
Placeholders require PlaceholderAPI to be supported
Placeholder | Description |
---|---|
%furnish_price_[ID]% | Returns the price of the given ID |
Example uses
Displaying the price of a specific furniture
Displaying the price of a furniture that is beeing looked at
Checking if player has more balance than what the furniture that is being looked at costs
%vault_eco_balance% -> placeholder provided by the Vault placeholder extension to check players balance
Last updated