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


#141

A few notes about this update

  • I will release a documentation about how to set up the AdminPanel externally (on a webserver) and make it connect to multiple Web-APIs soon, probably this weekend. The functionality is already there!
  • I know that RedProtect has been updated, and I will add back the integration for it as soon as I can (probably during next week)

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


  • Don’t count OPTIONS requests in rate limit
  • Allow configuring the Access-Control-Origin header sent in responses
  • Don’t show the AdminPanel link after startup if it isn’t activated
  • Update to AdminPanel v0.7.0
    • Allow running the AdminPanel externally of the Web-API
    • Support multiple servers in one AdminPanel
    • Add language selection to login form

#142

Were you able to fix your issues, or did you see my private message?


#145

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


  • Add integration for MMCRestrict and RedProtect
  • Improve Nucleus, MMCTickets, HuskyCrates and WebBooks integration
  • Improve deserialization
  • Update to AdminPanel v0.7.2
    • Add MMCRestrict integration
    • Fix issues with multi-servers, localStorage and invalid configs
    • Separate translation files into multiple files
    • Add translations for integrations

#148

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


  • Fix a bug that was preventing permission from working properly after the first node
  • Stop caching entities, as this puts too much load on the server. Instead retrieving the entity list now uses a bit more resources, so use that endpoint sparingly
  • Update swagger docs for entity and tile-entity endpoints missing query parameters

#151

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



#152

Big rework coming up in about 1.5 weeks. Will feature always up-to-date endpoint docs, removal of the “ok” property, but a lot better and more consistent error codes. Also removing unused extensions.

If you have any custom extensions you’re using and would like to see in Web-API send them to me (here or on discord). If you need help dealing with the missing ok property leave me a message and I’m sure I’ll be able to help.


#153

@Valandur If you are making potentially breaking changes, I’d recommend having an API versioning scheme in the URL.


#156

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


  • Fix content type not being transfered on first load. Fixes #59
  • Fix registry servlet causing errors with certain mods. Fixes #60
  • Support multiple values in X-Forwarded-For. This also adds support for multiple chained proxies. Fixes #61

#157

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


  • Automatically generate docs (always up-to-date!)
  • Remove “ok” property from all endpoints
  • Add permissions servlet
  • Add support for Bearer Tokens as auth headers
  • Add better parameter parsing for direct method calls
  • Add economy servlet
  • Add ActiveTime integration
  • Move info/properties endpoint to server/properties endpoint
  • Move servlets endpoint to info/servlets
  • Rename Message to InteractiveMessage to avoid confusion with recorded chat messages
  • Allow filtering entities & tile-entities by coordinates
  • Track receivers for messages and chat messages
  • Improve config file loading
  • More consistent error messages
  • Add specific permissions for each server property. Implements #62
  • Set generateSpawnOnLoad to true when creating new worlds. Fixes #63
  • Allow sending an InteractiveMessage to all online players. Implements #64
  • Allow setting CIDR IP ranges in allowed proxies. Implements #65
  • Fix different output for objects when details are enabled. Fixes #66
  • Fix web hook filters not working corretly. Fixes #67
  • Remove source map files to reduce jar size
  • Fix build process leading to invalid jar. Fixes #74
  • Implement saving server settings. Implements #62
  • Reduce file size by removing some dependencies
  • Integrate API into main plugin
  • Fix editing data records not using previous record as initial data
  • Implement saving server settings and remove error with info
  • Update to AdminPanel v5.0.1
    • Add permissions page
    • Add receivers to messages page
    • Improve map page performance
    • Improve kicking and banning players
    • Improve performance of big components
    • Fix Nucleus Jails not working when referring to a deleted world
    • Change project to Typescript

#158

I wondered why I didn’t get new updates from this topic… And I was still watching the old one :angry:

Anyway, nice update :heart:


#159

Lol thanks @Keuterio

On another note:

I have released v5.0.5 for Sponge 5 & 6. Just like the version for Sponge 7 they still need a bit of testing, so please use with care


#160

Oh, wow :smile:

I will try it as soon as possible and report everything needed.


#161

Would it be possible (is is it already a feature I am unaware of) that in a future update to have the “InstalledPlugins” page use hierarchy, so that you can easily differentiate between forge mods and sponge plugins by folder location?


#162

I’m not sure I can find out what folder the plugin/mod comes from, but I will try and see if I can find a way to split up the Sponge plugins and forge mods. Thank you for the great idea :smiley:


#163

I mean you can have your plugins set up 2 ways;

  1. right in the mods folder (eg; …Server/mods/)
    or
  2. in the mods folder in another folder called plugins (eg; …Server/mods/plugins)

Enabling a hierarchical view would allow you to see that the mod/plugin in question is nested under another folder and therefore is a sponge plugin :stuck_out_tongue:

Just another thing to think about :slight_smile:

@Valandur On a side note, I am loving this plugin :smiley: So Thank you for making it .


#164

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


  • Update MMCRestrict. Fixes #75
  • Add more endpoints for Nucleus. Adds to #70
  • Fix path for integrated AdminPanel
  • Fix empty options and missing text causing problems for interactive messages. Fixes #85
  • Fix baseUrl of AdminPanel
  • Update to AdminPanel v5.0.2
    • Hide unavailable menu items
    • Fix various issues with the base path

#165

I added the feature as an issue on github, where you can track the progress if you want.


#166

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


  • Fix command permissions not applying to aliases
  • Fix errors on AdminPanel login
  • Fix occasional OutOfBounds exception from into/stats endpoint
  • Allow enabling and disabling plugins (requires server restart)
  • Update to AdminPanel v5.0.4
    • Added different themes (chose either on login or under [username] -> preferences)
    • Allow enabling & disabling plugins (requires server restart)
    • Fix command execution throwing errors

#167

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


  • Track logins of the AdminPanel. Implements #90
  • Fix WebBooks and Nucleus integrations
  • Fix chat & command history not working
  • Fix some serialization errors
  • Fix block operations not working
  • Try to identify Sponge plugins vs Forge mods. Implements #87
  • Update to AdminPanel v5.0.5
    • Collapse create & filter forms by default to save space
    • Add type to plugins. Allow filtering plugin list
    • Load theme on page load to avoid repeated flickering
    • Improve colors of buttons across themes
    • Remove Entity & Tile-Entity view
    • Improve views that show a “location”
    • Improve chat & command history

#168

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