Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ujihisa/minecrest
minecraft rest endpoint
https://github.com/ujihisa/minecrest
Last synced: about 1 month ago
JSON representation
minecraft rest endpoint
- Host: GitHub
- URL: https://github.com/ujihisa/minecrest
- Owner: ujihisa
- Created: 2013-02-24T06:53:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-13T03:32:46.000Z (over 11 years ago)
- Last Synced: 2024-04-14T19:21:38.747Z (7 months ago)
- Language: Scala
- Size: 316 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minecrest
You can implement useful REST end points easily to your Minecraft CraftBukkit server.
# License
GPL v3
# Authors
* Tatsuhiro Ujihisa
* supermomonga
* raa0121# Installation
# Configuration and run HTTP server
CraftBukkit doesn't start the server automatically, so you need to run by following command.
$ sbt run
$ curl -I http://127.0.0.1:12380
HTTP/1.1 200 OK# Usage
Simply, request your server by GET or POST method. You can choose request filetype with request url.
// Online member with JSON format
curl http://yourbukkithost:12380/api/v1/users/online.json
// Online member with XML format
curl http://yourbukkithost:12380/api/v1/users/online.xml# panya-
nya-n