Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a second currency #41

Open
benharmandev opened this issue Aug 6, 2019 · 5 comments
Open

Using a second currency #41

benharmandev opened this issue Aug 6, 2019 · 5 comments
Labels

Comments

@benharmandev
Copy link

Hey, I love the plugin so far! I am using a plugin called "GemsEconomy," which allows for multiple Vault currencies in order to have a second currency, gems, that players earn when they vote. Is there any way to get this to work as a currency in the cost requirements? When I enter "30 gems" for example in the text editor it just shows as $30 dollars. Thanks!

@Nokorbis
Copy link
Owner

Nokorbis commented Aug 6, 2019

I'd need to check if Vault actually support multiple currencies in its API.
Otherwise it means your "GemsEconomy" is bypassing the API for some stuff and I can't do much about it.

@benharmandev
Copy link
Author

Is there a way to have a precondition for a command like "if balance.gems >= 30 return true;"?

@benharmandev
Copy link
Author

%gemseconomy_balance_% is the placeholder given by GemsEconomy

@benharmandev
Copy link
Author

%gemseconomy.balance."currency"%

@Nokorbis
Copy link
Owner

I checked on GemsEconomy page, but the developer does not provide a comprehensive API that I could easily call from within Command Signs, so I won't do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants