I've seen someone accomplish this with armor stands. Basically they put villagers on armor stands and they didn't move.
Well thats how you fix your code like you asked so i answered the question
Instead of addDefeault use the getConfig().set()...
Also did you saveConfig() after you added the defaults?
I think the minecraft stats contain this, so that can automatically count them for you. Or, you can jsut store each one in a yml file then...
- You would need to use player.getName() for the dispatch command.
- Also whats the point in your line...
Too much static.
Oh lord just realized theres a cat in the bucket... Was wondering what that was xD
When they click the dragon egg, open a new inventory?
If im understanding you correctly this is what you should do;
Create/use a PlayerInteractEvent
Check the action
Probably should check if its...
Well here's what i usually do; put all the information in the header. If you simply do saveDefaultConfig() in your onEnable it will keep comments,...
p.sendMessage(ChatColor.TranslateAlt....('&', getConfig().getString("path").replace("%player%", p.getName()));
This allows color codes too. I...
Separate names with a comma.