> For the complete documentation index, see [llms.txt](https://docs.lukkit.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lukkit.net/examples/hello-world.md).

# 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

{% tabs %}
{% tab title="main.lua" %}

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

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

{% endtab %}

{% tab title="plugin.yml" %}

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

{% endtab %}
{% endtabs %}
