Friendly Creepers

Discussion in 'General Help' started by atank, Mar 27, 2017.

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

    atank

    I know how to make it so that it wont blow up using summon
    /summon Creeper ~ ~ ~ {ExplosionRadius:0,Fuse:32767,PersistenceRequired:1}
    This causes it so that they only get fat.
    I want it so that they do not blow up and destroy or kill things. because I do not want creepers destroying blocks or killing players.
    I run a Spigot skyblock server
    Does anyone know how to make this happen?
    ----------------------
    No I cannot use gamerule mobdamage false
    Because it also prevents my players from making Villager farms.
    -----------------------
     
  2. Offline

    genandnic

    Mobs on that are on the same team as the player will not attack the player. You could add every player and creeper on the server to the same team using repeating command blocks.

    /scoreboard teams add <teamname>
    /scoreboard teams join <teamname> @a
    /scoreboard teams join <teamname> @e[type=Creeper]
     
  3. Offline

    YoloSanta

    That would be a waste of time as you would need to add every single player who joins the server to the team, although if you could get someone to make you a plugin where when a new player join the server a set of commands is sent through colsole.
     
  4. Offline

    genandnic

    You don't manually enter the last two commands, you put those on a pair of repeating command blocks in the world's spawn chunks. Repeating command blocks fire a command every tick, forever and automatically. You could write a plugin to do this more efficiently, but this gets the job done in the vanilla game.
     
    Last edited: Apr 11, 2017
  5. Offline

    YoloSanta

    Is your server a bukkit or vanilla server.

    Also putting command blocks on a repeat is a waste of time and can make the server lag
     
Thread Status:
Not open for further replies.

Share This Page