Aha! Indentation problem, by default, netbeans uses 4 spaces for yml, plugin.yml uses only 2 spaces, dont know why this became a problem just with...
Its been a while since I last used the bukkit API and now im facing this little problem, I usually register command aliases in the plugin.yml like...
Try removing this and see if the lag stops: @EventHandler public void onTeleport(PlayerTeleportEvent event) {...
Use \n to set new lines. getConfig().options().header("## line 1 ## \n ## line 2 ## \n # lin3..... ").copyHeader(true);
Before using the 'saveConfig', use the getConfig().options().header("the stuff here"); first, then the copyHeader(true). then saveConfig().. see...
Try "getConfig().options().copyHeader(true);"
Change this: ItemStack Blaze = new ItemStack(Material.BLAZE_ROD); if(((Player) selector).getItemInHand() == Blaze) { To this: if(((Player)...
if(config.getString(t.getName()).equals(s.getName())) {
Using SQLite, here: http://forums.bukkit.org/threads/quick-simple-sqlite.170153/ You can use the same queries as youd use on mysql.
This might work: Random rnd = new Random(101); if (rnd.nextInt(101) <= 33) { // 33% of change of doind something }
Separate names with a comma.