Only Zombies Plugin

Discussion in 'Plugin Requests' started by CadillacClobber, Dec 24, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    CadillacClobber

    Plugin category: Mob Control

    Suggested name: Only Zombies

    What I want: Well i have tried many plugins such as MobManager,Apocalyptic,Zombz,and Spawn Zombies but none of them seems to make only zombies spawn so if you could make it a simple config file to where it sets a command to true or false then only zombie MOBS spawn. Also please do not limit the spawning of Animals.

    Ideas for commands: Simple commands maybe just to change the settings in game but it could just be config.

    Ideas for permissions: No permissions unless you shall add commands to change the settings then add any permissions just list them in the comments or put them in the config as a text document.

    When I'd like it by: I would like it by the 27th of December but since Christmas is here I understand then if it isn't done til after all the holidays.
     
  2. Offline

    TheYamsMan

    @Cadillac

    @CadillacClobber I will work on this right now. I think I understand what you are asking. Would it be OK if I killed all other mobs that spawned or do you actually want them to be disabled?
     
    Last edited by a moderator: Dec 24, 2014
  3. Offline

    XgXXSnipz

    @TheYamsMan make a event handler for a spawn event... wouldnt be that hard should take like 3 mins
     
  4. Offline

    CadillacClobber

    @TheYamsMan I would like them to be disabled.
     
  5. Offline

    Cloaking_Ocean

    @CadillacClobber Here's a prototype to hold you over if no one replies in time. <Edit by Timtower: removed URL shortner>
     
  6. Offline

    Experminator

    Last edited by a moderator: Dec 24, 2014
  7. Offline

    CadillacClobber

    Thanks so MUCH!!!

    @Experminator
    There is still other mobs spawning.... Zombies arnt the only ones spawning...
    Please Fix!!
     
    Last edited: Dec 25, 2014
  8. Offline

    TheYamsMan

    @CadillacClobber i hsve been working on this plugin too and I am also having the other mobs spawning issue. I will link when I figure it out.
     
  9. Offline

    gogobebe2

    Just do an event handler to check if animals and zombies spawn, then spawn them, otherwise cancel the event. It's like a 5 minute plugin. So have you got a working plugin or not? Shall I give a go at it or do you already have it made?
     
    Last edited: Dec 25, 2014
  10. Offline

    CadillacClobber

    I found a different plugin...
     
  11. Offline

    gogobebe2

    Oh really? Cool.
    Goodluck with your server.
     
  12. Offline

    TheYamsMan

    @gogobebe2 I did make it, it did take 5 minutes, I did make the event of spawning, and it still didn't work just like @Experminator 's plugin. I am positive we did the same thing so excuse me but I did.
     
  13. Offline

    gogobebe2

    Don't be so hardly done by. That's fine.
     
  14. Offline

    CheesyFreezy

    If you even can't figure out how this works.... than you need to be realy bad in plugin developing.

    Code:
    @EventHandler
    public void onCreatureSpawn(CreatureSpawnEvent event) {
    if(event.getEntity() instanceof Zombie) {
    event.setCancelled(false);
    } else {
    event.setCancelled(true);
    }
     
  15. Offline

    gogobebe2

    I think he's already found something. And you need to create || intanceof other animals bit too not just zombies.
     
  16. Offline

    TheYamsMan

    No...I totally didn't post multiple times that I did just that and it was messed up and I fixed it...no...totally not internet sarcasm...thanks gogobebe2(not internet sarcasm) and I got it
     
  17. Offline

    gogobebe2

    What? I think your confused. ?? Read my 2nd to last comment. I honestly also don't understand what your trying to say sorry. :/
     
  18. Offline

    TheYamsMan

  19. Offline

    gogobebe2

    I did untill you made a comment that didn't mean anything ;)
     
  20. Offline

    TheYamsMan

    @gogobebe2 It did to me :), I think I said it weird...
     
  21. Offline

    CadillacClobber

    Please stop commenting on this. I dont need it anymore.
     
  22. Offline

    eyamaz

    Locked
     
Thread Status:
Not open for further replies.

Share This Page