Creepers Exploding

Discussion in 'Bukkit Help' started by iClamp, May 24, 2021.

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

    iClamp

    Hello everyone!

    So I want to disable Creepers from exploding completely in Minecraft, for example, I don`t want creepers to explode when players hit them or go near them I want player to be able to kill creepers without them exploding so is there any way to do it or any plugins? if so please let me know!reepers E
     
  2. Offline

    TheSpigotGirl

    You can disable the Creeper explosions by using a simple command: /gamerule.
    Gamerule commands are able to change the game settings completly.
    Try "/gamerule mobGriefing false"
    It should solve your problem :)
     
  3. Offline

    KarimAKL

    I think he wants them to be passive mobs.

    @iClamp Are you looking for a plugin that does this, or are you developing one? Also, please elaborate on the desired behavior.
     
  4. Offline

    eickmung

    You can prevent the explosion by canceling the event with EntityExplodeEvent.
     
  5. Offline

    iClamp

    I
    I`m looking for a plugin that does this
     
  6. Offline

    TheSpigotGirl

    If so, It is still simple to solve this kind of problem.

    First of all: Just use the default Minecraft commands.
    You will not need any other plugins though.

    1. Create a scoreboard team [/scoreboard teams create "name"]
    2. Now, place a commandblock and write [/scoreboard teams join @e "name of your team"]
    3. If you only want the Creepers to be passive, you have to use: [/scoreboard teams join @e[type=Creeper] "name of team"]
    4. (If you want more mobs or every single mob to be passive, just expand the command... "type=Zombie,type=Witch...".
    4. If you use the version 1.9+, you will be able to change the commandblock to "repeat" and "always active".
    5. You have to enable commandblocks on your server though (Server settings).
    6. This works for every server version 1.8 - 1.12. You can also use it for 1.13 - 1.16, but the commands are a bit different.

    LG: TheSpigotGirl ❤️
     
    Last edited: May 27, 2021
    KarimAKL likes this.
  7. Offline

    TheSpigotGirl

     
Thread Status:
Not open for further replies.

Share This Page