JSONAPI
Provides a socket API, HTTP API and WebSocket API to access information about and to control your server.
Docs
Latest Download
Removed per request of bukkitdev mods and admins...
Bleeding Edge Builds
"Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk."
http://ci.alecgorge.com/job/JSONAPI/
Donate
Facts
- Date created
- Oct 10, 2011
- Categories
- Last update
- May 04, 2013
- Development stage
- Release
- Language
- enUS
- License
- zlib/libpng License
- Curse link
- JSONAPI
- Downloads
- 78,232
- Recent files
- R: JSONAPI v4.3.6 for CB 1.5.2-R0.1 May 04, 2013
- R: JSONAPI v4.3.4 for CB 1.5.1-R0.1 Apr 04, 2013
- R: JSONAPI v4.3.3 for 1.5.1 Mar 22, 2013
- R: JSONAPI v4.3.1 for 1.5.0 Mar 16, 2013
- R: JSONAPI v4.3.0 for CB 1.4.7-R1.0 Feb 22, 2013

- Reply
- #392
Benr08 May 25, 2013 at 18:07 UTC - 0 likesHi! I just re-installed Jsonapi and I get this error:
http:pastebin.com/xF3u7kAw
The server port used is free and opened. Could you quickly help?
- Reply
- #391
NodexServers May 19, 2013 at 00:42 UTC - 0 likes@alecgorge: Go
Example: If I send a multicall with 1000 spawn entity methods, it takes a long time for that socket to respond to further requests. Is there any type of queue or thread slicing that is going on? This happens with 1000 seperate calls also, not just multiple method call.
Another Example: If I call for 30 player objects, I also get no further responses (until the return of the 30 objects) from other method request even though I have completed the send to the JSONAPI socket. The new request will only complete until the previous request is done.
Another Example: When I send a playermsg to all the players (100+), it is 100+ single (send) method calls but not even close to realtime. Again it behaves like there is some queue that runs at a tick rate... no idea how else to explain this beyond showing you in realtime maybe?
In my usage I have a socket open just for async calls to get data over or send a playermsg. As I shove more down the pipe it seems to queue the requests and is no longer a snappy response. Should I be using more then one connection?
Explaining the problem is always the hardest... lol
- Reply
- #390
alecgorge May 17, 2013 at 14:20 UTC - 0 likes@NodexServers can you give an example where it isn't fast enough? All requests are already processed as soon as possible
- Reply
- #389
NodexServers May 17, 2013 at 05:46 UTC - 0 likesIs there a way to increase the speed in which request are completed? I have noticed if I send multiple lines of text the system seems to queue it in some nature. Can that be disabled? An option to complete and respond to request as fast as possible.
I would like to see more throughput and response time between localhost
-(tcpsocket)>jsonapi as I sit close and want quicker response.- Reply
- #388
uSoc_lifehome May 16, 2013 at 12:04 UTC - 0 likes@thimo9999: Go
Hello there, the methods should be put at:
"<server dir>/plugins/JSONAPI/methods"
- Reply
- #387
thimo9999 May 12, 2013 at 17:34 UTC - 0 likesis for this plugin a good tutorial? do you need to put the methods somwhere? or just the jsonapi.php in the web host directory
- Reply
- #386
shirazisthebest May 11, 2013 at 14:09 UTC - 0 likes@Colioliolio: Go
yes it does
- Reply
- #385
plasticraft May 11, 2013 at 10:49 UTC - 0 likesHi, help me please it's urgent ! When I tap JSONAPI, i get an error:
An internal error occurred while attempting to perform this command.
And ; i get an error :
<<code org.bukkit.command.CommandException: Unhandled exception executing command 'jsonapi' in plugin JSONAPI v4.3.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:188) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:966) at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at com.alecgorge.minecraft.jsonapi.JSONAPI.onCommand(JSONAPI.java:459) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more>><</code>>
I try some times to change version JSONAPI and my craftbukkit... help please
- Reply
- #384
Colioliolio May 09, 2013 at 23:09 UTC - 1 likeDoes this plugin work with adminium yet?
- Reply
- #383
lewisyouldon May 07, 2013 at 20:23 UTC - 0 likesHello there, Getting errors when trying to load it. On the site, all gets I have tried have returned null. And I get a stacktrace in console when I reload. This stacktrace can be found here: http://pastebin.com/LyWhrw94
The site it's being tested on is: http://XenoCraft.zelware.co.uk
If you could help me in resolving this issue that would be great! Thank you