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.

Messages with effects like run command dont work

Discussion in 'Skript' started by iFammYT, Nov 17, 2022.

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

    iFammYT Member

    Joined:
    Nov 6, 2022
    Messages:
    13
    Likes Received:
    1
    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
    upload_2022-11-17_20-12-12.png

    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. MultiverShaun

    MultiverShaun Member

    Joined:
    Aug 8, 2022
    Messages:
    25
    Likes Received:
    2
  3. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    116
    Likes Received:
    4
    Use

    Code (Text):
    1. send formatted "text"
    --- Double Post Merged, Nov 26, 2022, Original Post Date: Nov 26, 2022 ---
    [20:13:18 ERROR]: can't understand this event: 'function removeColor(msg: text) :: text' (json.sk, line 91: function removeColor(msg: text) :: text:')

    o.O

    more like
    Code (Text):
    1. uncolored "text"
    or no idk its json idk whart your mission but idk
     
  4. iFammYT

    iFammYT Member

    Joined:
    Nov 6, 2022
    Messages:
    13
    Likes Received:
    1
    still doesnt work.
    also i cant use skbee cuz the host im using doesnt support it
     
  5. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    116
    Likes Received:
    4
    Then idk how to add nbt
     
  6. MultiverShaun

    MultiverShaun Member

    Joined:
    Aug 8, 2022
    Messages:
    25
    Likes Received:
    2
    Then you’re probably better off using a custom /tellraw command, just search up tellraw generator on google.
     
  7. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    116
    Likes Received:
    4
    https://www.minecraftjson.com/
     
    MultiverShaun likes this.
  8. iFammYT

    iFammYT Member

    Joined:
    Nov 6, 2022
    Messages:
    13
    Likes Received:
    1
    not for 1.8 bro
     
  9. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    116
    Likes Received:
    4
    u got outdated skript??? since its for 1.8???
    then just update and use oldcombatmechanics plugin
     
  10. iFammYT

    iFammYT Member

    Joined:
    Nov 6, 2022
    Messages:
    13
    Likes Received:
    1
    Im using aternos. And aternos does not allow some plugins and u cant upload files to aternos
     
Thread Status:
Not open for further replies.

Share This Page

Loading...