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

Text like in PC

Comments in 'Plugin Development' started by ZenCloud, Jul 17, 2014.

  1. ZenCloud
    Offline

    ZenCloud Active Member

    Joined:
    May 14, 2014
    Posts:
    61
    Minecraft User:
    ZenCloud
    Hey guys i am gonna develop a plugin that is like in the pc. Like if you join a server. There are flying text like that. Is if possible to do that
  2. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    Flying text?
    Can you make a picture of it or video?
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    What are flying texts? Can you mention more specifically?
  4. SpiderPig
    Offline

    SpiderPig Active Member

    Joined:
    Sep 21, 2013
    Posts:
    128
    Minecraft User:
    SpiderPig
    ExcelHosting likes this.
  5. codmadnesspro
    Offline

    codmadnesspro Notable Member Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    552
    Plugins:
    1
    Minecraft User:
    Codmadnesspro
  6. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    372
    Plugins:
    3
    Minecraft User:
    Dutok
    It might be possible, but i doubt it. I think the hovering text in PC edition is only possible because of horses and Pocket Edition doesn't have horses.
    Darunia18 and SpiderPig like this.
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    How is it possible? (I don't even know the principle it uses)
  8. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    372
    Plugins:
    3
    Minecraft User:
    Dutok
    It makes horses shrink into nothing/invisible then uses their name tags as hovering text. The plugin spawns this invisible horse and makes sure it doesn't 'grow' back to it's regular size.
  9. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    How does it make the name tag like that?
  10. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    372
    Plugins:
    3
    Minecraft User:
    Dutok
    What do you mean? It just changes the horse's name so the nametag can be used as hovering text.
  11. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Right now, name tags are only possible via spawning players, so it is possible if you spawn them to one player at a very far position. On the other hand, I just realized that HealthBar plugin is not a good idea because it easily causes issues when PvP is in progress if packet loss occurs, although it recovers quickly too.
  12. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I mean, how are the tiny pixels made.
  13. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    372
    Plugins:
    3
    Minecraft User:
    Dutok
    I still don't know what you mean.

    I don't think this is possible in Pocket Edition because mobs don't have name tags. Maybe we could spawn in a 'fake' player and use it instead? I know you can change player entity name tags.
  14. codmadnesspro
    Offline

    codmadnesspro Notable Member Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    552
    Plugins:
    1
    Minecraft User:
    Codmadnesspro
    You can't spawn 'fake' players?
  15. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    372
    Plugins:
    3
    Minecraft User:
    Dutok
    You can in Minecraft PC/Bukkit.
  16. codmadnesspro
    Offline

    codmadnesspro Notable Member Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    552
    Plugins:
    1
    Minecraft User:
    Codmadnesspro
    We're in MCPE! Not MCPC.
  17. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    372
    Plugins:
    3
    Minecraft User:
    Dutok
    Thank you for pointing that out. While they are different, the API and protocol are still similar.

    I never said spawning a fake player was possible, but it's worth trying so we can emulate Bukkit's HoloAPI.
  18. ZenCloud
    Offline

    ZenCloud Active Member

    Joined:
    May 14, 2014
    Posts:
    61
    Minecraft User:
    ZenCloud
    But about that npc spawning in like changing the horses. Its possible maybe. Like blubll, his server has something like that but i cant seem to find out how
  19. Dutok
    Offline

    Dutok Notable Member Plugin Developer

    Joined:
    Jun 20, 2014
    Posts:
    372
    Plugins:
    3
    Minecraft User:
    Dutok
    Huh?
  20. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You can't. You just send a "fake" username to other clients so the player's username tag is the name tag you want. However, you still can't officially modify name tags. You just despawn the player and spawn it again as a new player with a new username (in fact a new name tag).
    ZenCloud and Dutok like this.

Share This Page

Advertisement