1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Solved How can i change messages?

Discussion in 'Skript' started by PantherBoy, Aug 26, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. PantherBoy

    PantherBoy Active Member

    Joined:
    Jul 20, 2017
    Messages:
    74
    Likes Received:
    0
    From plugins and players too?
    For example if a plugin/player says "I want cookies", i want to appear as "I like banana".
     
  2. Best Answer:
    Post #2 by ShaneBee, Aug 26, 2017
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    232
    for plugins it depends on if skript works with that plugin. likely you can handle it's messages within it's config if they are indeed editable.
    For players look up the on chat event in the docs. you can replace text with other test, cancel it, save it to a variable ec
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    232
    To edit plugin messages you need packets
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    232
    What packet need for worldguard?
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    232
    You just have to listen the play_server_chat packet with the packet event and then you can use the following converter to remove those messages. There is also an example of usage in that gist.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...