Skip to content

Releases: FluxpointDev/Fluxpoint4J

v1.2.1: Fix wrong boolean name

18 Feb 00:04
Compare
Choose a tag to compare

The MCServerPingResponse had used a boolean called fullQuerry rather than fullQuery
This would result in Gson, the library used to parse JSON into class instances, not parsing the fullQuery response of the Fluxpoint API.

The old getter is still present (And now returns the proper boolean value) for backwards compatability sake but is deprecated and will be removed in the next version...

v1.2.0: New MCRequestBuilder and some deprecation

29 Jan 15:14
Compare
Choose a tag to compare

To support the latest changes made to the Fluxpoint API have the methods used previously to perform a MC server request been deprecated in favour of a new method to obtain an instance of a MCRequestBuilder class.

This class allows you to set the host, port and if the server icon should be included in the response (New).
Just like with the methods does it allow to perform a synchronous request or an asynchronous one by wrapping it into a CompletableFuture.

The deprecated methods are planned to be removed 2 versions after this one. They should still work fine, but a move is highly recommended.

Small patch version to try new build.

15 Nov 22:09
Compare
Choose a tag to compare

This is a new release to allow a new version to be build on jitpack, hopefully fixing issues

v1.1.2: Fix broken URL for MC server lookup

18 Aug 23:40
Compare
Choose a tag to compare

There was a typo, resulting in the URL used for MC info requests being https://api.fluxpoint.dev//mc/ping?host=host&port=25565

v1.1.1: Minor corrections

01 Jun 00:19
Compare
Choose a tag to compare

This update brings some small corrections to the WelcomeImage.Builder class.
You can apparently provide an empty String for the icon, banner or members text to hide them, so this is now allowed by the Wrapper.

In addition have missing Javadoc been added.

Installation

Gradle

repositories {
  maven { url = "https://jitpack.io" }
}

dependencies {
  implementation "com.github.fluxpointdev:Fluxpoint4J:v1.1.1"
}

Maven

<repositories>
  <repository>
    <id>jitpack</id>
    <url>https://jitpack.io/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.github.fluxpointdev</groupId>
    <artifactId>Fluxpoint4J</artifactId>
    <version>v1.1.1</version>
  </dependency>
</dependencies>

v1.1.0: Add /mc/ping support

31 May 23:22
Compare
Choose a tag to compare

New stuff

This update adds support for the mc/ping endpoint of the FluxpointAPI by providing new methods to use:

Breaking changes!

There are some breaking changes in this release!
Most noticeably, all get methods in the Fluxpoint4J class now return a GenericAPIResponse class. This allows me to have a single class for both successful and failed responses.
The GeneratedImage class still exists and implements this interface now, but you have to make an instanceof check now before trying to cast the GenericAPIResponse to a GeneratedImage class, as it could also be a FailedAPIResponse instance too.

The README has some examples to show you how to do this.

Please report any issues on the issue tracker!

Installation

Gradle

repositories {
  maven { url = "https://jitpack.io" }
}

dependencies {
  implementation "com.github.fluxpointdev:Fluxpoint4J:v1.1.0"
}

Maven

<repositories>
  <repository>
    <id>jitpack</id>
    <url>https://jitpack.io/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.github.fluxpointdev</groupId>
    <artifactId>Fluxpoint4J</artifactId>
    <version>v1.1.0</version>
  </dependency>
</dependencies>

1.0.0: First release

22 May 19:04
Compare
Choose a tag to compare

Welcome to the first release!

If everything works as expected can you get the latest version now using https://jitpack.io

Gradle

repositories {
  maven { url = "https://jitpack.io" }
}

dependencies {
  implementation "com.github.fluxpointdev:Fluxpoint4J:v1.0.0"
}

Maven

<repositories>
  <repository>
    <id>jitpack</id>
    <url>https://jitpack.io/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.github.fluxpointdev</groupId>
    <artifactId>Fluxpoint4J</artifactId>
    <version>v1.0.0</version>
  </dependency>
</dependencies>