EndstoneMC / endstone

Endstone - High-level Plugin API for Bedrock Dedicated Servers

Home Page:https://endstone.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

Endstone

Write your plugins in Python and C++ for Bedrock Dedicated Servers.

Windows Linux Wheel Docker Documentation Minecraft - Version PyPI - Version PyPI - Downloads Python GitHub License Codacy Badge Code style: black Discord

πŸ“„ Table of Contents

πŸ“– Introduction πŸ”

We are excited to announce the Endstone project. Endstone offers a plugin API for Bedrock Dedicated Servers, supporting both Python and C++ languages. This allows developers to enhance Bedrock Dedicated Servers with various features and functionalities.

🎯 Features πŸ”

  • Cross-platform: We have dedicated efforts to support both Windows and Linux. Proudly, we are the only BDS-based server software sporting native support for both platforms without the need for an emulator.
  • Feature-rich: All up-to-date Minecraft features are at your fingertips! We make sure to keep Endstone aligned with the latest game updates.
  • Hassle-free: Ready to use right out of the box. Start the Endstone server with just one line of command. No extra tools required.
  • High-level API: We provide a high-level friendly API akin to Bukkit plugin developers. Save yourself the hassle of dealing with the dot-and-cross of the low-level system API and hooks, we've done the difficult part for you!
  • Starter-friendly: No C++ knowledge? No problem! Craft your plugins using Python, your favourite.
  • Performance-in-mind: For the performance savants, you can, of course, write (or rewrite) your plugins in C++ to squeeze out every bit of performance.

πŸ› οΈ Get started πŸ”

Before getting started, verify that you are using one of the following compatible operating systems:

  • Windows 10 version 10.0.15063 or later
  • Windows Server 2016 or later
  • Debian 11 or later
  • Ubuntu 20.04 or later

Please also ensure you have Python 3.9 or higher installed on your system.

There are several ways to install Endstone:

🐍 PyPi

Endstone can be installed directly from PyPi using pip. Open your terminal and execute the following command to install and start the Endstone server:

pip install endstone
endstone

🐳 Docker

To try Endstone from the latest Docker image, use the following command:

docker pull endstone/endstone
docker run --rm -it -p 19132:19132/udp endstone/endstone

This will pull the latest Endstone image and run it interactively in your terminal.

πŸ•‹ Docker Compose

You can also use Docker Compose to run Endstone in a production environment.

docker compose build
docker compose up -d
docker attach endstone

πŸ”¨ Build locally from Source

For advanced users, you may build Endstone locally from the source.

Please note that building from source requires toolchains to be installed on your system.

Windows Linux
Build System CMake CMake
Generator Ninja Ninja
C/C++ Compiler (Recommended) MSVC 193 (Visual Studio 2022) Clang 15
C/C++ Compiler (Minimum) MSVC 191 (Visual Studio 2017) Clang 5
Standard Library MSVC STL libc++
Click to toggle the detailed instructions

First, clone the repository:

git clone https://github.com/EndstoneMC/endstone.git
cd endstone

The Endstone project uses Conan as the package manager. The next step will involve the installation of conan and dependencies.

pip install conan
conan export third_party/funchook --version 1.1.3
conan install . --build=missing -s compiler.cppstd=17 -c tools.cmake.cmaketoolchain:generator=Ninja

Finally, you can build the wheel and install it on your local machine:

pip install .
endstone

🌟 Plugins πŸ”

Currently, the Endstone project is under active development, and we invite you to review our roadmap. While you wait, why not take a sneaky peek of our example plugins which illustrate the friendliness of the plugin API. If you have previous experience with Bukkit, you should find the API particularly intuitive to work with:

Milestone Duration Core C++ API Python API Since
πŸ”Œ Plugin Loader 1-2 months βœ… βœ… βœ… v0.1.0
⌨️ Command System 2-3 months βœ… βœ… βœ… v0.2.0
πŸ” Permission System 2-3 months βœ… βœ… βœ… v0.3.0
🎈 Event System 2-3 months βœ… βœ… βœ… v0.4.0
πŸ›  Minecraft Core Features 4-5 months ⏳ ⏳ ⏳
πŸ–Ό GUI & Inventory System 3-4 months ⏳ ⏳ ⏳
🌟 Advanced Features & Refinements 4-6 months ⏳ ⏳ ⏳
πŸ§ͺ Beta Testing & Community Feedback 3 months ⏳ ⏳ ⏳
πŸš€ Official Release & Support - ⏳ ⏳ ⏳

Here's a legend to guide you:

  • βœ…: Task is completed. Woohoo! πŸŽ‰
  • 🚧: Task is under way. We're on it! πŸ’ͺ
  • ⏳: Task is up next. Exciting things are coming! 🌠

πŸ™Œ Contributing πŸ”

We warmly welcome contributions to the Endstone project! If you're enthusiastic about enhancing Bedrock Dedicated Servers with Python and C++ and have ideas on how to improve Endstone, here are a few ways you can contribute:

Reporting Bugs

If you encounter any bugs while using Endstone, please open an issue in our GitHub repository. Ensure to include a detailed description of the bug and steps to reproduce it.

Submitting a Pull Request

We appreciate code contributions. If you've fixed a bug or implemented a new feature, please submit a pull request! Please ensure your code follows our coding standards and include tests where possible.

🎫 License πŸ”

The Endstone project is licensed under the Apache-2.0 license.

About

Endstone - High-level Plugin API for Bedrock Dedicated Servers

https://endstone.readthedocs.io

License:Apache License 2.0


Languages

Language:C++ 85.0%Language:Python 10.3%Language:C 3.7%Language:CMake 0.7%Language:Dockerfile 0.3%Language:Batchfile 0.0%