Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Aikar, Oct 30, 2016.
But i should change it to take the best of java 8, shouldn't i ?
yes, but you don't need to do it right away.
you can first focus on writing new code that uses java8 features, then as you maintain old code, update it to use j8 where it makes sense to improve the readability and reliability of the code.
TaskChain now has sources and javadocs deployed, as well as hosted javadocs at http://taskchain.aikar.co
Deployed 3.4.3 to contain the extra data (no API or bugfixes from 3.4.2, just the metadata attachment)
While you're updating those plugins to 1.11, give TC a try to improve some code!
Also, if you don't mind, help spread awareness of TC by adding to your signature:
[url=https://tcspigot.emc.gs/]TaskChain for Plugin Developers[/url] - Improve your plugins asynchronous logic!
TaskChain for Plugin Developers - Improve your plugins asynchronous logic!
just an update, I'll get back to TC once I'm done with 1.11 (though the next upcoming features aren't ground breaking though)
In case you're interested, I've made a small resource allowing for scheduling Bukkit tasks using coroutines in Kotlin 1.1: https://www.spigotmc.org/threads/skedule-coroutine-task-scheduling-with-kotlin.195728
Looks entirely Kotlin to me
I think he updated it since then
And for any Kotlin users, I had to open this issue on Kotlin: https://youtrack.jetbrains.com/issue/KT-15104
Hopefully they can improve Kotlin for that.
There is nothing to improve. The real issue lies in the converter between Java and Kotlin. The converted code is not equivalent to the Java code. This is a bug in the converter, not a flaw in the type system. See my response to the issue.
Hmm I guess that makes sense.
This looks like what I badly needed for my project as I was doing mysql queries on the main thread. Thanks!
It is in the README:
Bukkit based Minecraft Servers (Bukkit/Spigot/Paper)
[GUIDE: Using in your Plugins]
shhh im blind
it isn't in the readme
thanks for the helpful tool.
Awesome resource, allows you to make async database queries in a very easy and simple way.
Maybe I'm going crazy, but didn't you post something like "First 2017 bump for TaskChain!" or something like that in this thread?
I even remember giving you a "Creative" reaction for that post...
I think you may be crazy jk. I remove old bumps to keep the thread clean.
bump for developers!
@Rocoty Since we have the same goals but different languages, up for link exchange on repo readme's?
I've added it to TaskChain, https://github.com/aikar/TaskChain
Cause yeah I surely couldn't recommend someone using TC over Skedule for Kotlin, and would be good for people who find Skedule that don't use Kotlin to know they still have an option.