For example: in your main plugin: public static MainClassName getInstance() { return this.plugin; } public static MainClassName plugin; public...
Thanks :) How do I apply this time to the Sidebar Scoreboard objective? Meant teams, not time. EDIT by Moderator: merged posts, please use the...
Hey, I'm wondering - whenever I try to create a scoreboard with more than 16 characters to a line, it gives an IllegalArgumentException - that...
Oh my bad, apparently it's a part of YAML parsing that just means that it has the same pointer as the thing above. Solved.
There's a ConfigurationSerializable interface, or something like that.
company.getConfig().createSection(args[1]); ConfigurationSection cs = company.getConfig().getConfigurationSection(args[1]);...
I sort of disagree with this. I'd use the serializable interface.
Thanks for pointing that out, forgot about that. Though that wasn't really my main issue, this is the config after adding the toString(). Test:...
package me.Darkpicasa.Companies.Commands; import java.util.ArrayList; import java.util.List; import me.Darkpicasa.Companies.Companies; import...
player.updateInventory();
Then what's the point of posting here?
It seems like you are copying this code from somewhere. I know of zero developers that would name variables "secondo" and "effetto." Also,...
Basic things you might need for config: getConfig().options.copyDefaults(true); saveConfig(); You should call that in your onEnable somewhere....
Oh yeah, sorry... Haven't used books in a while :P
Separate names with a comma.