
walkmc.event.PlayerCommandTabCompleteEvent.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package walkmc.event
import org.bukkit.entity.*
import walkmc.*
class PlayerCommandTabCompleteEvent(
val player: Player,
val message: String,
var completions: MutableList
) : CancellableEvent() {
val lastToken: String
init {
val i = message.lastIndexOf(' ')
lastToken = if (i == -1) message else message.substring(i + 1)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy