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

A FloatingText for every player!

Comments in 'Plugin Development' started by Marcelo234, Feb 7, 2016.

  1. Marcelo234
    Offline

    Marcelo234 New Member

    Joined:
    Oct 18, 2014
    Posts:
    204
    Hey Guys...I looked at the code from the Plugin "FloatingTexter"....So every player can see the same FloatingText....Can I code this that every Player can see a other FolatingText?For Example:
    Player: Simon When the Player Simon look at the FloatingText, he will see : Welcome at the Server Simon
    Player: Carl When the Player Carl look at the FloatingText, he will see : Welcome at the Server Carl
    Thanks Marcelo234
  2. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    yes send particle on player join
    PHP:

    $p
    ->getLevel()->addParticle(new FloatingTextParticle(new Vector3(), """welcome to server ".$p->getName()), [$p]);
    XShockinFireX, AndrewBit and Skullex like this.

Share This Page

Advertisement