Code (YAML):
currencies
:
# Currency to be used by default by all items.
# It will also be the default price for things like discord inventory expansions etc.
default-currency
: 'vault'
suppliers
:
# Vault has to be installed!
vault:
format
:
"<gradient:#f09947:#feed81>[AMOUNT]$</gradient>"
not-enough
:
"<gradient:#FB6363:#C4B3FD>✘ You don't have enough money to buy that!</gradient>"
decimal-positions
: 3
top-limit
: 9999999
low-limit
: 0.005
#################################################################
# TO ADD OTHER CURRENCIES PLACEHOLDEDRAPI HAS TO BE INSTALLED #
#################################################################
# !!! Keep in mind that both commands and placeholder have to work even if the player
# !!! is offline if you plan to use the discord extension!
# Example of another kind of currency:
player-points:
deposit-cmd
: 'playerpoints:p give
[USER-NAME
]
[AMOUNT
]'
withdraw-cmd
: 'playerpoints:p take
[USER-NAME
]
[AMOUNT
]'
balance-placeholder
: '
%playerpoints_points%'
not-enough
:
"<gradient:#FB6363:#C4B3FD>✘ You don't have enough points to buy that!</gradient>"
format
:
"<gradient:#ba24ff:#e8d1ff>[AMOUNT]p</gradient>"
decimal-positions
: 0
top-limit
: 9999
low-limit
: 10
# Add your own supplier! Create as many as you want.
price-options
:
# With noise enabled, prices will vary over time in a pseudo-random manner.
noise:
enabled
: true
# Change the default intensity of the noise with this factor.
default-intensity
: 1
# Global multiplier
intensity-multiplier
: 1
# Time in seconds to apply noise. By default, 60 seconds, so each 60 seconds prices will change randomly.
time
: 60
# The default elasticity applies to all items unless otherwise explicitly stated at items.yml.
default-elasticity
: 1
# Global multiplier - Take into account that this variable will change the shape of all
# price curves, changing the price instantly for all current items.
elasticity-multiplier
: 1