My plugin is throwing an InvalidConfigurationException on its file messages.yml. I've combed through it a thousand times and can't find any...
@timtower thanks but I think I actually solved it with plugin.saveResource()
Shouldn't it load the existing file stored in the resources folder? IE, from src/main/resources/data/File.yml in my project to...
Solution I poked around in Bukkit docs until I fixed the issue by including plugin.saveResource(String resourcepath, boolean replace) in my...
I'm storing it to a YamlConfiguration. Hence the need to save the Location's properties.
1- Yes 2- This is the only place that saves a location, and this class is the only one that interacts directly with the config. Here is that full...
I see what you mean. I changed that function to save the name of the world instead of the world itself and reinstalled the plugin, but I'm still...
Where are you talking about?
I'm working on a plugin that depends on Factions, for which I need to store data from players in a YamlConfiguration outpostsConfig. Every time I...
@Zombie_Striker The plugin is not for distribution, it's being customized for one specific server. However, that is a fair point about updating...
Basically my end goal is to add a few commands to the Factions plugin. I want to avoid using the PlayerCommandPreprocess event, because that gets...
I'm working on a customized economy plugin that requires the use of several configuration files. I've never used more than simply config.yml. I've...
@mythbusterma @timtower Specifically, I need access to the ApiLayer.hasGroup() method. @teej107 I'm not new to Java, though I'm not advanced in...
@[ HashMap ] I've never used it before, but I believe Entity.setNoDamageTicks(int ticks) makes it so the entity can't be damaged for the specified...
[SPOILER] EDIT: Dunno if this will help, but the file is located at...
EDIT: Problem solved! Thanks @timtower. I don't know if this is a common problem or not but I'm including a step-by-step process of what I did in...
I'll use the deprecated method for now. Do you know if there's another way to do it?
I can assure you, it does not. I've repackaged and reloaded it multiple times just to be sure.
@Xerox262 I redid my code according to your advice and I'm still getting mostly the same results when I run it in my server. Differences are...
EDIT 12/1 Marking as solved. Thanks for the help! Here's the code that works: [spoiler] Original post: I'm basically just recreating the plugin...
Separate names with a comma.