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

Different Code In Each Client?

Comments in 'Plugin Development' started by Tethered_, Nov 28, 2014.

  1. Tethered_
    Offline

    Tethered_ Active Member Plugin Developer

    Joined:
    Jun 24, 2014
    Posts:
    178
    Plugins:
    2
    Minecraft User:
    Frostbyte58
    Is it possible to use an event (for example PlayerChatEvent ) and execute it differently on each client? On one client have the chat appear one way and have it appear a different way on another client?
  2. Humerus
    Offline

    Humerus Staff Member Plugin Reviewer

    Joined:
    Aug 23, 2013
    Posts:
    114
    Plugins:
    1
    You are able to broadcast packets to individual players
    EvolSoft likes this.
  3. Tethered_
    Offline

    Tethered_ Active Member Plugin Developer

    Joined:
    Jun 24, 2014
    Posts:
    178
    Plugins:
    2
    Minecraft User:
    Frostbyte58
    What are packets and how would I use them?
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Cancel the event and send different chat messages to different players.
    EvolSoft and iJoshuaHD like this.

Share This Page

Advertisement