Sueta

skJson

5.1.1a

Working with json in skript

·Script

Requirements

Spigot Paper Purpur
Java 21 + Java 21 + Java 21 +
Minecraft 1.18.2 + Minecraft 1.18.2 + Minecraft 1.18.2 +
Skript 2.9.2 + Skript 2.9.2 + Skript 2.9.2 +

Where Can I Get Help?

What can SkJson do?

  • Create JSON from string and other sources, e.g. from Bukkit objects such as Location, Player, Entity, Inventory, and many more.
  • Work with `.json` files. In the future, also with `.jsonc` (files with comments).
  • Report HTTP requests and send HTTP responses encoded in JSON.
  • Use FileWatchers, e.g. to monitor and cache changes in files like `ops.json`.
  • Use MemoryCache for ultra-fast read/write (~100-1000 µs).
  • Create VirtualCachedJson, a dynamic cache similar to script variables.
  • Supports NBT thanks to NBT-API, preserving NBT data during serialization.
  • Can serialize and deserialize nearly everything in Minecraft.

Get started

  • Paste Skjson.jar into the `<server>/plugins` folder.
  • Configure via `plugins/SkJson/config.yml`.

Wiki

  • SkJson is multifunctional – handles web requests, string-to-file operations, and caching.
  • Further details are available in the documentation.

Similar projects

Script →