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

Inventory message

Discussion in 'Facepalm' started by matcracker, Jun 13, 2017.

  1. matcracker

    matcracker Spider

    Messages:
    13
    GitHub:
    matcracker
    Hello guys, I want to ask if is it possibile to send a popup or a tip while a chest inventory is open.
    Obviously, this is only a case of MCPE for Android or iOS. (EDIT: It can happen on any platform).
    I know that, if a player hold down an item in the inventory, it appears a popup with item name. So, is it possible to send a custom message without edit the item name? I already try Player::sendPopup() and Player::sendTip() but it doesn't appear while the chest is open, only when it's closed the Player::sendTip() appears.

    Is this managed inside the client or can be sent by server? Thanks for help!
     
    Last edited: Jun 13, 2017
  2. Teamblocket

    Teamblocket Zombie

    Messages:
    301
    GitHub:
    teamblocket
    you can close the inventory send the popup then add a delay task for 2s and add the inventory back.
     
  3. matcracker

    matcracker Spider

    Messages:
    13
    GitHub:
    matcracker
    This is a hack for workaround the problem xD
     
  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.