Sueta

DeathCommand

1.3

Commands on player death or kill, with permissions.

·Plugin

Death commands on player death.

Commands:

/deathevent msg (Player) (MSG)
- Permission: deathcmd.msg
- Description: Used to send a player a message, not necesary when they death, you can send it when and where you want.

/deathevent reload
- Permission: deathcmd.reload
- Description: Used to reload the plugin configuration.

Config:

#################################################################################################### 
#     ______   _______  _______  _______  __   __  _______  __   __  _______  __    _  _______     # 
#    |      | |       ||   _   ||       ||  | |  ||       ||  | |  ||       ||  |  | ||       |    # 
#    |  _    ||    ___||  |_|  ||_     _||  |_|  ||    ___||  |_|  ||    ___||   |_| ||_     _|    # 
#    | | |   ||   |___ |       |  |   |  |       ||   |___ |       ||   |___ |       |  |   |      # 
#    | |_|   ||    ___||       |  |   |  |       ||    ___||       ||    ___||  _    |  |   |      # 
#    |       ||   |___ |   _   |  |   |  |   _   ||   |___  |     | |   |___ | | |   |  |   |      # 
#    |______| |_______||__| |__|  |___|  |__| |__||_______|  |___|  |_______||_|  |__|  |___|      # 
#                                                                                                  # 
#                       ___           _      _     _ ___ _ _ ___                                   # 
#                      | _ )_  _   _ | |___ (_)___/ | __| | |_  )                                  # 
#                      | _ \ || | | || / _ \| / _ \ |__ \_  _/ /                                   # 
#                      |___/\_, |  \__/\___// \___/_|___/ |_/___|                                  # 
#                            |__/          |__/                                                    # 
#################################################################################################### 

############################################################ 
# Permissions:                                             # 
#  -reload deathcmd.reload                                 # 
#  -msg: deathcmd.msg                                      # 
############################################################ 


#If DeathPlayer has permission 
con-killer: 
  comado1: 
    #¿if this command on death enabled? 
    enabled: false 
    #If player has permission 
    perm: 'comu.test' 
    ############################################################ 
    # Variables:                                               # 
    #  -Killer name: %killer%                                  # 
    #  -DeathPlayer name: %player%                             # 
    # Commands:                                                # 
    #  -MSG to player: deatevent msg [PLAYER] [MESSAGE]        # 
    ############################################################ 
    cmds: 
      - "ipban %player% JAJAJAJA ¿QUE INTENTAS MATANDO GENTE? C:" 
      - "deathevent msg %killer% El jugador fue kickeado =(" 

#If killer has permission 
con-killer-killer: 
  comado1: 
    #¿if this command on kill enabled? 
    enabled: false 
    #If player has permission 
    perm: 'comu.test' 
      ############################################################ 
      # Variables:                                               # 
      #  -Killer name: %killer%                                  # 
      #  -DeathPlayer name: %player%                             # 
      # Commands:                                                # 
      #  -MSG to player: deatevent msg [PLAYER] [MESSAGE]        # 
      ############################################################ 
    cmds: 
      - "ipban %player% JAJAJAJA ¿QUE INTENTAS MATANDO GENTE? C:" 
      - "deathevent msg %killer% El jugador fue kickeado =(" 

#If Player suicide 
sin-killer: 
  comado1: 
    #¿if this command on kill enabled? 
    enabled: true 
    #If player has permission 
    perm: 'comu.test' 
      ############################################################ 
      # Variables:                                               # 
      #  -DeathPlayer name: %killer%                             # 
      # Commands:                                                # 
      #  -MSG to player: deatevent msg [PLAYER] [MESSAGE]        # 
      ############################################################ 
    cmds: 
      - "deathevent msg %player% Has muerto" 

Lang: 
  no-permission: "&cError, no tienes permiso para ejecutar este comando." 
  msg: 
    too-short: "&cError, demasiado corto." 
      ############################################################ 
      # Variables:                                               # 
      #  -Player name: %killer%                             # 
      ############################################################ 
    sended: "The message has been sended to %player%." 
    not-found: "The player it not connected." 

##################################################################### 
#   _____              _ _     _______               _     _ _ _    # 
#  |  __ \            ( ) |   |__   __|             | |   | | | |   # 
#  | |  | | ___  _ __ |/| |_     | | ___  _   _  ___| |__ | | | |   # 
#  | |  | |/ _ \| '_ \  | __|    | |/ _ \| | | |/ __| '_ \| | | |   # 
#  | |__| | (_) | | | | | |_     | | (_) | |_| | (__| | | |_|_|_|   # 
#  |_____/ \___/|_| |_|  \__|    |_|\___/ \__,_|\___|_| |_(_|_|_)   # 
#                                                                   # 
#      For development purposes only                                # 
##################################################################### 

configversion: 1.2

Servers using this plugin:
mc.comugamers.com
mooncraft.es

¿Is your server using it? ¡Send me a Spigot DM!

Similar projects

Plugin →