1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

IHow do I have an item respond to a command

Discussion in 'Help' started by TheKevnSG, Jul 19, 2019.

  1. TheKevnSG

    TheKevnSG Silverfish

    Messages:
    18
    GitHub:
    thekevinsg
    Hello, someone knows how to give you an item when you enter the server and when you click, react to a command
     
  2. Mr174

    Mr174 Baby Zombie

    Messages:
    187
    GitHub:
    mr174
    what do you mean?
     
  3. TheKevnSG

    TheKevnSG Silverfish

    Messages:
    18
    GitHub:
    thekevinsg
    Quiero hacer un complemento para que ingrese al servidor de elementos para darles clic y ejecutar un comando.
     
  4. Mr174

    Mr174 Baby Zombie

    Messages:
    187
    GitHub:
    mr174
    Está bien para ejecutar un comando cuando el jugador dice que se une a usted que no va a hacer un ConsoleCommndSender
    I USED GOOGLE TRANSLATE
     
  5. TheTrollArtz

    TheTrollArtz Spider

    Messages:
    13
    GitHub:
    ithetrollidk
    PHP:
    /** @var Player $player */
    Server::getInstance()->dispatchCommand($player'me HOLA ESTO FUNCIONA CON UNA FORM');
     
  6. TheKevnSG

    TheKevnSG Silverfish

    Messages:
    18
    GitHub:
    thekevinsg
    A k onda troll xdxd
     
  7. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    You mean, the player gets an item when they join and tapping on a block while holding the item should execute a command?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.