Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ramide1/mcapi

Minecraft web api for interacting with Spigot server
https://github.com/ramide1/mcapi

minecraft minecraft-java minecraft-plugin minecraft-server spigot-plugin

Last synced: about 1 month ago
JSON representation

Minecraft web api for interacting with Spigot server

Awesome Lists containing this project

README

        

# McApi
Minecraft web api for interacting with Spigot server
# Getting Started
Install the plugin on your server.
Configure the plugin by editing the config.yml file:
```yml
Config:
port: 80
password: password
```
# Usage
Execute commands remotely using a simple HTTP POST request. Here's an example using cURL:
```bash
curl -X POST http://serverip/command -d "command=console command" -d "password=server password"
```
# Endpoints
- command: Execute a console command
- players/count: Get online players count
- players/list: Get online players list
# Contributing
We welcome contributions from the community. If you have ideas or want to contribute, please feel free to open an issue or submit a pull request.