JSONAPI

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

Donate with Paypal!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Benr08 Benr08 May 25, 2013 at 18:07 UTC - 0 likes

    Hi! 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?

  • Avatar of NodexServers 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

    Last edited May 19, 2013 by NodexServers
  • Avatar of alecgorge 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

  • Avatar of NodexServers NodexServers May 17, 2013 at 05:46 UTC - 0 likes

    Is 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.

  • Avatar of uSoc_lifehome 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"

  • Avatar of thimo9999 thimo9999 May 12, 2013 at 17:34 UTC - 0 likes

    is for this plugin a good tutorial? do you need to put the methods somwhere? or just the jsonapi.php in the web host directory

  • Avatar of shirazisthebest shirazisthebest May 11, 2013 at 14:09 UTC - 0 likes

    @Colioliolio: Go

    yes it does

  • Avatar of plasticraft plasticraft May 11, 2013 at 10:49 UTC - 0 likes

    Hi, 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

  • Avatar of Colioliolio Colioliolio May 09, 2013 at 23:09 UTC - 1 like

    Does this plugin work with adminium yet?

  • Avatar of lewisyouldon lewisyouldon May 07, 2013 at 20:23 UTC - 0 likes

    Hello 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

    Last edited May 07, 2013 by lewisyouldon

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

Authors