Discussion in 'Plugin Development' started by TomTheDeveloper, Feb 27, 2013.
How can i check it a config path is already set?
And how can i delete it??
Want a private plugin, I can make it, just send me a message. Are you sure?
W T F O_O
.set("Path." , null) -- deleting
getConfigurationSection("Path." + name) == null
Well, for checking getConfig().contains("path"); would be better I think.
Thx Minecrell and Sahee
And i think from minecrell is correct
EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I'm not sure but I think Sahee's answer should work too.
Separate names with a comma.