[Native Lua Engine][LuaJIT][Lua54] LuaInMinecraftBukkit II icon

[Native Lua Engine][LuaJIT][Lua54] LuaInMinecraftBukkit II -----

Run Lua Script In Your Server! Wanna LuaJIT? FFI? Lua54? No problem!




Updated native files, need upgrade your native library and upgrade your natives.json file.

Changes:
  • Add native module manager, you can enable/disable module in config.json
  • A new Lua environment type for plugin interact.
  • Allow load shared library(*.so/*.dylib/*.dll) file from `luaLibraries` directory
  • Add cffi module, allow use ffi in lua51~lua54
  • Add jni-bridge module(half, linux only now), allow cpp code interact with bukkit server.
  • Allow async load lua script.
  • Allow load network library by `require` method in Lua side.
----------, Jul 14, 2025

Updated native files, need upgrade your native library.

Upgrade luajava
- Fix failed to index java class method.
- Fix the segment error when call java class static method.
- add pushJavaClass method for easier call java class static method or field.
----------, Jul 5, 2025

Updated native files, need upgrade your native library.

If you upgrade from dev version, you need deleted natives folder and let the plugin download the newest native libraries.

Main Changes:
+ add `luajava.class2Obj()` function for lua side. Then you can use java reflect in lua side.
+ allow lua side access java instance's private/protected method or field.
+ fix CommandBuilder and EventListenerBuilder issue.
----------, Jul 4, 2025

fix 1.21.5 cannot register event listener
----------, Jun 29, 2025

Fix reload command logical and add bStats.
config.json file is changed, but previous config file also can use.

bstats website:
https://bstats.org/plugin/bukkit/LuaInMinecraftBukkitII/26298
----------, Jun 28, 2025

Config.json file is changed.
Code (Text):
{
  // project resource base url
  "projectUrl": "https://raw.githubusercontent.com/SmileYik/LuaInMinecraftBukkitII/refs/heads/gh-page",
  // lua version
  "luaVersion": "lua-5.4.8",
  // always check native library hashes
  "alwaysCheckHashes": false,
  // enable debug
  "debug": false,
  // lua 环境
  "luaState": {
    // lua 环境 id
    "default": {
      // 该环境运行在哪个目录下, "/" 代表插件目录下的luastate目录.
      "rootDir": "/",
      // 是否忽略访问限制, 忽略访问限制时可以强制访问java中的私有方法.
      "ignoreAccessLimit": false,
      // 初始化脚本列表, 下面填脚本名, 并且脚本文件得在rootDir中寻找的到.
      "initialization": [
        {
          "file": "test.lua",
          "autoReload": false,
          // depends plugin name
          "depends": []
        }
      ]
    }
  }
}
----------, Jun 28, 2025

Resource Information
Author:
----------
Total Downloads: 159
First Release: Jun 26, 2025
Last Update: Jul 14, 2025
Category: ---------------
All-Time Rating:
0 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings