Jump to content

Cool /kill command - /kill mobs - /kill player - /kill all


Mrbizarre

Recommended Posts

how do i format the skript? eh ill just send it

 

options:
    server: &8[&9&lVast&d&lSea&8]&7&l
    allplkill: permission for kill all
    permmobplayer: perm for mob and player
                
command /kill [<text>] [<player>]:
    permission: {@permmobplayer}
    trigger:
        if arg-1 is not set:
            send "{@server} /kill (allplayers/mobs/player)"
        if arg-2 is not set:
            if arg-1 is "mobs":
                kill all mobs
                send "{@server} Killed all mobs."
        if arg-2 is not set:
            if arg-1 is "allplayers":
                if player has permission "{@allplkill}":
                    kill all players
                    send "{@server} Killed all players."
        if arg-2 is set:
            if arg-1 is "player":
                kill arg-2
                send "{@server} Killed %arg-2%"

 

made it where only a certain perm can use /kill allplayers, but 1 perm can use /kill mobs and /kill player

i hope u like it 😄

 

Edited by Mrbizarre
Link to comment
Share on other sites

  • Mrbizarre changed the title to Cool /kill command - /kill mobs - /kill player - /kill all

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...