1.2.1 Released to support 1.4.7. http://dev.bukkit.org/server-mods/youswore/files/8-you-swore-1-2-1/
A major bug on "/YouSwore add" was fixed in the newest, biggest update. 1.2
I see. Ok I got it
if(args.length == 2 && args[0].equalsIgnoreCase("add")) { plugin.getConfig().options().copyDefaults(true);...
1.0.1 was included in 1.1 Enjoy :)
Just adding more commands soon 1.0.1 is coming... very soon EDIT by Moderator: merged posts, please use the edit button instead of double posting.
:DDDD 1.0 RELEASED!
This is crazy. I've been searching all over the forums and this one-reply thread solved everything
There's no function which adds to a list
any help?
Of course I did. Since there was no error code when I enabled the plugin, the plugin.yml is correct. It's something to do with not adding to a...
You have to register the events into the core plugin class
if(args.length == 2 && args[0].equalsIgnoreCase("add")) { plugin.getConfig().addDefault("censored", args[1]); plugin.saveConfig();...
== YouSwore == BukkitDev Page for download: http://dev.bukkit.org/server-mods/youswore/ What is YouSwore? YouSwore is a light, super-simple...
You're my hero :D
Still doesn't work
Doesn't work... Would it be something wrong here? @Override public void onEnable() { PluginDescriptionFile pdffile =...
Instead of all the "getConfig().addDefault()"s, use "getConfig().options().copydefaults(true)"
Tried that before, but .contain() is for CharSequences and .getStringList() is a list
This will not work, as: If you said "Hello, I like pie" And the config was set to "Hello" The listener will just ignore it
Separate names with a comma.