/killall for a commandblock!

Discussion in 'Plugin Requests' started by KieranMeow, Jul 8, 2016.

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

    KieranMeow

    Hey.
    I'm not sure if this is even possible but I don't know why it shouldn't be either.

    Plugin category: Kill Command

    Minecraft version: 1.10.2
    Suggested name: Killmob for Commandblock

    What I want: I would like to be able to use the /killall command of Essentials in a command block. It should be able to kill a specific mob, all mobs at once and a range setting. (like "/killall Chicken 6" and "/killall all")


    Ideas for commands:

    /killmob all = kills everything
    /killmob all 10 = kills all in a block radius of 10
    /killmob Chicken = kills every chicken
    /killmob Chicken 10 = kills every chicken in a block radius of 10


    Ideas for permissions:
    killmob.all = allows to do /killmob all and optional range too
    killmob.mob = allows to do /killmob [specific mob] and optional range too

    When I'd like it by: Asap of course :p Nah, I don't need it that fast. It's just an optional thing for my server so take your time
     
  2. Just going to note for people looking to do this, the OP cannot use Essentials as he wants a range and is using it in a command block. Command blocks don't have a world and you cannot use range and world so he needs a plugin which has the world and radius.
     
    KieranMeow likes this.
  3. @KieranMeow
    Is there a problem with using the standard /kill command and target selectors? It seems like it does exactly what you want.
     
  4. Offline

    KieranMeow

    Yep I tried that. I'll try it again to show you the exact error.
    EDIT: Nothing happens when I try to power the block. "/kill @e[type=Chicken,r=50]" Chicken right on top. Nothing happens
    [​IMG]
     
    Last edited: Jul 9, 2016
  5. This works fine for me. I assume you have another plugin (My guess would be essentials) that overrides the /kill command with its own. Try using /minecraft:kill.
     
    cococow123 and KieranMeow like this.
  6. Offline

    kev6261337

  7. Offline

    KieranMeow

    Oh wow. Okay thank you that worked xD
    Used /minecraft:kill @e[type=Item,r=10] to kill the remaining items
     
    Last edited: Jul 9, 2016
Thread Status:
Not open for further replies.

Share This Page