LuaCraft 图标

LuaCraft

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.2.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/officialluacraft
资源信息

Minecraft 版本: 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper purpur

标签: management optimization utility

资源介绍

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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Simply Optimized Port

价格:0 墨喵币
下载量:0

查看详情
Eren's Better Loots

价格:0 墨喵币
下载量:0

查看详情
BananaafruitHomes

价格:0 墨喵币
下载量:0

查看详情
Floating Candles

价格:0 墨喵币
下载量:0

查看详情