https://github.com/cooffeeRequired/skJson
About Script Addon for using Json (Gson) in script
https://github.com/cooffeeRequired/skJson
bukkit gson-library java minecraft skript skript-addon skript-language spigot spigot-plugin
Last synced: 4 months ago
JSON representation
About Script Addon for using Json (Gson) in script
- Host: GitHub
- URL: https://github.com/cooffeeRequired/skJson
- Owner: cooffeeRequired
- License: gpl-3.0
- Created: 2022-10-21T08:21:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-21T22:23:29.000Z (4 months ago)
- Last Synced: 2025-02-21T23:42:10.729Z (4 months ago)
- Topics: bukkit, gson-library, java, minecraft, skript, skript-addon, skript-language, spigot, spigot-plugin
- Language: Java
- Homepage:
- Size: 61.6 MB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-skript - skJSON - Work with JSON objects and files in Skript, also provides methods to fetch data from websites (Addons / Databases and Storage)
- awesome-skript - skJSON - Work with JSON objects and files in Skript, also provides methods to fetch data from websites (Addons / Databases and Storage)
README




[](https://discord.gg/dsZq5Cs9fd)

[](https://www.codefactor.io/repository/github/cooffeerequired/skjson)
[//]: # (<- Header ->)
Addon for handle JSON easily in SkriptLang
### Support for servers
| 📑 Spigot | 🔑 Paper | 🆘 Purpur |
|--------------------------------------|-------------------------------------- |--------------------------------------|
| Java 21 + | Java 21 + | Java 21 + |
| Minecraft 1.16.5 + | Minecraft 1.16.5 + | Minecraft 1.16.5 + |
| Skript 2.9.2 + | Skript 2.9.2 + | Skript 2.9.2 + |## 🔑 Recommended Tools
* **[Visual Studio Code](https://code.visualstudio.com/download)**
* **[Skript Extension](https://marketplace.visualstudio.com/items?itemName=JohnHeikens.skript)**## 🆘 Where Can I Get Help?
* **[Discord](https://discord.gg/dsZq5Cs9fd)**
* **[SkUnity](https://skunity.com/)**
* **[Email](mailto:[email protected])**## ❓ What can SkJson do?
* create JSON from string and other sources, for example from various Bukkit objects such as `Location, Player, Entitiy, Inventory, and many more`
* it can also work with `.json` files, in the future it will also be able to work with `.jsonc` -> which are files that can contain comments.
* it can also report HTTP requests and send http responses json encoded.
* it can also work with `FileWatchers` which is an advantage when for example you have a file that changes the server like for example `ops.json` -> a file that contains Server Operators
* at this point SkJson can read this file and can update its cache with each change
* `SkJson` works with **`MemoryCache`** so it is very fast to write and read around `100-1000 us`
* `SkJson` allows to create `VirtualCachedJson` which is a type of storage something like `Script` variables, it serves as a dynamic storage for various things.
* `SkJson` also supports NBT thanks to **NBT-API**, so you won't lose NBT from given input when serializing.
* `SKJson` in the last line can serialize and deserialize almost everything you know in MC.## 🌀 Get started
* Paste `Skjson.jar` into the `/plugins` folder
* * set what we need in `plugins/SkJson/config.yml`## 📖 Wiki
* Let's learn about what SkJson is for and how to use it properly.
* In general, we could say that SkJson is very multifunctional. It contains some web request functionalities, and also handles strings that work with files.
* Additionally, it allows us to use a so-called cache.
* We will delve further into all these aspects as we learn more* [**Wikipedia**](./get_started.md)
[
](https://skripthub.net/docs/?addon=skJson)
[](https://docs.skunity.com/syntax/search/addon:skjson)
[](https://www.spigotmc.org/resources/skjson.106019/)