Hello, I tried to make my Own Whitelist plugin and this is what happend: And this is the Code i used: Code:java @EventHandlerpublic void onJoin(PlayerJoinEvent event) { Player player = event.getPlayer(); player.kickPlayer("&aSorry this server is WhiteListed");} btw, Yes I registered the Events, Yes the Class has Listener implemented
This makes no sense, whatsoever. This will just kick anyone who joins. also try using chatcolor instead of &a, I don't think that's the problem, but with the code you have supplied, there doesn't seem to be anything wrong with it.