simpleJson.sk icon

simpleJson.sk -----

Simple way to send jSon to your players



How to use it ?

To use it, you can either type command:
/json <Player> <JSON>
Permission: json.use

OR
Use the function:
sendJson([players], [json])

How to create a JSON ?

Let's take back our example:

Hello, did you have a good day ? [text:&a[Of course!];tooltip:*&7You had a good day.*;action:command;value:*/give @p apple*] [text:*[Not really]*;tooltip:*&7You didn't have fun today...*;action:command;value:*/kick player Come back with more fun :p*]

I took this example because it is complete.
Color meaning:

▀▀▀ Simple text - Text with no effect


▀▀▀ Specifier - text, tooltip, action and value
It is used to specify part of sub json.
text -> For the displayed text
tooltip -> For the text showed when mouse is over the text
action -> On click:


  • command - To run a command
    aliases: cmd, run, run cmd, run command, run_cmd or run_command

  • sugcmd - To suggest a command in player chat
    aliases: suggest command, suggest_command or suggest

  • open url - To open URL to player
    aliases: url
value -> The value of the action


▀▀▀ Value - The value for the action
(Ex: /give @a apple, https://google.com/...)
Resource Information
Author:
----------
Total Downloads: 69
First Release: Aug 21, 2022
Last Update: Aug 21, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings