Write real Minecraft plugins in Lua. LuaCord is a modern fork of Lukkit, rewritten in Kotlin with full Paper compatibility.
LuaCord is a plugin framework that allows you to create Minecraft plugins using Lua scripting with full access to the Spigot API.
It is designed to be lightweight, easy to learn, and fully compatible with modern Paper servers while maintaining backwards compatibility with Lukkit plugins.
/plugins/ directory.lkt plugins into /plugins/Plugins can be distributed as .lkt files (ZIP archives) or as folders containing the following files:
main.lua – plugin logic plugin.yml – plugin metadata config.yml – optional configurationplugin:onEnable(function()
logger:info("Plugin enabled!")
end)
plugin:addCommand({
name = "heal",
description = "Heal yourself"
}, function(event)
local player = event:getSender()
player:setHealth(20)
player:sendMessage("Healed!")
end)
plugin:registerEvent("PlayerJoinEvent", function(event)
local player = event:getPlayer()
player:sendMessage("Welcome!")
end)
name: MyPlugin
version: 1.0
main: main.lua
author: YourName
description: My awesome plugin
/lukkit plugins – List loaded plugins /lukkit dev reload <plugin> – Reload a development plugin /lukkit dev errors – View error logsdebug-mode: false # Enable verbose logging
bypass-plugin-registration: true # Paper compatibility mode
lua-debug: false # Lua debug globals
GPL v3
Initial LuaCord release.
Forked from Lukkit 2.2.0 (also by me) with major improvements.
Changes:
io.thegamingmahi.luacordFrom Lukkit 2.2.0:
/plugins on Paper/lukkit plugins instead