I'm currently programming a scoreboard plugin and would like to display the player's ingame money in a score. I've already added the Essentials Api, but somehow it marks the text as an error when I write:
String name = p.getName ();
double money = Economy.getMoney (name);
If anyone knows how to display the money, I would be very happy to receive an answer because I want to finish the plugin as soon as possible.
Here is the source code from the listener:
I had that problem too. At that time I wrote a plugin that was over 10 MB in size. But also had a tablist for it. If you want I can send it to you, maybe. Does it help you?
No I don't need any more help, I've now done it with the Vault API and it works.