Replies: 5 comments 23 replies
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been minimized.
This comment has been minimized.
-
Pushed some new commits. 😃 e05a9e7
4808176
68378f9
|
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been writing a test economy provider plugin so I have been able to see what it's like to use Treasury. So far, these are my thoughts on what might need changing.
Check the branch for all of the pending commits
To-do list
Scrapped ideas
I think Currency#to should be a default method, using MrNemo's formula from a month or two ago. This will also require adding a Currency#getRelativeValue method, e.g. dollars are worth 1.0 and tokens are worth 100.0, so tokens are 100x more valuable than dollars. needs to work with decimal amounts too like 0.5, that's where MrNemo's formula comes in.Ivan, didn't you create a currency parsing method? Because Currency#parse is not adefault
method. It's no biggie if we decide to remove it but it's unfortunate that all that time spent creating it, and it's no longer here?Beta Was this translation helpful? Give feedback.
All reactions