Solved How to color names only with packets?

Discussion in 'Plugin Development' started by Scrapnix, Dec 11, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Scrapnix

    Hey there,
    I want to create a plugin which changes the name if a player joins.
    I do NOT want to use things like the Scoreboard API or Protocol Lib.
    The reason why I'm writing this post is that I haven't found an answer on this
    question in the internet yet.
    I hope someone can give me a little tip of smth. like that :D

    Scrapnix
     
  2. @Scrapnix
    Why do you not want to use the Scoreboard API? It is your best and easiest option.

    You could try and emulate the functionality by sending scoreboard packets, but that is not going to help you since you're going to break scoreboard functionality anyway.
     
  3. Offline

    Scrapnix

    @AlvinB
    It's because I want to train myself in Packages.
    Sry, but answers like this wont help me.
     
  4. Online

    timtower Administrator Administrator Moderator

    @Scrapnix I would go with fake block / item changes if you want to learn packets.
    Not things that break other functionalities or are overridden by a lot of plugins.
     
  5. Offline

    Scrapnix

    @timtower
    Thank you for your tip. Another guy gave me this as an exercise
    and I want to solve it.
     
  6. Online

    timtower Administrator Administrator Moderator

  7. @Scrapnix
    Well, improving your plugin skills also largely involves choosing the right approach to a problem. Over complicating a problem to use packets when you can use APIs, is not the right approach to a problem.

    If you want to train yourself to use packets, pick a project or exercise where packets would actually be appropriate. Not only would you learn to use packets, you would also learn when it is appropriate to use them.
     
  8. Offline

    Scrapnix

    @AlvinB @timtower
    Thank you for your support.
    I will look further around for some information about this theme.
    I am going to close this post in two hours :D
     
Thread Status:
Not open for further replies.

Share This Page