Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 581 Bytes

hello-world.md

File metadata and controls

30 lines (24 loc) · 581 Bytes

Hello, world!

This plugin is very simple. When the plugin loads "Hello, world" is printed to the console. This is a example is great to use as a template.

Code

{% code-tabs %} {% code-tabs-item title="main.lua" %}

plugin.onEnable(function()
  logger.info("Hello, world!")
end)

plugin.onDisable(function()
  logger.info("Goodbye, world!")
end)

{% endcode-tabs-item %}

{% code-tabs-item title="plugin.yml" %}

name: Hello-World
author: AL_1
version: "1.0"
description: Just here to say hello
main: main.lua

{% endcode-tabs-item %} {% endcode-tabs %}