-
-
Notifications
You must be signed in to change notification settings - Fork 3
Variable: price
Misat11 edited this page May 9, 2020
·
3 revisions
Variable price is one of generic shop variables. price
determines count of price-type
and there are more formats:
Yaml:
Just price:
- stack: ...
price: 5 # <---
price-type: bronze
With price-type using seperator of
:
- stack: ...
price: 5 of bronze
With price-type without separator (price-type can't start with of
and parsing could be slower):
- stack: ...
price: 5 bronze
Groovy:
Just price:
item('...') {
price '5' // <---
priceType 'bronze'
}
With price-type using seperator of
:
item('...') {
price '5 of bronze'
}
With price-type without separator (price-type can't start with of
and parsing could be slower):
item('...') {
price '5 bronze'
}
Can't find what are you looking for on this wiki? Maybe our automatically generated javadoc could help you https://docs.screamingsandals.org/simpleinventories/simpleinventories-core/
- Welcome on this wiki
- Formats:
- Variables:
- Callbacks: (Groovy only)
-
Examples:
- Making shop (Groovy only)
- Making vault shop (Groovy only)