{"repo":"EndstoneMC/cpp-example-plugin","free":true,"listed":false,"github":"https://github.com/EndstoneMC/cpp-example-plugin","clone":"git clone https://github.com/EndstoneMC/cpp-example-plugin.git","description":"A starter template for building Endstone plugins in C++","language":"C++","stars":10,"topics":["bedrock","bedrock-dedicated-server","cplusplus","cpp","minecraft","plugin","endstone","template","cmake"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Endstone C++ Example Plugin A starter template for building Endstone plugins in C++. Endstone is a plugin framework for Minecraft Bedrock Dedicated Server, similar to Bukkit/Spigot/Paper for Java Edition. This template demonstrates commands, events, and permissions. Use This Template 1. Click Use this template on GitHub (or fork/clone it) 2. Rename the following to match your plugin: What Where Example ------ ------- --------- Project name CMakeLists.txt project(...) project(my plugin VERSION 0.1.0 LANGUAGES CXX) Plugin version CMakeLists.txt project(... VERSION ...) 0.1.0 Plugin metadata src/plugin.cpp ENDSTONE PLUGIN(...) \"my plugin\", MY PLUGIN VERSION, MyPlugin Plugin class include/plugin.h class name MyPlugin Prefix src/plugin.cpp prefix = ... \"MyPlugin\" Permission prefix src/plugin.cpp permission names my plugin.command. 3. Update ENDSTONE API VERSION in CMakeLists.txt to the Endstone version you target 4. Delete the example command/listener code and start building Development Prerequisites Windows: Visual Studio 2019 or newer with the \"Desktop development with C++\" workload. CMake is included with Visual Studio, or install it separately from cmake.org. Linux: Clang 15+ with libc++. Install via apt.llvm.org: Building Windows: Linux: Project Structure Install on a Server After building, copy the output binary to your server's plugins/ folder: - Windows: build/Release/endstone cpp example.dll - Linux: build/endstone cpp example.so Restart the server to load the plugin. Rel","default_branch":null,"files":null,"tree":[],"storefront":"/r/EndstoneMC","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EndstoneMC/cpp-example-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}