Config ‐ Karma shop - Rosstail/Karma GitHub Wiki
The admin can create some shops that uses Karma as money in order to launch commands. It is a really basic feature.
#config.yml
shops:
list:
first:
display: <String>
description: <String>
price: <float>
cost-reset-overtime: <boolean>
min-karma: <float>
max-karma: <float>
commands:
- <String>
- etc...
etc...
- display: The displayed name of the shop
- description: Shows a description of your shop
- price: The price in karma to buy. (Positive values REMOVES karma)
- cost-reset-overtime: Does buying from this shop resets the karma changes from overtime system ?
- min-karma: The minimal amount of karma needed to buy from this shop.
- max-karma: Your karma must to buy from this shop.
- commands: the list of commands launched when the transaction is successful. Can use Karma, local and PAPI placeholders