HomeJavaModsLuaCraft
LuaCraft
ModsJava

LuaCraft

by BorpBorp · on Modrinth

LuaCraft embeds LuaJ into Paper/Bukkit servers, providing developers with a lightweight, fast scripting layer without the complexity of full plugin…

⬇ Download on Modrinth

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

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

Project Type

Plugin Type: Paper/Bukkit Plugin

Categories: Scripting, Development Tools, Utilities

Usage: Server development

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more