A multi-language script plugin loader for BDS LiteLoader, based on ScriptX

Overview

LiteXLoader - 划时代 x 跨语言脚本插件加载器

GitHub license Build GitHub release (latest by date including pre-releases)

简体中文 | English

🎨 简介

LiteXLoader是一个基岩版官方服务端Bedrock Delicated Server(以下简称BDS)插件框架,提供强大的跨语言脚本插件支持能力和稳定的开发API支持。
LiteLoader插件加载器加载并提供部分基础API。
使用脚本开发BDS插件具有上手容易、代码简洁、便于维护的优点。同时脚本插件不需要随着BDS版本更新而修改代码,仅需本项目在底层适配即可,给插件开发与维护带来了很大的便利。

🎁 优势

“为什么我要选择LiteXLoader?”

  1. 跨语言插件开发支持

    • LiteXLoader的插件可以使用多种不同的脚本语言开发。自由选择你的最爱!
      同时,保证面向各种语言的接口统一

      目前已支持的插件开发语言 JavaScriptLua
      即将支持的插件开发语言 PythonRubyC#TypeScript
  2. 功能强大,设施完备

    • 提供众多的游戏API支持、游戏事件监听,为你发挥创意打好技术基础
    • 配备大量基础设施,如统一配置文件接口、统一日志接口、文件系统接口、数据库接口等等
      让你专注于业务代码实现,而非各种琐碎的技术细节
  3. 兼容性强

    • LXL支持通过Wine在Linux平台运行,给Linux平台也带来自由的插件体验
      一次编写,多平台共享
    • 仅依赖LiteLoader加载器和标准的C/C++运行时库,没有其他的额外依赖,兼容性极强
    • 兼容绝大多数其他主流插件加载器(CSR PYR等)
    • 后续版本更新时将保证 API 向后兼容,避免出现插件需要一再重写的情况。
      脚本插件不需要随版本更新而修改代码,一次编写,全版本适配。
  4. 模块化,高性能

    • 使用C++开发,底层性能优越。借助ScriptX的高效率通用接口,让脚本插件也可以做到高效运行。
    • 底层仅有一套统一的C++ API,维护和适配都比较方便,新版本适配速度快。
  5. 开源 & 永久免费

    • 项目采用GPL-3.0开源许可证,保证永远不会收费或者推出商业版。
      希望社区多多贡献力量,共同维护和建设这个项目 💕

🔨 Compiling

  1. Install newest Microsoft Visual Studio with standard C++ building suite
  2. Install the newest version of Windows SDK
  3. 打开 LiteXLoader 目录下的 LiteXLoader.sln 项目文件,点击 生成解决方案 按钮
  4. 编译生成成功之后,在同目录下 Release 文件夹中的几个DLL文件即是生成的 LiteXLoader 加载器

💻 安装

项目主要发布于MineBBS,请移步MineBBS下载

  1. 正确安装LiteLoader插件加载器
  2. 下载LiteXLoader,解压,把全部内容复制到 BDS 的plugins目录中。如果有冲突,选择覆盖即可。
  3. 开服

🎯 加载插件

  1. 将需要加载的脚本插件直接放置到plugins目录中
  2. 开服

没错,就这么简单 o( ̄▽ ̄)ブ

关于具体的安装与使用指南 ,请 👉 移步文档站 👈 查看

💡 兼容性与可扩展性

兼容旧LiteLuaRunner的大部分插件。
小部分API并未适配,仅为了方便用户而设计兼容层。
移步文档站查看详细的分析

📡 实时调试

在BDS后台控制台执行

  • jsdebug
    进入Js实时调试模式
  • luadebug
    进入Lua实时调试模式

实时调试模式下,标准输入会被当做对应类型的脚本语言执行,并实时输出结果。
如果发生错误,引擎将输出错误信息与堆栈跟踪信息。
再次输入对应的jsdebugluadebug将退出实时调试模式。



📕 开发文档

👉 移步文档站 👈 查看详细的API文档插件开发教程
如果有修订需求或者有新增API的需要,欢迎联系作者或者发布Issue

🎬 参与贡献

你可以通过下面这些方法来LiteXLoader项目出一份力

  1. 贡献代码,维护项目和符号
  2. 帮助修改和优化开发文档
  3. 按格式编写你想要的新API并提交PR,或者提出好的建议
  4. 帮助我们宣传LXL,对我们的开发给予支持

我们欢迎你对LiteXLoader做出自己的贡献!
如果你有意为LXL贡献代码,欢迎 👉 移步文档站 👈 查看 项目维护与支持文档

有你们,LiteXLoader将变得更好~

📍 许可协议声明

在使用我们的产品的时候,我们默认您已经承认并遵守了Mojang Studios EULA协议。
这意味着你不能对本项目进行任何违反EULA的商业性使用。违反EULA协议造成的一切后果由违反者自行承担。
另外,您需要遵守本项目的GPL-3.0开源许可证条款,以及下列提到的各关联项目的开源许可证条款

LiteLoader GPLv3 with extra restrictions&exceptions
ScriptX Apache License Version 2.0
BedrockX GPLv3 with extra restrictions&exceptions
ElementZero GPL v3
ChakraCore MIT License
OpenSSL Apache License Version 2.0
Minini Apache License Version 2.0
Nlohmann-Json MIT License

Extra Restrictions & Exceptions

If you provides a server hosting service,you can use this framework for free, but you SHOULD NOT make PRIVATE changes to this framework as a selling point. If you fixed or tweaked the code, please pull request, instead of making it private for commercial use.

Do not do evil.

Although we expected to build an open-source community, but forcing everything open-source will ruin this community. So you can write plugins based on LiteXLoader with ANY open-source license or even dont publish your source code. but if you modified the framework, or write a new framework based on this framework, you MUST open-source it.

🏆 鸣谢

特别鸣谢:LiteLDev 各位大佬们 和 ScriptX开发者 @LanderlYoung
在开发过程中给予了作者以非常大的支持。感谢他们! 💖 💖

📞 联系我们

LiteXLoader交流群:850517473 点击加入
LiteLoader交流群:656669024 点击加入
Telegram电报频道:#LiteLoader 点击加入
欢迎反馈崩溃和版本适配问题。务必准备好详细的情况描述,过于简略的提问将不予作答。

💕 赞助作者 💕

项目已接入爱发电 点击此处
给我们不断继续下去的动力!

You might also like...
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator framework, based on QEMU.
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator framework, based on QEMU.

Unicorn Engine Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator framework, based on QEMU. Unicorn offers some unparalleled fe

C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more

Archived cquery is no longer under development. clangd and ccls are both good replacements. cquery cquery is a highly-scalable, low-latency language s

C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more

Archived cquery is no longer under development. clangd and ccls are both good replacements. cquery cquery is a highly-scalable, low-latency language s

An extremely basic Python script to split word-based data into high and low byte files.

An extremely basic Python script to split word-based data into high and low byte files. This is for use in programming 16 bit computer ROMs.

Evasive shellcode loader for bypassing event-based injection detection (PoC)
Evasive shellcode loader for bypassing event-based injection detection (PoC)

(cleaned up version here: https://github.com/xinbailu/DripLoader-Ops) DripLoader (PoC) Evasive shellcode loader for bypassing event-based injection de

Evasive shellcode loader for bypassing event-based injection detection (PoC)
Evasive shellcode loader for bypassing event-based injection detection (PoC)

DripLoader (PoC) Evasive shellcode loader for bypassing event-based injection detection, without necessarily suppressing event collection. The project

Project Ares is a Proof of Concept (PoC) loader written in C/C++ based on the Transacted Hollowing technique

Project Ares Project Ares Injector Project Ares Injector is a Proof of Concept (PoC) loader written in C/C++ based on the Transacted Hollowing techniq

A fast multi-producer, multi-consumer lock-free concurrent queue for C++11

moodycamel::ConcurrentQueue An industrial-strength lock-free queue for C++. Note: If all you need is a single-producer, single-consumer queue, I have

Minerva: a fast and flexible tool for deep learning on multi-GPU. It provides ndarray programming interface, just like Numpy. Python bindings and C++ bindings are both available. The resulting code can be run on CPU or GPU. Multi-GPU support is very easy. A bounded multi-producer multi-consumer concurrent queue written in C++11
A bounded multi-producer multi-consumer concurrent queue written in C++11

MPMCQueue.h A bounded multi-producer multi-consumer concurrent queue written in C++11. It's battle hardened and used daily in production: In the Frost

Multi-Scale Geometric Consistency Guided and Planar Prior Assisted Multi-View Stereo

ACMMP [News] The code for ACMH is released!!! [News] The code for ACMM is released!!! [News] The code for ACMP is released!!! About This repository co

A fast multi-producer, multi-consumer lock-free concurrent queue for C++11

moodycamel::ConcurrentQueue An industrial-strength lock-free queue for C++. Note: If all you need is a single-producer, single-consumer queue, I have

A bounded multi-producer multi-consumer concurrent queue written in C++11
A bounded multi-producer multi-consumer concurrent queue written in C++11

MPMCQueue.h A bounded multi-producer multi-consumer concurrent queue written in C++11. It's battle hardened and used daily in production: In the Frost

C++11 thread safe, multi-producer, multi-consumer blocking queue, stack & priority queue class

BlockingCollection BlockingCollection is a C++11 thread safe collection class that provides the following features: Modeled after .NET BlockingCollect

an easy implementation of a multi-process tcp server and a multi-thread tcp client
an easy implementation of a multi-process tcp server and a multi-thread tcp client

一个TCP多进程服务器-多线程客户端的简单实现。 客户端类似Apache ab的测试功能,能够通过向某一个ip端口发送指定并发量和总数量的tcp短连接;服务端处理tcp短连接,每来一条消息就打印一条log。 使用cmake编译,建议在vscode里编译,或者命令行 # 终端进入目录 mkdir bu

aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line.

aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.

mini-plugin host as plugin
mini-plugin host as plugin

DISTRHO Ildaeil DISTRHO Ildaeil is mini-plugin host working as a plugin, allowing one-to-one plugin format reusage. Load a VST2 plugin inside a LV2 ho

A shebang-friendly script for "interpreting" single C99, C11, and C++ files, including rcfile support.

c99sh Basic Idea Control Files Shebang Tricks C++ C11 Credits Basic Idea A shebang-friendly script for "interpreting" single C99, C11, and C++ files,

Comments
  • Crash

    Crash

    LL v2.0.3 and LXL v0.5.10, i used a js plugin to cancel lava flow. Crash log: [Crashed!] -- Unhandled Exception in -> ntdll.dll -- Exception Code: 0xC0000374 -- Minidump generated in Directory ./logs/Crash

    [TrackBack] Function RtlIsZeroMemory at 0x7FFBBC86BD80 [ntdll.dll] [TrackBack] Function RtlIsZeroMemory at 0x7FFBBC86BD80 [ntdll.dll] [TrackBack] Function _misaligned_access at 0x7FFBBC8747F0 [ntdll.dll] [TrackBack] Function _misaligned_access at 0x7FFBBC8747F0 [ntdll.dll] [TrackBack] Function _misaligned_access at 0x7FFBBC8747F0 [ntdll.dll] [TrackBack] Function RtlGetCurrentServiceSessionId at 0x7FFBBC7875F0 [ntdll.dll] [TrackBack] Function RtlFreeHeap at 0x7FFBBC787500 [ntdll.dll] [TrackBack] Function free_base at 0x7FFBBA2D2170 [ucrtbase.dll] [TrackBack] Function operator delete at 0x7FF742545EA0 [bedrock_server_mod.exe] [TrackBack] Function OperationNode<int,Pos2d>::`vector deleting destructor' at 0x7FF741464B10 [bedrock_server_mod.exe] [TrackBack] Function BlockSource::getChunk at 0x7FF74215D3D0 [bedrock_server_mod.exe] [TrackBack] Function BlockSource::areChunksFullyLoaded at 0x7FF742152520 [bedrock_server_mod.exe] [TrackBack] Function CircuitSystem::evaluate at 0x7FF742237550 [bedrock_server_mod.exe] [TrackBack] Function Dimension::tickRedstone at 0x7FF7421C17D0 [bedrock_server_mod.exe] [TrackBack] Function ServerLevel::tick at 0x7FF7418AF1E0 [bedrock_server_mod.exe] [TrackBack] Function THookTemplate<2929696350043286095,2929696350043286095>::_hook at 0x7FFB3417A650 [LiteXLoader.Js.dll] -- At File D:\a\LiteXLoader\LiteXLoader\LiteXLoader\LiteXLoader\API\EventAPI.cpp : Line 1047 [TrackBack] Function THookTemplate<2929696350043286095,2929696350043286095>::_hook at 0x7FFB326E2080 [LiteXLoader.Lua.dll] -- At File D:\a\LiteXLoader\LiteXLoader\LiteXLoader\LiteXLoader\API\EventAPI.cpp : Line 1047 [TrackBack] Function Schedule::nextTick at 0x7FFB4B1DFC00 [LiteLoader.dll] [TrackBack] Function Minecraft::update at 0x7FF741D1B890 [bedrock_server_mod.exe] [TrackBack] Function ServerInstance::_update at 0x7FF741888E10 [bedrock_server_mod.exe] [TrackBack] Function <lambda_58543e61c869eb14b8c48d51d3fe120b>::operator() at 0x7FF741880330 [bedrock_server_mod.exe] [TrackBack] Function std::thread::_Invoke<std::tuple<<lambda_58543e61c869eb14b8c48d51d3fe120b> >,0> at 0x7FF7418685F0 [bedrock_server_mod.exe] [TrackBack] Function recalloc at 0x7FFBBA2E6BB0 [ucrtbase.dll] [TrackBack] Function BaseThreadInitThunk at 0x7FFBBC5454D0 [KERNEL32.DLL] [TrackBack] Function RtlUserThreadStart at 0x7FFBBC764830 [ntdll.dll]

    opened by PTKDrake 4
Releases(merged)
  • merged(Feb 13, 2022)

    Major Update Notice From BDS 1.18.11, the LiteXLoader project has been merged into LiteLoaderBDS project LXL becomes a sub-component of LL, and we will name the whole project as LiteLoaderBDS (LL)

    Thereafter, LiteLoaderBDS will continue to be updated as a generic & strong BDS plugin loader for C++, Go, Js, Lua and other languages All previous LXL plugins will continue to function normally under this new LiteLoaderBDS, and all existing APIs will remain unchanged

    Starting with the merged version, LXL will no longer need to be installed separately. LL will carry a complete LXL engine when it is released

    👉Click to LiteLoaderBDS project 👈

    Source code(tar.gz)
    Source code(zip)
  • v0.5.12(Jan 20, 2022)

    ====== LiteXLoader 0.5.12 update has been released ====== Adapt to the latest version of LiteLoader2.0.7 With small fix:

    • Fix the problem of getting empty squares.
    • Fix the problem of PistonPush event.
    • New onAttackBlock event
    • Sensitive behavior logging: APIs involving system calls and network access will be logged to the logs/LiteXLoader directory, for those server owners who need to check it regularly.

    【LiteXLoader更新日志】LXL0.5.12更新已发布 - 自动更新已推送 适配最新版本LiteLoader2.0.7 【修复BUG】 修复方块获取为空的问题 修复PistonPush事件的有关问题 【新功能】 新增onAttackBlock事件 新增敏感行为记录日志,涉及到系统调用和网络访问的API将会记录日志到logs/LiteXLoader目录下,供有需要查看的腐竹定期检查

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(26.03 MB)
  • v0.5.11(Jan 11, 2022)

    [LiteXLoader ChangeLog] 0.5.11 update has been released Adapted to the latest version of LiteLoader 2.0.5 The latest version of LL fixes two major vulnerabilities of BDS Please update as soon as possible to ensure server security

    [Bug fixes] Adapt to the latest version of LL2.0.5 Fix the problem of RemoveBossBar. Fix player.crash Fix the problem in Scoreboard API Fix the problem of wrong text of some hints Make some changes to the event system to improve the performance Explosion events have been improved. LLMoney has been updated to the latest version.

    Thanks for the contribution from PneuJai~


    【LiteXLoader更新日志】0.5.11更新已发布 适配最新版本LiteLoader2.0.5 最新版LL修复了BDS的两个重大漏洞,请尽快更新,以保证服务器安全

    【BUG修复】 适配最新版LL2.0.5 修复RemoveBossBar的问题 修复player.crash 修复计分板API的重大问题 修复部分提示文字错误的问题 对事件系统进行一些修改,提升运行性能 爆炸事件修改得更加完善了 LLMoney更新到了最新版

    感谢来自PneuJai同学的贡献~

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader-0.5.11.zip(9.55 MB)
  • v0.5.10(Dec 22, 2021)

    【LiteXLoader Update Log】 0.5.10 update has been released - adapt to bds1.18, all plugins automatically adapted Cross-version updates need to be downloaded manually. Please download and install the latest versions of LiteLoader and LiteXLoader

    【Adaptation 1.18】 Thanks for those of LiteLDev development group who find time out of the busy final-term period and making great contributions to the development of our projects. LiteLoader completed the thorough rewriting and systematic design, while LXL completed a lot of API adaptation, testing and inspection in tight time, with a series of major problems such as NBT memory leakage repaired

    At present, due to the intense learning pressure in the final-term period, there are not many new apis added in this update, but the adaptation of most plugins and stability test have been completed. In the coming winter vacation, there will be more interesting interfaces and functions waiting for you!

    【LiteXLoader更新日志】0.5.10更新已发布 - 适配BDS1.18,所有插件均可自动适配 跨版本更新需要手动下载,请前往群公告链接下载安装最新版LL和LXL BDS 1.17及以下不要更新!旧版BDS用不了新版LXL,不小心更新的请务必顺便把BDS和所有的加载器升到最新! 【适配1.18】 感谢LiteLDev开发组的各位同学在繁忙的期末抽出时间,为LL和LXL的发展做出了巨大的贡献。LL完成底层的彻底重写以及系统化的设计,LXL在紧张的时间中完成了大量API的适配、测试以及检验工作,修复了NBT内存泄漏等一系列重大问题 目前,由于期末季学习压力紧张,此次更新没有增加太多的新接口,不过完成了大部分插件的适配工作,以及稳定性测试。在即将到来的寒假,将有更多有趣的接口和功能等待着大家

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader0.5.10.zip(25.07 MB)
  • v0.5.8(Oct 23, 2021)

    【LiteXLoader Update Log】 0.5.8 update released

    • Adapt to 1.17.40 Done a lot of repair work for the new version changes Thank xiaoqch, doves and redbeanw for their contributions Most repairs and adaptations are done by xiaoqch

    【New Function】

    • New event: onBlockChanged
    • New APIs: isSprinting, setSprinting
    • New event: onChangeSprinting
    • Add tiledata attribute to Block class
    • mc.setblock add the parameter tiledata
    • mc.setblock added NBT parameter support
    • New API to obtain player regeneration coordinates

    【LiteXLoader更新日志】0.5.8更新已发布 BDS 1.17.40以下不要更新!旧版BDS用不了新版LXL,不小心更新的请务必顺便把BDS升到最新! 【适配1.17.40】 适配新版本,并针对新版本更改进行大量修复工作 感谢xiaoqch、dofes和redbeanw大佬的贡献 大多数修复和适配由xiaoqch完成 【新功能】 新增方块变化事件:onBlockChanged 新增疾跑相关api:isSprinting,setSprinting 新增疾跑状态事件:onChangeSprinting 方块增加tileData属性 mc.setBlock增加参数tileData mc.setBlock新增nbt参数支持

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(24.79 MB)
  • v0.5.7(Oct 5, 2021)

    【LiteXLoader Update Log】 0.5.7 has been released - Automatic update published

    【New Function】 The getDirection of the player and the entity will return the complete Euler angle data, which solves the tastelessness of the previous functions; at the same time, it is backward compatible (thanks to Redbeanw for the contribution) Increase getUniqueId function Added potions, milk, and drugs to the onEat event New events: Use of totem events, Armor stand interaction events, Effects related events (thanks to xiaoqch, dofes, Redbeanw and other big guys for their contributions) There are a lot of APIs and events in todolist, so stay tuned

    【Bug fix】 Added SEH exception protection mechanism for automatic update, and the system is more stable Fix various problems caused by NBT library error (thanks to xiaoqch for finding the BUG) Fix some problems in the internal logic of NBT to json (thanks to xiaoqch for finding the BUG) Fix the unstable situation of GetAllEntities (thanks to wzy, xiaoqch, etc.) Fix the problem of failure to obtain IP (thanks to xiaoqch's contribution) Fix the problem that mc.crash is invalid (doge) Fix the inexplicable "resource busy" problem Fix the bug that mc.setBlock will not display the block immediately Fix the problem of stop server during debugging

    【LiteXLoader更新日志】0.5.7更新已发布 - 自动更新已发布

    【新功能】 玩家和实体的getDirection将返回完整的欧拉角数据,解决了以往功能的鸡肋;同时向下兼容(感谢Redbeanw的贡献) 增加getUniqueId功能 为onEat事件增加了药水、牛奶、药物 增加使用图腾事件、和盔甲架互动事件、效果相关事件(感谢xiaoqch、dofes、Redbeanw等诸位大佬的贡献) 有大量API和事件处于todolist中,敬请期待

    【Bug修复】 为自动更新增加SEH异常保护机制,自动更新系统更加稳定了 修复NBT库错误导致的背包插件的各种问题(感谢xiaoqch发现BUG) 修复NBT转json内部逻辑出现的一些问题(感谢xiaoqch发现BUG) 修复GetAllEntities不稳定的状况(感谢wzy、xiaoqch等各位的帮助) 修复获取IP失败的问题(感谢xiaoqch的贡献) 修复mc.crash无效的问题(狗头) 修复莫名其妙的resource busy的问题 修复mc.setBlock不会立即显示方块的bug 修复debug过程中使用stop卡后台的问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(24.99 MB)
  • v0.5.6(Sep 28, 2021)

    【LiteXLoader Update Log】 0.5.6 update published - automatic update published == Thanks xiaoqch for his great contribution to LXL ==

    【New function】

    • Add the function getblockstandingon to get the currently standing box
    • The onopencontainer event is extended to all containers and can be intercepted directly in this event

    【Bug Repair】

    • Fix the bug that reading some data stored in K-V database failed
    • Fix reload crash caused by new constructor mechanism
    • Fix avgping data error
    • Fix the problem that oncontainerchange is triggered when it should not be triggered
    • Fix the problem that the block entity data is not refreshed after saving
    • Fix the problem that getallentities cannot be used Several problems in repairing event system
    • Fix getfeetblockpos
    • Fix player UUID error
    • Fix getavgpacketping
    • Fix the problem of wrong coordinate of command block harvester and add parameters to the event

    【LiteXLoader更新日志】0.5.6更新已发布 - 自动更新已发布 == 感谢xiaoqch大佬对LXL的巨大贡献 ==

    【新功能】 增加函数getBlockStandingOn获取当前站立的方块 将onOpenContainer事件扩展到所有容器,并且可以直接用此事件拦截

    【BUG修复】 修复K-V数据库储存部分数据读取失败的bug 修复新的constructor机制造成的reload崩溃 修复AvgPing数据错误的问题 修复onContainerChange在不该触发的时候触发的问题 修复方块实体数据保存之后没有刷新的问题 修复getAllEntities无法使用的问题 修复事件系统中存在的几个问题 修复getFeetBlockPos 修复玩家UUID错误 修复getAvgPacketPing 修复命令方块矿车坐标错误的问题,为事件增加参数

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(24.75 MB)
  • v0.5.5(Sep 23, 2021)

    【LiteXLoader Update Log】 0.5.5 update has been released - Adapt to BDS 1.17.30

    Tips: Cross-version BDS upgrade requires manual download of LXL installation package and update manually, automatic update will not upgrade across different BDS versions thus to prevent the incompatibility of the old version of the server from problems

    【New Function】

    • Preliminary adaptation to BDS 1.17.30, if there are any undiscovered problems, please report to us immediately (Thanks to the contributions of gx and xiaoqch )

    • Upgrade the built-in LLMoney to support 1.17.30

    • Added economic system related events and tick events. Please refer to the document for details of the update content

    • setBlock uses standard type names instead

    • base64 encoding and decoding interface

    • mc.getAllEntities() completed (thanks to WZY for his contribution)

    • Various construction methods are changed to native constructions, such as File, WSClient, JsonConfigFile, etc. Use the new NBT architecture. Please refer to the document for more information

    • Some reconstruction, a little improvement in performance 【BUG repair】

    • Fix the problems in the binary NBT and toSNBT (thanks to the contribution of xiaoqch)

    • Fix the crash problem that may occur in the automatic update

    【LiteXLoader更新日志】0.5.5更新已发布 - 适配BDS 1.17.30 注意:跨版本BDS升级需要手动下载LXL安装包更新,自动更新不会跨BDS版本升级 以防止旧版服务端不兼容而发生问题 【新功能】 初步适配BDS 1.17.30,如果有未发现的问题请立刻报告 (感谢gx、xiaoqch大佬的贡献 awa) 升级内置LLMoney,支持1.17.30 增加经济系统相关事件、tick事件,具体更新内容详见文档 setBlock改为使用标准类型名 base64编码解码接口 mc.getAllEntities()完工 (感谢wzy大佬的贡献) 多种类的构造方式改为原生构造,如File,WSClient,JsonConfigFile等等;使用新的NBT架构。具体各项更改请参考文档实际内容 小规模重构,对性能有小规模提升 【BUG修复】 修复二进制NBT和toSNBT中存在的问题(感谢xiaoqch大佬的贡献) 修复自动更新可能出现的崩溃问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(24.73 MB)
  • v0.5.4(Sep 7, 2021)

    【Version Description】 The next version Version 0.6 will have many major changes and new content, and the development time is expected to be longer The maintenance and BUG repair of the 0.5 series will continue for a period of time. Look forward to the new features you want! 【New Function】 Added pl.talkAs to simulate player speaking, which is convenient for docking with regular chat robots 【Bug fix】 Enhanced flush performance, use asynchronous flush buffer Fixed major issues in the automatic update system

    【版本说明】 下版本Version0.6将有诸多重大更改与新内容,预计开发周期较长 0.5系列的维护和BUG修复将持续一段时间。尽情期待你们想要的新特性吧! 【新功能】 增加了pl.talkAs模拟玩家说话,便于对接使用正则的聊天机器人 【Bug修复】 强化了flush性能,使用异步刷新缓冲 修复了自动更新系统中存在的重大问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(23.54 MB)
  • v0.5.3(Sep 4, 2021)

    【New Function】 ==BaseLib library adds CJS support== From then on, LXL's Js plugins will be able to use node-like require interface for sub-module design, and even support the use of some npm packages that do not use node api! (Thanks to callexceeded for the contribution) Add fastlog asynchronous write console API Add absolutePath to obtain the absolute path of the file API 【BUG Repair】 Fix some problems in the document Fix the problem that WriteMode cannot open files Fix some problems that the asynchronous file API does not work properly Fix the problem that the entity gets the incorrect name content Fix the issue of clearInterval error

    【新功能】 ==BaseLib基础库新增CJS系统支持== 从此LXL的Js插件将可以使用类似node的require接口进行分模块设计,甚至支持使用某些不使用node api的npm包! (感谢callexceeded大佬的贡献) 增加fastlog异步写入控制台API 增加absolutePath获取文件绝对路径的API 【BUG修复】 修复文档中存在的一些问题 修复WriteMode无法打开文件的问题 修复异步文件API有些无法正常工作的问题 修复实体获取name内容不正确的问题 修复clearInterval报错的问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(23.45 MB)
  • v0.5.2(Aug 30, 2021)

    【新功能】 完成了文件异步读写API,性能得到进一步提升 强化了SEH异常处理保护,稳定性得到了进一步提升 容器类新增setItem方便函数,新增了getType接口 配置文件新增了init方便接口 【BUG修复】 修复文档中的各种问题 修复rename玩家没有刷新的问题 修复websocket断开连接导致崩服的问题 修复热重载不触发onPreJoin的问题 修复新计分板接口崩服/不工作的问题 修复Value转Json过程中碰到Null发生的小问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(23.40 MB)
  • v0.5.1(Aug 27, 2021)

    【新功能】 增加了格式化符号帮助功能,再也不用手打分节符和查表填空辣! 新增了生物的refreshItems 详见文档 【BUG修复】 修复pl系列计分板接口无法工作的问题 修复WebSocket崩溃的问题 修复SNBT转NBT格式错误的问题 修复实体获取type崩溃的问题 修复UnlockCmd开关无效的问题 修复玩家type错误的问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(21.53 MB)
  • v0.5.0(Aug 26, 2021)

    【新功能】👇 【方块实体!】真正自由地控制每一个方块的所有属性 【计分板!】感谢JasonZYT同学贡献的完整的计分板API 【SNBT!】享受和JE一样的NBT自由 【文件类和WebSocket!】你要的二进制文件读写,还有WebSocket isPlayer修改后速度远快于遍历玩家 捡起物品事件修改了回调参数,改为捡起的物品对象 爆炸、玩家死亡、点击方块事件新增了回调参数 增加液体流动事件 远程引擎调用现在也有报错信息提示啦 所有回调均使用线程池,性能得到提升 增加了其他一些玩家、物品的API和属性,如制造伤害、刷新区块、设置特殊值等 具体详见文档

    【BUG修复】 【侧边栏API终于得到了修复!】 现在玩家不移动时onMove事件不再会不停触发 修改了依赖库的加载方式,避免重复加载的发生 修复了pl.runcmd自动过滤/的问题 修复了远程引擎调用中的一个崩溃问题 修复重力方块掉落引发的崩服 修复自动更新检查版本号存在的问题 修复配置文件关闭时刷新的问题 修复addon生物获取type错误的问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(21.38 MB)
  • v0.4.5(Aug 16, 2021)

    【写入实体NBT!】 实体、玩家NBT终于也可以写入啦! 更强大的自定义能力,你还在等什么? ==== 感谢WZY大佬提供的指导和帮助 ==== 【全新自动更新系统】 放弃CDN机制,采用新的全球加速技术,保证无缓存准时获取更新 从0.4.5开始,后续版本自动更新的体验将大为提升 【新功能】 强化插件发生错误时的错误输出!更方便地定位问题所在 现在传参时FloatPos和IntPos可以通用了 现在getPlayer可以模糊搜索玩家名了(感谢TungstenVn的贡献) 新增方便函数hasTag,新增实体玩家属性.blockPos 内置UnlockCmd可以通过配置文件设置开关了 【BUG修复】 onServerStarted现在调用API不会失败了(植入tick) 修复文档中的各种小问题 修复方块API检查参数错误的问题 修复NBT错误提示过多的问题 修复NBT销毁崩服的问题 修复玩家进服时多调用事件的问题 修复clearItem计数问题 修复CreateTag返回类型错误的问题 修复DB成员方法缺少的问题 修复addTag检查参数错误的问题 修复refreshItems未刷新盔甲栏的问题 修复重生锚参数错误的问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(19.10 MB)
  • v0.4.3(Aug 11, 2021)

    【bug修复】 修复自动更新容易延迟时间较长的问题 修复llmoney的getHistory存在的小问题 修复获取玩家ID和type错误的问题(更推荐使用isPlayer) 修复changedim会不停刷的问题 修复NBT部分错误提示不正确的问题 彻底修复lxl unload的空全局引用问题 现在require import export可以完全正常使用了(同语言,跨语言) 网络与进程回调执行植入tick,稳定性++ 事件系统全部启用SEH崩溃保护,稳定性++

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader.zip(17.90 MB)
  • v0.4.2.2(Aug 9, 2021)

  • v0.4.2(Aug 9, 2021)

  • 0.4.1(Aug 9, 2021)

    【功能增加】 使用lxl update主动检查自动更新 【bug修复】 修复requireVersion返回信息错误的问题 修复container size不存在的问题 修复container操作崩服的问题 修复has/getContainer漏加的问题 修复某些NBT内存泄漏的问题

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader0.4.1.zip(17.86 MB)
  • 0.4.0(Aug 7, 2021)

    【LiteXLoader更新日志】0.4.0更新已发布 - 自动更新已推送,重启服务器即可自动升级到0.4.0 【大量API增加】增加容器类以及物品类大量API 如今可以方便的操作物品和各种容器啦!具体API详见文档说明 可以自由操作箱子、背包、甚至羊驼箱子等众多容器对象,并支持直接根据数据生成物品 增加玩家、生物一些方便API,从NBT中解析数据变得更加容易 可以彩色打印文字啦 【生物、掉落物生成支持】 直接使用代码生成生物和掉落物!将有更多技术进展在未来逐步发布 详见文档相关的API说明 【事件变更】 详见文档 - 重大更改页面 增删部分事件,事件系统更加科学分布 【BUG修复】 修复NBT ByteArray系列tag 修复INI配置文件整数类型的bug 修复onPlaceBlock无法拦截的问题 修复热加载onJoin事件传参错误的问题,增加卸载自动onLeft 修复getAllTags系列问题 修复经济系统getHistory函数 LXL系列命令运行结束后不再出现命令不存在的提示

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader0.4.0.zip(17.79 MB)
  • 0.3.2(Aug 4, 2021)

    【新增加载器自动更新功能】 从此做甩手掌柜!0.3.2起,在BDS版本不变的情况下,LXL更新将自动推送并安装。 第一时间自动获取修复和API更新! 【热重载完全修复】 彻底解决引擎无法销毁的问题。从此热重载可以彻底正常工作,包括数据库在内的所有接口都已经支持热重载 对开发者而言极大利好 【BUG修复】 热加载之后会重新触发onPlayerJoin事件了 修复命令方块执行事件没有维度信息的问题 【接口增加】 增加部分文件API、TagAPI和hash接口,具体详见文档

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader0.3.2.zip(17.34 MB)
  • 0.3.1(Aug 2, 2021)

  • 0.3.0(Aug 1, 2021)

    【LiteXLoader0.3.0重大更新】请尽快升级到新版本LXL 同时也感谢RedbeanW同学的强大支持与合作! 更新日志如下: 【API更新】增加 NBT系列API、计分板系列API、设备信息系列API,增加众多其他API接口,具体详见文档说明 【事件更新】新增事件:玩家死亡、凋灵破坏、使用展示框、扔鱼钩、踩踏压力板、玩家骑乘、打开容器显示页面、计分板改变、玩家物品栏变化、弹射物击中实体、发生红石更新、穿戴装备 【重大更新】修复Lua底层引擎的重大算法问题 【修复BUG】修复onMobHurt onMobDie onMove onExplode onCmd事件错误,修复多处崩服异常,修复bossbar,增加callback运行时错误反馈 附带LLMoney,解决报错问题;附带PDB,提供更好错误提示 自动更新检测 小范围重构项目,工作效率++,运行效率++

    Source code(tar.gz)
    Source code(zip)
    LiteXLoader0.3.0.zip(16.31 MB)
  • 0.2.1-hotfix2(Jul 26, 2021)

  • 0.2.1-hotfix1(Jul 25, 2021)

  • 0.2.1(Jul 24, 2021)

Owner
LiteLoaderBDS Developers
LiteLoaderBDS Developers
A tool for generating cross-language type declarations and interface bindings.

Djinni Djinni is a tool for generating cross-language type declarations and interface bindings. It's designed to connect C++ with either Java or Objec

Dropbox 2.8k Jan 3, 2023
Kuroko - A bytecode-compiled scripting language

Kuroko - A bytecode-compiled scripting language Kuroko is a bytecode-compiled, dynamic, interpreted programming language with familiar Python-like syn

Kuroko 325 Dec 29, 2022
A minimalist and mundane scripting language.

Drift Script A minimalist and mundane scripting language. I like all simple things, simple and beautiful, simple and strong. I know that all developme

Drift 12 Nov 14, 2022
A interpreter that runs the script which is programmed in the language of FF0 script (or you can call it as Warfarin)

ff0-script A interpreter that runs the script which is programmed in the language of FF0 script (or you can call it as Warfarin) You can do it, unders

null 24 Apr 27, 2022
A python script loader for Grand Theft Auto San Andreas

PyLoader Introduction This is a .asi plugin that allows writing custom Python scripts for GTA SanAndreas. This plugin is still in the early stages of

Grinch_ 25 Nov 28, 2022
Multi-dimensional dynamically distorted staggered multi-bandpass LV2 plugin

B.Angr A multi-dimensional dynamicly distorted staggered multi-bandpass LV2 plugin, for extreme soundmangling. Based on Airwindows XRegion. Key featur

null 21 Nov 7, 2022
A new JS script plugin for flutter

js_script Run JS script. Usage // Create a JS context. JsScript script = JsScript(); // Define a class. var classInfo = ClassInfo<TestClass>( newI

null 5 Mar 8, 2022
A lightweight Bedorck Dedicated Server Plugin Loader

LiteLoader 简体中文 A lightweight Bedorck Dedicated Server Plugin Loader Based on BedrockX Install Download LiteLoader from Releases or Actions, unzip it

null 572 Dec 31, 2022
A lightweight plugin loader for Bedorck Dedicated Server

LiteLoader 简体中文 Donate us(afdian) Forum A lightweight Bedorck Dedicated Server Plugin Loader Based on BedrockX Install Download LiteLoader from Releas

null 574 Jan 2, 2023
Simple and easy script language for your dead brain, or break time of you.

What is this trush? Shut up, this isnt a trush. Lol This is a easy and simple script language. Change the world. Rotation the world. BIG REVOLUTION OF

zkr 6 May 28, 2021