jsonapi icon indicating copy to clipboard operation
jsonapi copied to clipboard

JSONAPI v6.0.0

Open alecgorge opened this issue 10 years ago • 12 comments

Here are the things on my list for 6.0.0:

For sure

  • [ ] Fix all outstanding 1.8 bugs
  • [ ] Put netty on port 20059
  • [ ] Deprecate port 20059 usage. The join port is so much more consistent.
  • [ ] Eliminate the socket server on port 20060.
  • [ ] Remove the standalone WebSocket server on port 20061. Access via WebSocket should be via http://<server>:<joinport>/api/2/websocket or http://<server>:20059/api/2/websocket. Remove all non-netty WebSocket components.
  • [ ] Remove legacy v1 API entirely
  • [ ] Move every API method to be in Java method + annotation instead of being stored in a json file
  • [ ] Rewrite documentation generator to pull from Java annotations (spin up server, call API method to dump them all?)
  • [ ] Allow for a method to optionally run async. Support callbacks for all methods.
  • [ ] Fix /jsonapi reload causing duped chat messages
  • [ ] Fix JSONAPI plugin being disable and enable not working
  • [ ] Submit to spigot resources

Maybe?

  • [ ] Make user and group methods much more reliable (rewrite yaml config to be json)
  • [ ] Resubmit to BukkitDev?

Do you have any more suggestions?

alecgorge avatar Feb 07 '15 21:02 alecgorge

Allow nested method calls?

koesie10 avatar Feb 09 '15 19:02 koesie10

What do you mean by nested method calls?

alecgorge avatar Feb 10 '15 16:02 alecgorge

Nested method calls as decribed in #129

koesie10 avatar Feb 10 '15 17:02 koesie10

I'm eliminating the JSON definition of API methods entirely so that will become moot. Hopefully that isn't an issue

alecgorge avatar Feb 10 '15 18:02 alecgorge

I don't actually need it myself, it was just something I saw coming up earlier in #129 and was interested in.

koesie10 avatar Feb 10 '15 18:02 koesie10

Just want to say, This is awsome! Keep it up!

krisdb2009 avatar Feb 12 '15 01:02 krisdb2009

Oh, also Not sure if its been fixed in latest builds but, sometimes the plugin will say "Not a valid group (insert group here)" on startup. But not all the time. Just sometimes... And, if you use /jsonapi reload it will reload the plugin but the method for grabbing chat in game will return duplicated chat in the array.

krisdb2009 avatar Feb 12 '15 01:02 krisdb2009

Yeah, users/groups are really screwed up right now. Would anyone be sad if I rewrote it to be json?

I would be able to make it oodles more reliable than the freaking yaml based configs...

alecgorge avatar Feb 12 '15 01:02 alecgorge

Go for it. It takes 5 seconds to set up the groups anyhow.

krisdb2009 avatar Feb 13 '15 00:02 krisdb2009

Also, could there be a way in the future to compare usernames to uuid's. Like a way to track them

krisdb2009 avatar Feb 14 '15 21:02 krisdb2009

Any update for jsonapi ??? Thank you

maxlehot1234 avatar Oct 19 '15 14:10 maxlehot1234

Hello. What about porting to Sponge? Is it real?

ArcasCZ avatar Mar 06 '17 11:03 ArcasCZ