Releases: jakobkmar/KSpigot
1.17.4
1.17.3
KSpigot 1.17.3
Improved Brigardier support
- deprecated
simpleSuggests
andsimpleExecutes
in favor ofruns
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
- see #26 (comment)
onClose
function for inventory guis
- see #25 by @Skyslycer
Fix for specific click action types not calling GUIClickEvent
1.17.2
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:
- https://bluefireoly.github.io/KSpigot/commands/brigardier.html
- https://bluefireoly.github.io/KSpigot/extensions/literal_text.html
Other changes:
- deprecated the old
chatComponent
api - switched to Kotlin 1.5.20
- added kotlinx.coroutines as a dependency
1.17.1
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
1.16.28
1.16.27
- removed Gson from all parts of the project (using kotlinx.serialization instead)
compoundSroll
for rect compounds now supports thescrollLines
parameter- refactored source code
- removed the
LivingEntity.isInWater
extension, as it now exists in spigot itself
1.16.26
1.16.25
v1.16.5_R24
- fixed scrollProgress bug with GUI compounds