Prices Option - Premium
Prices option is a little complex, so I introduce it on a separate page.
Free version can not use this feature!
MythicTotem has only 4 reward types: hook item, vanilla item, hook economy, vanilla economy.
This option is optional, if you didn't add this, this means totem price is free.
Item Price
You can set item as price, should use Item Format at this page.
1:
material: APPLE
name: 'Magic Apple'
custom-model-data: 5
apply: [1,2]
amount: 10
Item Match - Require MythicChanger
Item Match has those options:
match-rule: Determine the match rule of the price item.
For more info, please view this page.
Example:
1:
match-item:
items:
- 'ender_pearl'
has-name: true
Hook Economy
Hook economy has those options:
economy-plugin: What plugin you want this price economy hook into, for now, MythicTotem supports
Vault, GamePoints, PlayerPoints, CoinsEngine, UltraEconomy, EcoBits, RedisEconomy, PEconomy
.economy-type: If economy plugin is multi-currency economy plugin, you have to type currency name here.
Example:
1:
economy-plugin: Vault
# If you set Economy plugin to CoinsEngine, then:
# economy-plugin: CoinsEngine
# economy-type: Coin
# Yeah, you need add economy-type option here because its a multi-currency plugin.
# For this, players will always cost 5$.
amount: 5
placeholder: '$5'
apply: [1,2,3]
Vanilla Economy
Vanilla economy has those options:
economy-type: Supports
exp, levels
.
Example:
Copy
1:
economy-type: levels
# In this example, player will cost different levels with different flip times.
placeholders:
3: '10 Levels'
4: '20 Levels'
cost: [10,20]
apply: [3,4]
Free
Just set free: true
here.
General Options
Those options can be used in the 4 types of reward. All of them are optional.
amount: The amount of reward items or economy values. Like
1
. Default plugin will use cost option value, if cost option is not exists, we will use this option value. If not set, plugin will set amount to 1.
Last updated