Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/endstonemc/endstone

Endstone - High-level Plugin API for Modding Bedrock Dedicated Servers (BDS), in both Python and C++.
https://github.com/endstonemc/endstone

bds bedrock bedrock-dedicated-server bedrock-server bedrock-server-mod bukkit cpp docker endstone mcpe minecraft nukkit plugin python spigot

Last synced: 8 days ago
JSON representation

Endstone - High-level Plugin API for Modding Bedrock Dedicated Servers (BDS), in both Python and C++.

Awesome Lists containing this project

README

        





Logo

Endstone


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

[![Windows](https://github.com/EndstoneMC/endstone/actions/workflows/windows.yml/badge.svg)](https://github.com/EndstoneMC/endstone/actions/workflows/windows.yml)
[![Linux](https://github.com/EndstoneMC/endstone/actions/workflows/linux.yml/badge.svg)](https://github.com/EndstoneMC/endstone/actions/workflows/linux.yml)
[![Documentation](https://github.com/EndstoneMC/endstone/actions/workflows/docs.yml/badge.svg)](https://endstone.dev/)
[![Minecraft - Version](https://img.shields.io/badge/minecraft-v1.21.41_(Bedrock)-black)](https://feedback.minecraft.net/hc/en-us/articles/31222183227149-Minecraft-Bedrock-Edition-1-21-40-Bundles-of-Bravery)
[![PyPI - Version](https://img.shields.io/pypi/v/endstone)](https://pypi.org/project/endstone)
[![Python](https://img.shields.io/pypi/pyversions/endstone?logo=python&logoColor=white)](https://www.python.org/)
[![GitHub License](https://img.shields.io/github/license/endstonemc/endstone)](LICENSE)
[![Codacy Badge](https://img.shields.io/codacy/grade/8877402fc70b40f5a8c4b325d890e3f7?logo=codacy)](https://app.codacy.com/gh/EndstoneMC/endstone/dashboard)
[![Code style: black](https://img.shields.io/badge/code_style-black-000000.svg)](https://github.com/psf/black)
[![Discord](https://img.shields.io/discord/1230982180742631457?logo=discord&logoColor=white&color=5865F2)](https://discord.gg/xxgPuc2XN9)
[![Ko-Fi](https://img.shields.io/badge/Buy_Me_a_Coffee-f37574?logo=kofi&logoColor=white)](https://ko-fi.com/EndstoneMC)

## 📄 Table of Contents

- [📖 Introduction](#-introduction-)
- [🎯 Features](#-features-)
- [🛠️ Get started](#%EF%B8%8F-get-started-)
- [🌟 Plugins](#-plugins-)
- [🙌 Contributing](#-contributing-)
- [🎫 License](#-license-)

## 📖 Introduction [🔝](#-table-of-contents)

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.

🏆 **This project is proudly sponsored by [Bisect Hosting](https://bisecthosting.com/endstone).**
[![Bisect Hosting](docs/assets/bisecthosting-banner.webp)](https://bisecthosting.com/endstone)

## 🎯 Features [🔝](#-table-of-contents)

- **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 [🔝](#-table-of-contents)

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

[![Wheel](https://github.com/EndstoneMC/endstone/actions/workflows/wheel.yml/badge.svg)](https://github.com/EndstoneMC/endstone/actions/workflows/wheel.yml)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/endstone)](https://pypi.org/project/endstone)

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

```shell
pip install endstone
endstone
```

### 🐧 Linux

Endstone can be easily installed on Linux using an autoinstaller script.

#### Supported Operating Systems

The autoinstaller supports the following operating systems and distributions based on them:

- Ubuntu
- Debian
- Fedora
- Arch Linux

#### Download the Installer

You can use either `wget` or `curl` to download the required scripts.

**Using `wget`:**

```shell
wget https://raw.githubusercontent.com/EndstoneMC/endstone/main/scripts/autoinstall.sh
sudo chmod +x autoinstall.sh
wget https://raw.githubusercontent.com/EndstoneMC/endstone/main/scripts/start.sh
sudo chmod +x start.sh
```

**Using `curl`:**

```shell
curl -O https://raw.githubusercontent.com/EndstoneMC/endstone/main/scripts/autoinstall.sh
sudo chmod +x autoinstall.sh
curl -O https://raw.githubusercontent.com/EndstoneMC/endstone/main/scripts/start.sh
sudo chmod +x start.sh
```

#### Install and Start Endstone

Once the download is complete, run the following command to install Endstone:

```shell
./autoinstall.sh
```

This will install Endstone and automatically start the server after installation.

If you want to start Endstone at any time, simply run:

```shell
./start.sh
```

### 🐳 Docker

[![Docker](https://github.com/EndstoneMC/endstone/actions/workflows/docker.yml/badge.svg)](https://github.com/EndstoneMC/endstone/actions/workflows/docker.yml)
[![Docker - Pulls](https://img.shields.io/docker/pulls/endstone/endstone)](https://hub.docker.com/r/endstone/endstone)
[![Docker - Image Size](https://img.shields.io/docker/image-size/endstone/endstone)](https://hub.docker.com/r/endstone/endstone)

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

```shell
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.

### 🔨 Build locally from Source

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

First, clone the repository:

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

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

```shell
pip install .
endstone
```

**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 9 |
| Standard Library | MSVC STL | libc++ |

## 🌟 Plugins [🔝](#-table-of-contents)

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:

- [C++ Example Plugin](https://github.com/EndstoneMC/cpp-plugin-template)
- [Python Example Plugin](https://github.com/EndstoneMC/python-plugin-template)

| Milestone | Duration | Core | 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 |
| **🖼 Form & Scoreboard API** | 1-2 months | ✅ | v0.5.0 |
| **👤 Player & Actor API** | 2-3 months | 🚧 | |
| **🧱 Block API** | 1-2 months | 🚧 | |
| **📦 Item & Inventory API** | 2-3 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 [🔝](#-table-of-contents)

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](https://github.com/EndstoneMC/endstone/issues) 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 [🔝](#-table-of-contents)

The Endstone project is licensed under the [Apache-2.0 license](LICENSE).