Closed Distractic closed 1 year ago
Currently, for Velocity, the class SuspendingSimpleCommand is present. However, lot of server use Brigadier command system. So, could you add some extensions to use brigadier command in a coroutine context ?
SuspendingSimpleCommand
The documentation about brigadier + Example Other example of brigadier
I think the velocity module has got a binding for the brigadier command builder. It is attached to the ArgumentBuilder
ArgumentBuilder
https://github.com/Shynixn/MCCoroutine/blob/5453248116100463dc20aa9b2e45f66d5d398e38/mccoroutine-velocity-api/src/main/java/com/github/shynixn/mccoroutine/velocity/MCCoroutine.kt#L103
Ah yes ! My bad, I didn't see the method executesSuspend
executesSuspend
Context
Currently, for Velocity, the class
SuspendingSimpleCommand
is present. However, lot of server use Brigadier command system. So, could you add some extensions to use brigadier command in a coroutine context ?The documentation about brigadier + Example Other example of brigadier