Adding a new json line

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

  • 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.
Try that please:
code_language.skript:
on chat:
    cancel event
    json("@a", "&8[&7%{Class.%player%}%&8] &7%player's display name% &8&l»||ttp:%player%'s Stats %nl% &fCoins: &e%{upgradepoints::%player%}%||sgt:/msg %player%|| &f%message%")
 
hmm. Maybe just try getting a fresh install on all of your skript stuff relating to this. load the server without it, then add it back and reload again. kinda like unplugging it and plugging it back in.
 
Some OS don't use the same character for a new line, try using \n (or maybe \\n) and if that doesn't work, you can try the following with Skript-Mirror:
code_language.skript:
set {_new-line} to (class "java.lang.System").getProperty("line.separator")
Then using the new line variable in your text should (sorry for the redundancy here, I just wanted to clarify it at all) make a new line.
 
Status
Not open for further replies.