Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

PizzaCrust/Fromage

Repository files navigation

Fromage Build Status

Fromage allows developers to quickly create Sponge plugins quickly using the Lua scripting language.

Features

  • Easy deployment into Sponge, simply place the script inside the configuration directory.
  • Easy language to learn, API names directly use Java names; so no more naming confusion!
  • Fromage is very extensible and has a low-level API to access unsupported items.

Examples

  • Displays "hello world" at load, and "alive" on enable, and also "ded" on disable.
broadcast("hello world")
newPlugin("HelloWorld", "This is a hello world plugin", 0.1, function (plugin)
    plugin.onEnable(function ()
        broadcast("alive")
    end)
    plugin.onDisable(function ()
        broadcast("ded")
    end)
end)