I am making a plugin with config file and since i added the config file this error comes up when i start it and it doesn't generate the config file Edit: Thank you for your help the problem is sorted now!
@08jne01 Move these two lines into the actual method inside onPlayerChat() and remove the final declaration. Code: public final int Time = plugin.getConfig().getInt("BanTime"); public final String BanType = plugin.getConfig().getString("Ban-Command_Type");
I don't believe he's officially posted this code in a completed 'project', nor has he officialized the code itself in another place other than a help forum. dat guy...made my day ;D
I don't think anyone here would have a need to steal a few lines of "onplayerchat" code...© and btw don't steal my post to repost anywhere else, its copyrighted.