Could you also do an API for recent player payments? Like the module on the buycraft page?
EDIT by Moderator: merged posts,...
It would be really cool if I could put the monthly goal widget on my website! You guys should consider adding that to the Website Integration list!
Not at the moment but I will post another thread if I need more help!
Yes! It works! Thank you very much!
Sweet! let me put all the necessary lines in and i will get back to you!
ok I will try that and get back to you.
That did not work for me... hmmm
EDIT by Moderator: merged posts, please use the edit button instead of...
Well the int in the .toFloat is the amount of decimals places to go to.
I did check the link, but I do not fully understand it.
When I use .toFloat(int) it comes back with: Cannot invoke toFloat(int) on the primitive...
My plugin changes the value based off how many are in the "stock." So when someone buys one, the stock rises and my equation is an exponential...
I would have values like 1.95, like normal monetary values
it was something like:
double price = getConfig().getDouble(item + ".price")
now... when I use double it sends me back a really long number like 1.99337848...
How do I make it float to 2 decimals?
thank you! i will test that when i get there!
and using the String item it would be?
getConfig().set(item + ".price", int);
oh another quick question, how do i change the values of the price?
YES!!!! GAHH thank you!
Well yes basically and the String item is defined by the user input of args
Well I get that, but I don't want to write that for every possible item. Is there another way to do that? If I do:String item =...
I am looking for help with the config.yml.
Basicly I have a Config file and it has:
ok I fixed line 69. now I'm getting an error on line 73.
int pb = (int) Stock.economy.getBalance(player.getName());
Not sure how you would get...
Here is line 69:
int amount = Integer.parseInt( args);
Separate names with a comma.