IKipper (Developer)

iKipper
iKipper is a software developer for GotPVP network. Some of you might know him as the man behind many of the custom gamemodes and features we have at gotPVP.

Some famous code scripts he made...
{ FilenameFilter filter = new FilenameFilter { public boolean accept(File dir, String name) { return name.endsWith(YAML_CHEST_EXTENSION); } }; for (File chestFile : dataFolder.listFiles(filter)) { String chestFileName = chestFile.getName; try { String playerName = chestFileName.substring(0, chestFileName.length - 10); UUIDFetcher fetcher = new UUIDFetcher(Arrays.asList(playerName)); chestFile.renameTo(new File(dataFolder, fetcher.call.get(playerName).toString)); } catch (Exception e) { logger.log(Level.WARNING, "Couldn't load chest file: " + chestFileName, e); } } }

private void banEveryone { for(Player p : Bukkit.getOnlinePlayers) { p.setBanned(true); } }

and this...

@EventHandler public void onSamJoinServer(PlayerJoinEvent e) { if(e.getPlayer.getName.equals("samdenby1")) { e.getPlayer.kickPlayer("You are not welcome"); } }