Remove Enderman

Discussion in 'Archived: Plugin Requests' started by iSayCr4pAlot, Jun 19, 2013.

  1. Offline

    iSayCr4pAlot

    Hi, i have a skyblock server, and endermans can spawn on it, i do not want endermans to spawn though, because they drop ender pearls. I want ender pearls to be only given by me, or the server owner. Does anyone know how i can disable from them dropping the pearls, or from them not spawning? I checked a plugin called Anti-Enderman, but it was outdated. It was 1.5.2. Thanks in advanced.
     
  2. Offline

    timtower Administrator Administrator Moderator

    iSayCr4pAlot do you have an error log of the plugin? Outdated doesn't always mean not working
     
  3. Offline

    45zeldafan

    EssentialsProtect


    He can just use EssentialsProtect and block endermen from spawning. Much easier :p
     
  4. Offline

    timtower Administrator Administrator Moderator

    Not everybody likes essentials ;)
     
  5. Offline

    ProtoTempus

    @iSayCr4pAlot:

    Edit: Oops, this is 1.5.2... What version do you need it in? Your post is a bit confusing.
    Edit2: Oh, looks like you meant to say Anti-Enderman is 1.3.2.. This is probably the droid version youare looking for.
    Edit3: I also contacted the developer to see if I can get a hold of the source to update it. I'll try to remember to post here if I do.
    Edit4: Contacted the developer and got permission to update the plugin: http://dev.bukkit.org/bukkit-plugins/anti-enderman/

    I didn't make it with any special features, probably not worth a dev page. Simply stops Enderman from spawning (including using eggs).

    Let me know if anything doesn't work properly.

    https://www.dropbox.com/sh/owoeo6ual5gkgw1/VEh95xVz4H
    (You just need the jar... NoEnderman.java is there for source).

    Code:java
    1.  
    2. public class NoEnderman extends JavaPlugin{
    3.  
    4. @Override
    5. public void onEnable(){
    6. this.getServer().getPluginManager().registerEvents(new Listener(){
    7. @EventHandler(priority=EventPriority.HIGHEST)
    8. public void onSpawn(CreatureSpawnEvent event) {
    9. if(event.getEntity() instanceof Enderman){
    10. event.setCancelled(true);
    11. }
    12. }
    13. }, this);
    14. }
    15. }
    16.  
    17.  


    @iSayCr4pAlot:
    Hey I contacted the author of AntiEnderman and got permission to update the plugin... and did so.

    http://dev.bukkit.org/bukkit-plugins/anti-enderman/
    (Just have to wait for approval)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
    timtower likes this.
  6. Offline

    45zeldafan

    I agree with that :p
     
    timtower likes this.
  7. Offline

    hawkfalcon

    In 1.5.2 there is a memory leak with canceling that event. AFAIK
     
  8. Offline

    chilbree


    Alot of people don't like essentials. Most commonly because of /antioch
     

Share This Page