• Stars
    star
    233
  • Rank 172,230 (Top 4 %)
  • Language
    Java
  • License
    MIT License
  • Created about 14 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A JSON API for Minecraft: http://forums.bukkit.org/threads/admn-info-jsonapi-v1-3-1-json-http-and-socket-api-for-controlling-a-server-740.14270/

JSONAPI is a plugin for Bukkit that allows you to access data and other information about your server and your players through a simple, yet secure, HTTP API. This allows you to make awesome websites, iPhone apps, and a way for your players to purchase goods online and automatically receive them in game.

However, this plugin won't do all of that by itself. It is simply an API that allows you to assemble the features in a way that makes sense for your needs.

Note I (@alecgorge) don't main this very much anymore. I accept pull requests and will fix issues with PRs or new versions of Minecraft, but development is more or less stalled. I haven't played Minecraft in years so I don't know when a new version comes out. Please open issues. I read every one but I don't have time to debug every configuration issue because every issue that isn't related to a new version of Minecraft has been answered in some way. Configurations have not changed in years.

Contributing/dev setup

This project relies on Java Comment Preprocessing to handle multiple versions of Minecraft.

The files in src/ will only compile for one version but anything that has a dependency on a specific version of Minecraft with have specialized imports like this:

//#ifdefined mcversion
//$import net.minecraft.server./*$mcversion$*/.EntityPlayer;
//$import net.minecraft.server./*$mcversion$*/.*;
//$import org.bukkit.craftbukkit./*$mcversion$*/.*;		
//#else		
import net.minecraft.server.v1_11_R1.EntityPlayer;		
import net.minecraft.server.v1_11_R1.*;		
import org.bukkit.craftbukkit.v1_11_R1.*;		
//#endif

The only proper way to build JSONAPI is with ./complete_build. You can edit ./jsonapi to add new versions and run ./jsonapi build > ./complete_build then chmod +x ./complete_build to update the build script..

If your build hangs for a bit on this part:

[WARNING] The POM for net.ess3:Essentials:jar:2.14-20140906.162642-94 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://dev.escapecraft.com/maven/org/bukkit/bukkit/1.8-R0.1-SNAPSHOT/maven-metadata.xml
Downloading: http://repo.bukkit.org/content/groups/public/org/bukkit/bukkit/1.8-R0.1-SNAPSHOT/maven-metadata.xml

Let it finish once (to download everything else) and then you can run ./complete_build -o to build offline and not get hung up on that. Unfortunately this is an upstream bug with Vault and it would require a change in the Vault build to fix it.

Download

Download JSONAPI

You can find the source code on GitHub at alecgorge/jsonapi. I accept pull requests!

JSONAPI is well documented

Read the documentation at mcjsonapi.com or on GitHub.

More Repositories

1

MarkdownEditor

A completely web based MarkDown editor--with live preview!
JavaScript
157
star
2

php_threading

A multithreading extension for PHP that (almost) actually works!
C
52
star
3

PhishOD-iOS

An universal app for phish.in
Objective-C
36
star
4

PHP-String-Class

A string class for PHP that wraps the native string functions to provide access similar to Javascript--plus some added features!
PHP
24
star
5

iguana

Powers lotusod.com marcoallday.com and sts9od.com
CoffeeScript
14
star
6

edline-api

A scraping tool and API written in Ruby and Sinatra.
Ruby
8
star
7

ScriptingApi

A plugin for hMod that allows you to write plugins in Javascript.
JavaScript
8
star
8

angular-static-seo

To go with alecgorge/express-static-angular-seo
CoffeeScript
7
star
9

PhishOD-Android

Java
6
star
10

fish-flash-theme

Mirror of @fishery/flash
Shell
6
star
11

swf2mp4

Python
5
star
12

phpack

A packer to package up PHP scripts as a windows PE exe
PHP
5
star
13

iguana-ios

The iOS client for the iguana project
Objective-C
5
star
14

gapless.js

Gapless audio playback using HTMLAudioElement and the Web Audio API
JavaScript
4
star
15

minecraft-datavalue-server

CoffeeScript
4
star
16

java-SimpleHttpRequest

A simple set of classes for making HTTP requests. Nothing fancy, just GET, POST, HEAD, PUT and DELETE.
Java
4
star
17

Advanced-Searcher

I wanted a searching tool that was fast, portable and didn't require an index. I also needed it to search within files that matched a particular mask. The fruits of my labor is Advanced Searching Tool.
C#
3
star
18

node-psuedohash

A simple hashing algorithm for integers.
JavaScript
3
star
19

json-map-reduce-tool

https://alecgorge.github.io/json-map-reduce-tool
JavaScript
3
star
20

sumatra-remote-print

A simple node.js server to provide a drag and drop web UI to print PDFs to the default printer via SumatraPDF
JavaScript
3
star
21

mcjsonapi.com

the public website available for JSONAPI
Shell
2
star
22

Lunch-Data-Collection

PHP
2
star
23

BatchDownloader

A little .NET tool to download files.
C#
2
star
24

fast-vobject

A speed vObject serializer
CoffeeScript
2
star
25

nano-cms

Automatically exported from code.google.com/p/nano-cms
PHP
2
star
26

tophat_old

A cool CMS. You'll see.
PHP
2
star
27

express-static-angular-seo

A tool for nginx to reverse proxy to for bots who sadly don't have JavaScript
CoffeeScript
2
star
28

jsonapi_rtk

A Remote Toolkit module for JSONAPI
Java
2
star
29

AGAudioPlayer

The suggested repo name is potential-batman.
Swift
2
star
30

talkerapp-html5notification

A plugin for talkerapp.com that allows for HTML5 notifications on supported webkit browsers.
JavaScript
2
star
31

dotnetportmapper

A "fork" of http://code.google.com/p/dotnetportmapper/
C#
2
star
32

kramer

A C# chat server and client.
C#
2
star
33

exacttarget-php

A PHP SDK for ExactTarget's XML API
PHP
2
star
34

magic

Turns slightly modified CSS selector syntax into HTML! Neato!
JavaScript
2
star
35

sigfig-practice

A handy tool to practice your sigfigs!
JavaScript
1
star
36

TerraNullius

Isometric,open world survival shooter
Java
1
star
37

node-httpdebugserver

A simple HTTP server written in node that merely dumps info about the request. Useful for testing HTTP clients.
JavaScript
1
star
38

domphys

Adding physics to the DOM.
1
star
39

relisten-osx

A native relisten.net client for OS X
Objective-C
1
star
40

alecgorge.github.com

Public repo?
1
star
41

blogdesk

shh..shut up..go way.
1
star
42

node-async-control

Allows for easy management of async and sync functions.
1
star
43

node-instrumental-agent

A node.js agent for instrumentalapp.com
CoffeeScript
1
star
44

phishod-config-server

CoffeeScript
1
star
45

rss-read-more-expansion

C#
1
star
46

iguana2

TypeScript
1
star
47

phish.alecgorge.com

The code behind phish.alecgorge.com
CSS
1
star
48

TopHat

A lightweight CMS containing everything you could want! More to come soon!
JavaScript
1
star
49

multitouch-ui

JavaScript
1
star
50

phish-pastel-coverart

A tool to generate Phish album art with the pastel colored background seeded by the date.
1
star
51

rakamak

Fork of http://dev.bukkit.org/server-mods/rakamak/ to support 1.1-R6 and 1.2
1
star
52

AGTableViewController

An easier way to build and manage UITableView's. Heavily inspired by Matt Gallagher's PageViewController.
1
star
53

iguana-web

JavaScript
1
star
54

phishod-sonos-server

PHP
1
star
55

iOS-TextPrompt

based on http://www.iostipsandtricks.com/using-uialertview-as-a-text-prompt/
Objective-C
1
star
56

cilantro

A simple CI machine built in Node. Super lightweight.
CoffeeScript
1
star
57

cs352-tests

Test + a harness for the compiler built in Purdue's CS 352
JavaScript
1
star
58

talkerapp-lastsaid

Allows you to press the up arrow and get the last message you wrote.
JavaScript
1
star
59

project-estimation-tool

JavaScript
1
star