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

How To create title like this?

Discussion in 'Plugin Help' started by RicardoMilos384, Aug 30, 2020.

  1. RicardoMilos384

    RicardoMilos384 Slime

    Messages:
    82
    GitHub:
    ricardomilos384
  2. RicardoMilos384

    RicardoMilos384 Slime

    Messages:
    82
    GitHub:
    ricardomilos384
  3. dadodasyra

    dadodasyra Witch

    Messages:
    68
    GitHub:
    dadodasyra
    I think it's not a title but just a flying text
     
  4. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    How do you spawn the totem?
     
  5. GamingFR91

    GamingFR91 Spider Jockey

    Messages:
    29
    GitHub:
    kanekilechomeur
    It's not a Flying text, it's a title
     
  6. GamingFR91

    GamingFR91 Spider Jockey

    Messages:
    29
    GitHub:
    kanekilechomeur
    if you want, i can make it and give you the code
     
  7. NutXzG

    NutXzG Baby Zombie

    Messages:
    132
    GitHub:
    NutXzG
    PHP:
    use pocketmine\network\mcpe\protocol\{
    LevelEventPacketActorEventPacket
    };
     
    /*** var $p Player **/
    $p->brocastEntityEvent (ActorEventPacket::CONSUME_TOTEM);
    //fly text
    $p->addTitle("§b§lCool Victory!""§a 11 Kill!");
    //sound
    $pk = new LevelEventPacket();
    $pk->evid LevelEventPacket::EVENT_SOUND_TOTEM;
    $pk->postion $p->add(0$p->eyeHegiht(), 0);
    $pk->data 0;
    $p->dataPacket($pk);
     
  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.