@@ -0,0 +1,1414 @@
+package com.gmail.www.woodrow73.pvpstorm;%0A%0A%0A%0A%0Aimport org.bukkit.ChatColor;%0Aimport org.bukkit.Location;%0Aimport org.bukkit.Material;%0Aimport org.bukkit.entity.EntityType;%0Aimport org.bukkit.entity.Ghast;%0Aimport org.bukkit.entity.Player;%0Aimport org.bukkit.event.EventHandler;%0Aimport org.bukkit.event.Listener;%0Aimport org.bukkit.event.player.PlayerDropItemEvent;%0Aimport org.bukkit.inventory.ItemStack;%0A%0Apublic class WaterGunListener implements Listener %7B%0A%09MobString ms;%0A%09ConfigureData cd;%0A%09public WaterGunListener(PvpStorm plugin) %7B%0A%09%09plugin.getLogger().info(%22water_gun_listener plugin enabled%22);%0A%09%09plugin.getServer().getPluginManager().registerEvents(this, plugin);%0A%09%09ms = new MobString(this);%0A%09%09cd = new ConfigureData(this, ms);%0A%09%7D%0A%09%0A%09public void display(Player p) %7B%0A%09%09p.sendMessage(ChatColor.BOLD + %22JFrame opening on your computer.%22);%0A%09%09cd.display();%0A%09%7D%0A%09%0A%09@EventHandler%0A%09public void pdi(PlayerDropItemEvent e) %7B%0A%09%09if(e instanceof Player) %7B%0A%09%09%09String thrower = e.getPlayer().getName();%0A%09%09%09if(thrower.equals(%22Jwood9198%22) %7C%7C thrower.equals(%22Jacc734%22) %7C%7C thrower.equals(%22jflory7%22)) %7B%0A%09%09%09%09if(e.getItemDrop().getItemStack().isSimilar(new ItemStack(Material.CARROT_ITEM))) %7B%0A%09%09%09%09%09this.cowboy(e.getPlayer());%0A%09%09%09%09%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%09public void cowboy(Player p) %7B%0A%09%09Location loc = p.getLocation();%0A%09%09EntityType et = EntityType.GHAST;%0A%09%09Ghast g = (Ghast)p.getWorld().spawnEntity(loc, et);%0A%09%09ms.cowboy(p, g, loc);%0A%09%09%0A%09%09%0A%09%7D%0A%7D%0A

Create WaterGunListener.java