Lukkit
  • Home
  • Getting Started
    • Installing Lukkit
    • Your First Plugin
    • Packing and Publishing
  • Storage
    • The StorageObject
    • Example
  • Commands
    • Command Options
    • Command Event
    • Examples
  • Gui
    • Create a simple inv
    • Create an advanced inv
    • Run function if an inventory item has been clicked
  • Events
    • Examples
    • Event List
      • Block
      • Enchantment
      • Entity
      • Hanging
      • Inventory
      • Player
      • Server
      • Vehicle
      • Weather
      • World
  • Globals
    • Global Functions
    • Global Variables
      • Plugin
      • Logging
      • Utilities
  • Wrappers
  • Examples
    • Discord Webhooks (http)
    • Toggle Fly
    • Hello, world!
Powered by GitBook
On this page

Storage

The storage system that has been implemented into Lukkit allows you to create configuration and storage files for your plugin. Creating a file super simple, all you have to do is call the plugin.getStorageObject(file: string) method. The file parameter is relative to the data folder for the plugin and has support for both YAML and JSON files.

PreviousPacking and PublishingNextThe StorageObject

Last updated 6 years ago