Lukkit
Home
Search…
Home
Getting Started
Storage
Commands
Gui
Events
Globals
Wrappers
Examples
Discord Webhooks (http)
Toggle Fly
Hello, world!
Powered By
GitBook
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
main.lua
plugin.yml
1
plugin
.
onEnable
(
function
()
2
logger
.
info
(
"Hello, world!"
)
3
end
)
4
5
plugin
.
onDisable
(
function
()
6
logger
.
info
(
"Goodbye, world!"
)
7
end
)
Copied!
1
name
:
Hello
-
World
2
author
:
AL_1
3
version
:
"1.0"
4
description
:
Just here to say hello
5
main
:
main.lua
Copied!
Previous
Toggle Fly
Last modified
3yr ago
Copy link
Contents
Code