
LuaMine
A lightweight Lua scripting engine
Оцените первым
49
0
49
0
Список изменений
v1.3-Beta
Added
- Fluent command builder:
mc.command(name):execute():description():usage():tabComplete():permission():register()— adds tab-completion and permission-gated commands without growingregisterCommand's argument list.mc.registerCommand(...)still works unchanged for simple cases. require("json")— encode/decode Lua tables to/from JSON, plusjson.save(name, table)/json.load(name)for persisting data toplugins/LuaMine/config/.- World interaction:
mc.setBlock(x, y, z, type),mc.getBlock(x, y, z),mc.spawnEntity(type, x, y, z). player:giveItem(item, amount),player:hasItem(item, amount).mc.hasPermission(sender, node).- New events:
onPlayerDeath,onPlayerRespawn,onPlayerQuit,onBlockPlace,onEntityDeath,onInventoryClick(supportsreturn "cancel"likeonChat).
Known limitation
- A command registered via
mc.command()/registerCommandkeeps tab-completing its name and showing up in/helpfor the rest of the server session, even after a script stops defining it — it just reports itself as unavailable if actually run. This is an intentional trade-off for reliable command updates on Paper.
Файлы
luamine-1.3-Beta.jar(418.55 KiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
1.3-Beta
Загрузчики
Spigot
Версии игры
1.21.11
Загрузок
5
Дата публикации
12.08.2026
