☮️
Skript-gson
  • skript-gson
  • Welcome
  • Foundations
    • 📝Syntaxes
      • 🔴Conditions
      • 🔵Effects
      • 🟢Expressions
      • 🟠Types
    • Printing
    • Creating
    • Deserialization
    • Serialization
  • About
Powered by GitBook
On this page

Was this helpful?

  1. Foundations

Printing

Official docs of Skript-gson

PreviousTypesNextCreating

Last updated 2 years ago

Was this helpful?

Example of Printing - with print screen

Storage - Json file

{
    "playerdata": {
        "name": "player",
        "health": 20,
        "some": "Example",
        "array": ["somedataHere", false, true, null]
    }
}

With pretty print

options:
    storage: json from file "plugins/YourAwesome/storage.json"

on load:
    broadcast {@storage}  with pretty print

Without pretty print

options:
    storage: json from file "plugins/YourAwesome/storage.json"

on load:
    broadcast {@storage}