Solved Will "on chat:" lag the Server?

  • 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 community!

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Adrihun

Member
Feb 1, 2017
368
6
0
So I have a custom permission script in Skript.

If i want to make prefixes work (in chat), can I use

"on chat:
cancel event
broadcast TEST %player% %message%"

or will that decrease the server performance/will it lag the server/take more time for the message to appear in chat?
 
Last edited:
it wouldn't but I do recommend to use the following expression from skQuery:
code_language.skript:
on chat:
    set message format to "TEST %player% %message%"

EDIT: Nevermind, just saw another post from you that you wanted to do a JSON chat or something like that and such thing can't be done with the message format expression sadly.
 
Using on chat requires processing power that won't be available for decades to come
 
Status
Not open for further replies.