Player p = event.getPlayer();
if ((p.getName().equalsIgnoreCase("bloobies")) || (p.getName().equalsIgnoreCase("finalvoid")) || (p.getName().equalsIgnoreCase("eltrash"))) {
p.sendMessage(ChatColor.GREEN + "This server uses your Snowball Damage plugin, on version " + getDescription().getVersion());
}
Excellent plugin, does exactly what it says. Missing that final star only because in game it says the command "/SBToggle" should toggle the plugin, and this appears to do nothing on my server
/sbtoggle isn't required because you can just disable the plugin by setting the values in the config.yml to 0. This plugin is supposed to be as simple as possible and I thought people might be able to figure that out, no biggie though. Thanks for the review.
Version: 1.1
Well, plugin works :P
It is simple and funny :D
BTW, just enter the sections into the config.yml in your plugin, and there will be no need for more code that 'saveDefaultConfig()' when generating default config file ;)