Hi all, I've just been working on a script which cancels a player's message, and instead sends a json with the message in. I have installed the json.sk into my scripts folder, and done nothing else as I think that's all needed.
I am attempting to use the code below to do what I want, but I get '[Server: Invalid json: Unterminated object at line 1 column 14]' whenever I speak in the chat now. Nothing is printed.
thanks for any help.
I am attempting to use the code below to do what I want, but I get '[Server: Invalid json: Unterminated object at line 1 column 14]' whenever I speak in the chat now. Nothing is printed.
code_language.skript:
on chat:
cancel event
json("@a", "%player%||ttp:&cClick to send a message to this user!|| &f>>>%message%")
thanks for any help.