Gotta Egg Them All

Description

Gotta Egg Them All or GETA, is a plugin that allows you to catch mobs with a stick and turn them into spawn eggs! Very simple to use with permission based control.

Usage

  • Must have the correct permission to egg a mob
  • Obtain the item "stick"
  • Scour for a mob
  • Right click the mob with the stick in hand
  • Spawn egg spawns in the inventory

Commands

  • /geta - Displays the version your currently using

Permissions

To-Do

  • Add a configuration file for which item to use when catching a mob
  • Add a separate item for capturing hostile and non-hostile mobs?

Source

You must login to post a comment. Don't have an account? Register to get one!

  • 4 comments
  • Avatar of th3controller th3controller Dec 04, 2012 at 02:46 UTC - 0 likes

    @lenis0012: Go

    I guess lol, close enough.

  • Avatar of lenis0012 lenis0012 Nov 23, 2012 at 17:08 UTC - 0 likes

    @Consalvo: Go

    onPlayerInteractEnttiy(PlayerInteractEntityEvent event)
    {
        Player player = event.getPlayer();
        Entity entity = event.getEntity();
        if(entity instanceof Animals || entity instanceof Monster)
        {
            if(player.getItemInHand().getType() == Material.STICK )
            {
                entity.remove();
                enttiy.getWorld().dropItemNaturally(enttiy.getLocation, new ItemStack(Material.valueOf(entity.toString().toUpperCase()+"_EGG")));
                player.sendMessage(ChatColor.GREEN"You catched a "+entity.toString().toLowerCase());
            }
         }
    }
    

    I quit bukkit, Thanks everyone for alll your support throughout the years Good bye
    Follow @lenis0012 on twitter for future updates :)

  • Avatar of TheCanadianLizard TheCanadianLizard Sep 12, 2012 at 23:23 UTC - 0 likes

    @Consalvo: Go

    your English is pretty good

  • Avatar of Consalvo Consalvo Jul 15, 2012 at 06:20 UTC - 1 like

    @th3controller

    WoW, how do yo do this?, can I see the source code?, I want to do this for my plugin, and this is awesome.

    Sorry my English

    Last edited Jul 15, 2012 by Consalvo
  • 4 comments

Facts

Date created
Jun 07, 2012
Categories
Last update
Feb 06, 2013
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
Gotta Egg Them All
Downloads
1,745
Recent files

Authors