Suggestion
Async Tab Complete event would be nice. Similar to my other issue, but I see you completed that already so I made this.
"Allows plugins to compute tab completion results asynchronously.
If this event provides completions, then the standard synchronous process will not be fired to populate the results. However, the synchronous TabCompleteEvent will fire with the Async results.
Only 1 process will be allowed to provide completions, the Async Event, or the standard process."
one thing different about this event other than being async, is it supports tooltips on tab completions
not sure how tooltips should be implemented if at all. however, it does still just support static strings
import:
com.destroystokyo.paper.event.server.AsyncTabCompleteEvent
java.util.List
on AsyncTabCompleteEvent:
set {_buffer::*} to split event.getBuffer() at " "
if {_buffer::1} is "/tab":
set {_completion} to AsyncTabCompleteEvent.Completion.completion("test", formatted "tooltip")
set {_list} to List.of({_completion})
event.completions({_list})
Additional Information
https://jd.papermc.io/paper/26.2/com/destroystokyo/paper/event/server/AsyncTabCompleteEvent.html
Suggestion
Async Tab Complete event would be nice. Similar to my other issue, but I see you completed that already so I made this.
"Allows plugins to compute tab completion results asynchronously.
If this event provides completions, then the standard synchronous process will not be fired to populate the results. However, the synchronous TabCompleteEvent will fire with the Async results.
Only 1 process will be allowed to provide completions, the Async Event, or the standard process."
one thing different about this event other than being async, is it supports tooltips on tab completions
not sure how tooltips should be implemented if at all. however, it does still just support static strings
Additional Information
https://jd.papermc.io/paper/26.2/com/destroystokyo/paper/event/server/AsyncTabCompleteEvent.html