1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Remove black thing at back

Discussion in 'Development' started by xXNiceAssassinlo YT, Apr 28, 2018.

  1. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    517
    GitHub:
    xXNiceYT
    PHP:
        public function FloatingText(Player $player){
            
    $level $this->plugin->getServer()->getDefaultLevel();
            
    #WarZone
            
    $warzone = new FloatingTextParticle(new Vector3(10617739), TextFormat::DARK_RED "PvP is Enabled in warzone!"TextFormat::RED "            Warning:");
            
    $level->addParticle($warzone);
        }

     

    Attached Files:

    Muqsit likes this.
  2. Muqsit

    Muqsit Wither Skeleton Verified

    Messages:
    1,154
    GitHub:
    muqsit
    Yeah, it's annoying but unfortunately you cannot remove it. I heard 1.2.14 is going to fix it.
     
    HyperxXxHound likes this.
  3. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    517
    GitHub:
    xXNiceYT
    Thx
     
  4. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie

    Messages:
    227
    You can't but here is a tip: Spawn the particle very high so the player can't see it and then use \n.
    Hopefully the bug with a j appearing when you used \n is fixed so the players won't be able to understand what happened and the black thing isn't there.
     
  5. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    517
    GitHub:
    xXNiceYT
    It will take bit long

    This should help
    PHP:
        public function FloatingText(Player $player){
            
    $level $this->plugin->getServer()->getDefaultLevel();
            
    #WarZone
            
    $warzone = new FloatingTextParticle(new Vector3(10617739), . " "TextFormat::DARK_RED "PvP is Enabled in warzone!"TextFormat::RED "            Warning:");
            
    $level->addParticle($warzone);
        }
     

Share This Page