
LuaCraft
LuaCraft embeds LuaJ into Paper/Bukkit servers, providing developers with a lightweight, fast scripting layer without the complexity of full plugin development.
LuaCraft
LuaCraft brings lightweight, fast Lua scripting to Paper/Bukkit servers using LuaJ, enabling server developers to create game logic without building full plugins.
LuaCraft strives for simplistic yet understandable syntax elements that make your life as a server developer easier.
It doesn't only strive for simplistic, it strives to be as fast as possible, and keep your server as safe as possible by sandboxing as much as possible
Key Features
-
Lua Scripting Integration: Embed Lua directly into your Paper/Bukkit server with zero compilation overhead
-
Lightweight & Fast: LuaJ provides efficient script execution with minimal performance impact
-
Simple API: Write server-side logic using intuitive Lua syntax and server event hooks Quick Development: Skip traditional plugin boilerplate and iterate faster on server mechanics
Getting Started
LuaCraft is perfect for server owners and developers who want to extend their server with custom scripts. Simply drop the plugin in your /plugins folder and start scripting.
You can find where to place your Lua scripts by heading to /plugins/LuaCraft/scripts.
Start by creating your first script by creating helloworld.lua and placing this script into it!
function ServerEvent.OnPlayerJoin(event)
local player = event.Player
local white = "&#FFFFFF"
local component = Component(white, "Hello world")
Chat.Broadcast(component)
end
You can then do /lua reloadall in game and bam when you rejoin you should see a clear nice "Hello world" in your chat.
Requirements
- Paper (latest versions 1.21.4+)
- Vault soft dependency (OPTIONAL)
- Skript soft dependency (OPTIONAL)
Project Type
Plugin Type: Paper/Bukkit Plugin
Categories: Scripting, Development Tools, Utilities
Usage: Server development
