i need help making a skript

Discussion in 'Bukkit Help' started by iFamm, Nov 17, 2022.

Thread Status:
Not open for further replies.
  1. Offline

    iFamm

    Hello, i wanted to make a skript with a message that you click so that it executes a command, but it seems not to work. i use version 2.1.2 of skript. people said to use json.sk but its abandoned and has so many errors in the logs. Here is the code im trying to make

    command /announce:
    trigger:
    broadcast "<cmd:/ffa>&d&lEU FFA &7ยป &dConsole &ewants you to play! &a(Join)<reset>"

    for some reason when i check it in game it does nothing but send the broadcast with no effects like this
    [​IMG]

    please help me, or atleast tell me how to fix json.sk
    [20:13:18 INFO]: [Skript] Reloading json.sk...
    [20:13:18 ERROR]: can't understand this event: 'function removeColor(msg: text) :: text' (json.sk, line 91: function removeColor(msg: text) :: text:')
    [20:13:18 ERROR]: can't understand this event: 'function jsonColorize(msg: text, default-color: text = "&r") :: text' (json.sk, line 124: function jsonColorize(msg: text, default-color: text = "&r") :: text:')
    [20:13:18 ERROR]: can't understand this event: 'function jsonSanitize(msg: text) :: text' (json.sk, line 182: function jsonSanitize(msg: text) :: text:')
    [20:13:18 ERROR]: can't understand this event: 'function jsonFormat(msg: text, color: boolean = true) :: text' (json.sk, line 205: function jsonFormat(msg: text, color: boolean = true) :: text:')
    [20:13:18 ERROR]: can't understand this event: 'function json(to: text, msg: text, color: boolean = true)' (json.sk, line 302: function json(to: text, msg: text, color: boolean = true):')
    [20:13:18 ERROR]: can't understand this event: 'function jsonBroadcast(msg: text, color: boolean = true)' (json.sk, line 315: function jsonBroadcast(msg: text, color: boolean = true):')
    [20:13:18 ERROR]: Can't understand this condition/effect: json({_to}, {_msg}) (json.sk, line 336: json({_to}, {_msg})')
    [20:13:18 INFO]: [Skript] Encountered 7 errors while reloading json.sk!
     
  2. Offline

    timtower Administrator Administrator Moderator

    @iFamm Seems the plugin is broken.
     
Thread Status:
Not open for further replies.

Share This Page