RPG-Items Plugin

Discussion in 'Add-Ons, API & Compatible Plugins' started by _CaptainK/Roadto100., Mar 19, 2016.

  1. _CaptainK/Roadto100.

    New

    Joined:
    Mar 19, 2016
    Messages:
    3
    Likes Received:
    0
    How can i put a command to give rpgitem to the player who killed the mob ? FAST HELP!!
     
    #1
  2. yuliannatan

    yuliannatan New Member

    Joined:
    Sep 24, 2020
    Messages:
    1
    Likes Received:
    0
    realy fast replay and idk
     
    #2
  3. OnwexryS

    OnwexryS New Member

    Joined:
    Nov 30, 2019
    Messages:
    17
    Likes Received:
    0
    Sorry for the late replay, maybe this can help you.
    You can execute command via skill with onDeath trigger, using variables.

    Code:
    Skills:
      - command{cmd="thecommand <trigger.name>"} ~onDeath

    Like command{cmd="give <trigger.name> diamond 1"} ~onDeath
    If the killer is OnwexryS, it executes "give OnwexryS diamond 1" on death
     
    #3
    Last edited: Nov 22, 2020
  4. OnwexryS

    OnwexryS New Member

    Joined:
    Nov 30, 2019
    Messages:
    17
    Likes Received:
    0
    You can also add chance: ~onDeath 0.2 (20% chance)
     
    #4

Share This Page