QQ Group: 656669024 QQ Group
2: 850517473
LiteLoaderBDS
is an unofficial plugin loader that provides basic API support for Bedrock Dedicated Server
, with a
massive API, lots of packed utility interfaces, a rich event system and powerful basic interface support.
LiteLoader
provides a massive API, a powerful event system and a large number of encapsulated development
infrastructure interfaces, providing a solid foundation for extending the Bedrock Edition BDS with more gameplay and
functionality. With plugins, it is easy to extend the functionality of BDS, the associated development is easy to learn,
and the development approach is flexible.
Writing plugins in C++, JavaScript, Lua, C# and other languages, which allows developers to easily extend and customize BDS functionality, making it easy to learn and extremely flexible.
“Why should I choose LiteLoader?”
They have interface that is easy to use and intuitive!!
// Template project: https://github.com/LiteLDev/PluginTemplate
// More examples: https://github.com/LiteLDev/LiteLoaderPlugins
#include <llapi/EventAPI.h>
#include <llapi/LoggerAPI.h>
#include <llapi/LLAPI.h>
#include <llapi/mc/Actor.hpp>
#include <llapi/mc/Player.hpp>
Logger logger("AttackLog");
void PluginInit() {
logger.info("Plugin xxx has been loaded.");
// Subscribe Player-Attack Event
Event::PlayerAttackEvent::subscribe([](const Event::PlayerAttackEvent& ev) {
Player* player = ev.mPlayer;
Actor* actor = ev.mTarget;
logger.info("Player:{} attacks {} | at {} in Dimension {}",
player->getRealName(), actor->getTypeName(),
actor->getPos().toString(), std::to_string(actor->getDimensionId())
);
return true;
});
}
// Register for shutdown command
mc.listen("onServerStarted", () => {
const cmd = mc.newCommand("stopsvr", "close server");
cmd.overload();
cmd.setCallback((_cmd, ori, out, _res) => {
out.success("stop command executed successfully");
mc.broadcast(
`${ori.player.realName} executed the stop command. The server will be shutdown after 5 seconds`
);
// Execute stop command
setTimeout(() => mc.runcmd("stop"), 5000);
});
cmd.setup();
});
Supported languages |
C++ , JavaScript(NodeJs) , Lua , .NET
|
---|---|
Upcoming supported languages |
Python , Ruby , TypeScript , Go
|
📕 Smooth development experience with great compatibility
BDS
classes and functions, full toolchain support and evolving
featuresLiteLoader
series' unique symbol lookup technology,
cross-version auto-adaptation is no longer a dream📋 Well documented and explained in detail
🎈 Numerous well-packaged interfaces
🛡 Secure, stable and versatile
🏆 Sound app ecosystem
🏃 Open Source & Community Building
LGPL-3.0
open source license and will never be charged for or released as
a commercial version.LiteLoader-version.zip
from Releases
or Actions,bedrock_server.exe
. If you are prompted with conflicting files during the
decompression process, just select Overwrite
.bedrock_server.pdb
file exists.
Run LLPeEditor.exe
to generate the BDS with the exported symbols (bedrock_server_mod.exe
)Press any key to continue . . .
, press any key to close the windowbedrock_server_mod.exe
and enjoy it!We do not recommend you to use Wine due to BDS 1.19.20+ on Wine has a performance problem
wget https://github.com/LiteLDev/LiteLoaderBDS/raw/develop/scripts/install.sh && sh install.sh
LiteLoader
main plugin distribution channels.
plugins
directorybedrock_server_mod.exe
to start the serviceFor more installation and usage guides, come to 👉LiteLoader documentation 👈 to view
For plugins development examples and guidance, please come to
👉LiteLoader documentation👈
If you have a revision request or need to add an API, please contact the author or post an Issue
Please come to 👉LiteLoader documentation👈 for detailed API documentation and plugin development tutorial. If you have a revision request or need to add an API, please feel free to contact the author or post an Issue
Click here for more open source LiteLoader plugins as sample plugins. You can use them directly in production environments You can also learn plugin development methods and tips here
Use the LiteLoader development helper plugin developed by Moxicat
Helps you do better with script plugins!
Code hint, auto-completion, auto-documentation, error alert, runtime debugging and so on
Click here
View more description and introduction of this extension
VSCode extension store search LLScriptHelper
, install LLScriptHelper and experience it instantly!
No programming foundation? Tired of complex language rules?
Have you ever thought that BDS plug-in development could be as easy as a puzzle?
Here it is! The Blockly-LXL graphical development kit from pa733 takes the plugin development experience to a new level!
Click here View related installation and usage instructions
Go to
GitHub Actions
to get the latest build artifactOf course, if you prefer to build the project yourself, or contribute code to LiteLoader, you can build the project yourself by following these instructions
PackRelease.cmd
script in the
Scripts folder.RELEASE
folder in the root directory will be the complete LiteLoader
environment and all dependencies.PackReleaseWithPDB.cmd
script, and the RELEASE
folder
will be filled with all necessary debugging symbols for easy debuggingIt's highly appreciated if you're interested in developing this project and follow the method to contribute to the LiteLoaderBDS project
LiteLoaderBDS
project to support our development⭐⭐⭐We welcome your contributions to LiteLoader!⭐⭐⭐
If you are interested in contributing to LiteLoaderBDS, feel free to come to 👉LiteLoader documentation👈 to view Project Maintenance and Support Documentation
Project | License |
---|---|
LiteLoader | LGPLv3 |
ScriptX | Apache License Version 2.0 |
OpenSSL | Apache-2.0 License |
SimpleIni | MIT License |
Nlohmann-Json | MIT License |
nbt-cpp | MIT License |
ThreadPool | Zlib License |
LightWebSocketClient | MIT License |
magic_enum | MIT License |
dyncall | ISC License |
vcproxy | MIT License |
RawPDB | BSD 2-Clause License |
SQLiteCpp | MIT License |
compact_enc_det | Apache-2.0 License |
detours | MIT License |
httplib | MIT License |
magic_enum | MIT License |
entt | MIT License |
fmt | License |
gsl | MIT License |
leveldb | BSD-3-Clause License |
parallel-hashmap | Apache-2.0 License |
Base64 | MIT License |
EldenRingMods | MIT License |
If you provide a server hosting service,you can use this framework for free, but you SHOULD NOT make PRIVATE changes to this framework or as a selling point. If you fixed or tweaked the code, please pull request, instead of making it private or using it for commercial propose.
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 LiteLoader
with ANY open-source license or even do not publish your source code. but if
you modified the framework, or write a new framework based on this framework, you MUST open-source it.
If you want to reproduce and distribute this framework, you have to get our authorization!
@ShrBox | @dreamguxiang | @WangYneos | @wzy | @xiaoqch | @yqs112358 | @Sysca11 | @RimuruChan |
Thanks to JetBrains for allocating free open-source licences for IDEs such
as CLion.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.