Web-API - Provides an admin panel and API for your Minecraft server

By chance, could you add some routes ? I would love to have /chest /sign and /block

Also, I don’t find how to access player inventory using route /player/uuid, can someone help me ?

Hey @Keuterio I’m currently working on some new routes.

  1. I believe /chest and /sign already exist, those are both tile entities, and are listed in /tile-entity.

  2. What exactly would you want from /block? information about one specific block at a location, or more like, the location of all diamond blocks?

  3. I have added the player inventory to the default output of the /player/uuid route in the upcoming v3 of the plugin.

1 Like

Thanks for this complete answer, I couldn’t use webapi with Sponge 5.2 but it was all ok with 5.1. I don’t plan to switch to API 6 soon.

  1. Great, I have to try out in a better querying page, the answer is definitely in /tile-entity :slight_smile:

  2. I would like to get and set a block but my goal sounds more like a schematic pasting : I want to save an array of blocks and replace it with an other one.

  3. can’t wait for v3 ! Will it be for API 5.2 ?

Edit : I can’t find about web-hook, where is it in the doc ?

A new version has been released for Web-API, it is available for download here.


  • Add /block endpoint to query & set blocks in the world
  • Rework endpoints to provide more consistent and better structured data
  • Add fine grained permission nodes for commands run via /cmd endpoint
  • Add 100% more error messages for endpoints

A new version has been released for Web-API, it is available for download here.


  • Add /block endpoint to query & set blocks in the world
  • Rework endpoints to provide more consistent and better structured data
  • Add fine grained permission nodes for commands run via /cmd endpoint
  • Add 100% more error messages for endpoints

@Keuterio

  1. Added in version 3

  2. I targeted Sponge 6.0 and 5.2 in v3. The 5.2 version should also work for 5.1.

Check Web-API [v4] - AdminPanel & RESTful web server [now with screenshots!] - #55 by Valandur for more information

A new version has been released for Web-API, it is available for download here.


  • Fixed config file issues

A new version has been released for Web-API, it is available for download here.


  • Fix config file issues

I tried this version with latest 5.2 API, both vanilla and forge (fresh install) but it threw a lot of errors, here is one of them : https://pastebin.com/HpSA3pye

Dont mind the folder name “test 1.11”, it was a 1.10.2 server with forge-1.10.2-12.18.3.2281-universal.jar and mods/spongeforge-1.10.2-2281-5.2.0-BETA-2274.jar as well as mods/webapi-3.0.1-S5.2.jar, that’s all.

A new version has been released for Web-API, it is available for download here.


  • Fixed issues with data holder

A new version has been released for Web-API, it is available for download here.


  • Fixed issues with data holder

@Keuterio this should be fixed now, it seems like I ran into a Sponge bug :upside_down:

Yes you did, fast fixing, thanks :smiley:

Let’s have some fun now !

A new version has been released for Web-API, it is available for download here.


  • Add support for custom serializers
  • Rework class endpoint
  • Add ageable data
  • Add support for fetching custom fields and methods without an extra call
  • Add optional parameters to command hooks
  • Fix config files once again
  • Improve error responses
  • Rework hooks structure

A new version has been released for Web-API, it is available for download here.


  • Add support for custom serializers
  • Rework class endpoint
  • Add ageable data
  • Add support for fetching custom fields and methods without an extra call
  • Add optional parameters to command hooks
  • Fix config files once again
  • Improve error responses
  • Rework hooks structure

A new version has been released for Web-API, it is available for download here.


  • Support SpongeAPI 7.0…0
  • Improve serializer feedback & support shadowed packages
  • Fix error for query strings without an equals sign [r15ch13]

A new version has been released for Web-API, it is available for download here.


  • Support SpongeAPI 7.0…0
  • Improve serializer feedback & support shadowed packages
  • Fix error for query strings without an equals sign [r15ch13]

A new version has been released for Web-API, it is available for download here.


  • Support SpongeAPI 7.0…0
  • Improve serializer feedback & support shadowed packages
  • Fix error for query strings without an equals sign [r15ch13]
1 Like

A new version has been released for Web-API, it is available for download here.


  • Add block update operations
  • Fix config file typo
  • Fix errors with serializers

A new version has been released for Web-API, it is available for download here.


  • Add block update operations
  • Fix config file typo
  • Fix errors with serializers