I wrote a plugin that should give the Player coins when he kills a mob, but nothing happens when i try to run it please check my Code : http://pastebin.com/RUTeZDF2
I tried for hours to fix my code with the tutorial but it still doesn't work. Can someone please correct my code and post it again?
I too, used this tutorial. It's a good way (however not a good tutorial in general) to learn how to save data to a yml file using the Bukkit API. However, I must discourage you from using this method when dealing with large data and plugins. It could potentially take 5 seconds before the user's data is found in the file if it has to constantly load from it in order to display wanted data to the user.
@DoggyCode™ He could just cache the data using a LoadingCache or another Cache. But the way he does it is just... Waste of cpu power, he loads the file every single time.