Getting started
First of all
- Install Visual Studio 2019-2022 (recomended) with MSVC
- You can use Visual Studio Code or other IDE and use gcc or llvm but it's more harder
Simple way to create a project
- fork or download PluginTemplate-CPP
- open folder in your IDE
- Run
update_sdk.cmdto update SDK and header files - Run
prepare_libraries.cmdto create .lib files if cmd file doesn't work open terminal(cmd or other) inSDK\toolsdirectory and runPeEditor.exe -c -l -o ../lib - Open folder with your Bedrock Dedicated Server for Windows and select
bedrock_server.pdbfile - Now you have all required libs in
sdk\libdirectory - Now you can create your first plugin
Better way (i think) to create a project
Maybe i write it
Welcome to LiteLoaderBDS
Now you can enter to src directory and see some files
dllmain.cpp- just runner for your DLL don't touch itplugin.cpp- The main file of your pluginversion.h- Contain all credentials about your plugin
You can edit version.h file to change plugin name, author name and version
Now you can compile it and run with LiteLoaderBDS and see your first Hello, world!