Note: there are some changes in config.yml but plugin will automatically update your file. Please do backup the file before updating to this version just in case.
Bug Fix:
- Fixed old configuration get deleted/replaced after plugin update the file
- Fixed NPE error when using custom cost
Changes:
- added
id into custom cost
- Renamed
type to
balance_placeholder
This is how it look in newer version
Code (YAML):
custom:
enable
: true
cost:
1:
id
: token
name
: tokens
balance_placeholder
: '
%tm_token%'
cost
: '
(
{DURABILITY
} + 200
) / 100'
command
: 'tokenmanager remove
%player_name% %cost%'
You can check
this to know how to setup custom cost