Skip to content

Releases: jakobkmar/KSpigot

1.17.4

16 Sep 22:53
b7d6523
Compare
Choose a tag to compare

KSpigot 1.17.4

  • the case that a plugin might disable itself in the startup function is now handled (#27) correctly

1.17.3

06 Sep 15:58
618c828
Compare
Choose a tag to compare

KSpigot 1.17.3

Improved Brigardier support

  • deprecated simpleSuggests and simpleExecutes in favor of runs and a lot of new "suggest" functions
  • fix: commands can now be executes by anyone be careful when updating to this version, make sure that you secure all your command execution logic using requiresPermission
  • the user of the Brigardier wrapper now does not have to interact with any nms components anymore

New small extensions

onClose function for inventory guis

Fix for specific click action types not calling GUIClickEvent

1.17.2

28 Jun 11:59
2c86ac9
Compare
Choose a tag to compare

KSpigot 1.17.2 (for Minecraft 1.17)

This release brings two big new features:

  • Brigardier support (the official command API for Minecraft) with a Brigardier Kotlin wrapper
  • a brand new literalText chat component api

You can read more about these two features here:

Other changes:

  • deprecated the old chatComponent api
  • switched to Kotlin 1.5.20
  • added kotlinx.coroutines as a dependency

1.17.1

15 Jun 19:28
d95cf30
Compare
Choose a tag to compare

KSpigot for 1.17

An overview of the changes:

Dependency management

Do not use the Gradle shadow plugin anymore! Spigot now has its own library feature, use that one instead. This
applies to KSpigot, but in the best case for your other dependencies as well!

For KSpigot this means, that you have to add the following to your plugin.yml:

libraries:
  - "net.axay:kspigot:VERSION"

Of course, replace VERSION with the KSpigot version you are using.

Read the setup guide for more information.

Removed features

You can no longer await anvil input from a player. This feature was not stable enough to fit in this project.

Changed

The Listener.register() extension function now is no longer available, instead it has been replaced
by SingleListener<T : Event>.register(). Don't worry, this means that this change does not affect you if you are using
the listen function provided by KSpigot.

KSpigot is now compiled using Java 16! Make sure to use Java 16 aswell. Java 16 is now the minimum required version
for Minecraft by Mojang.

1.16.29

30 May 00:37
7879336
Compare
Choose a tag to compare
  • added OnlinePlayerMap<V> (d871aa6)
    • this Map automatically removes entries when the player (who is the key) leaves the server

1.16.28

28 May 23:59
fe24bb9
Compare
Choose a tag to compare
  • updated dependencies
  • now using Kotlin 1.5.10
  • fixed awaitBookInputAsString and awaitBookInputAsList (now allows client side opening, because this is not possible on the server side)
  • improved internal code style (more compact source code for you)

1.16.27

15 May 21:12
611340e
Compare
Choose a tag to compare
  • removed Gson from all parts of the project (using kotlinx.serialization instead)
  • compoundSroll for rect compounds now supports the scrollLines parameter
  • refactored source code
  • removed the LivingEntity.isInWater extension, as it now exists in spigot itself

1.16.26

23 Mar 19:31
8d7e945
Compare
Choose a tag to compare
  • update dependencies

1.16.25

20 Mar 14:28
68ba031
Compare
Choose a tag to compare
  • new gotoPage function for GUIInstance #14
  • include the Gradle wrapper in the project
  • updated dokka and regenerated documentation
  • removed khttp dependency (now using java HttpURLConnection)
  • updated serialization plugin
  • switched to Kotlin 1.4.31
  • updated org.json dependency

v1.16.5_R24

13 Feb 14:36
Compare
Choose a tag to compare
  • fixed scrollProgress bug with GUI compounds