.lkt
extension. For example, MyFirstLukkitPlugin.lkt
would be a great name to start with. Inside of the folder you have just created, create two more new files named main.lua
and plugin.yml
. These files will be used to control and configure your Lukkit plugin.plugin.yml
file is where information on your plugin, such as the description, author and version will be stored. The format of this file follows the same structure as that of the Bukkit or Spigot plugin.yml
. However, unlike the plugin.yml
in Bukkit and Spigot, you are not required to fill out the commands section. More information on the plugin.yml
file can be found here, do not include the commands
section as it will cause errors.plugin.yml
file looks like:plugin.yml
file and is the first file that is run when your plugin starts. This file does not have to be called name, as long as the name defined in your plugin.yml
file matches that of your main file.onEnable
and onDisable
events looks like: