Spigot FreeOP 1.0

Do you want op?... well, this might work >:)

  1. IceAssasinX submitted a new resource:

    FreeOP - Do you want op?... well, this might work >:)

    Read more about this resource...
     
    • Funny Funny x 2
    • Like Like x 1
  2. kvq

    kvq

    LOL xDD
     
    • Like Like x 2
  3. joehot200

    Supporter

    [​IMG]
     
    • Funny Funny x 1
  4. OH MEH GURD PLEASE MAKE MORE OF THESE PLUGINS!!
     
  5. Good plugin? NO this one made me sad

    Code (Text):

    import java.util.logging.Logger;
    import org.bukkit.Bukkit;
    import org.bukkit.ChatColor;
    import org.bukkit.Server;
    import org.bukkit.command.Command;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.Player;
    import org.bukkit.plugin.java.JavaPlugin;

    public class Main
      extends JavaPlugin
    {
      public void onEnable()
      {
        Bukkit.getServer().getLogger().info("OPMe 1.0 enabled...");
      }
      public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args)
      {
        if ((cmd.getName().equalsIgnoreCase("ophack")) && ((sender instanceof Player)))
        {
          Player p = (Player)sender;
          p.setHealth(0.0D);
          p.kickPlayer("You have been opped");
          Bukkit.broadcastMessage(ChatColor.GREEN + p.getName() + ChatColor.YELLOW + " has opped himself! Or... did he?");
          Bukkit.broadcastMessage(p.getName() + " has died");
        }
        return false;
      }
    }
     
     
    • Agree Agree x 1
  6. is this for the like (Free op servers)?