JSON API 3.1.0

Create and send JSON messages easily.

  1. Update 3.1.0: Support for Minecraft 1.17, fail-soft

    Voidev
    New Javadoc URL: http://javadocs.voidev.info/docs/JsonApi-v3.1.0/index.html

    Changelog
    • Added support for Minecraft version 1.17
    • JsonApi will now fail silently for unsupported Minecraft versions and switch to a limited operating mode. In this mode, all messages sent are sent as console messages (using color codes).

    Compatibility Note:
    This version is backwards-compatible with 3.0.2, as defined...
  2. Update 3.0.2: Converting between color-coded and JSON messages

    Voidev
    Maxencefiu likes this.
  3. Update 3.0.1: Support vor MC 1.12-pre5

    Voidev
    New Javadoc URL: http://javadocs.coloredcarrot.com/docs/JsonApi-v3.0.1/

    Changelog

    • Added support for Minecraft 1.12-pre5
    • Added constructor JsonMsg(JsonMsg... extra)
    • Fixed a bug where invoking style(ChatColor.MAGIC) would change the italic status of the JsonMsg
    • Fixed the javadoc of JsonMsg#extra(List)
    Tyrelis likes this.
  4. UPDATE 3.0.0: Major Update, Complete Code Rewrite, Refactoring Required

    Voidev
    This is a HUUGE update to JsonApi. It has been completely re-written and features tons of new features, ease-of-use and a better documentation.

    Attention developers: You will have to refactor your plugins depending on this API, however it is highly recommend to update as soon as possible as version 2.x will no longer be updated and therefore not support Minecraft 1.11 etc.

    To all server owners: From now on, you're going to have to install this API as a plugin. However, it is...
  5. Update 2.3

    Voidev
    Changelog
    • Added class JSONHoverAction.ShowItemStack written by LordBoos
  6. Update 2.2

    Voidev
    Changelog
    • Added compatibility for MC 1.9.x, 1.10
    • Fixed some bugs with the NMS setup code
  7. Critical Bugfix

    Voidev
    Changelog:
    - fixed a critical bug
  8. No version dependency!

    Voidev
    Changelog:
    - removed version dependency, now works with versions 1.8, 1.8.3, 1.8.8, 1.9

    Please follow the following steps:
    This API used to be version-dependent, but since v2.0, that's fixed.
    Compatible versions:
    - 1.8.x
    - 1.9.x

    You need to add the following code into your onEnable() method:
    Code (Text):
            NMSSetupResponse nmsSetupResponse = JSON.setup(this);

            if (nmsSetupResponse.isCompatible())
                getLogger().info("[VersionManager]...