2019-10-05 09:54:42 +07:00
|
|
|
package com.terraocean.plugin.bridge
|
|
|
|
|
2019-10-12 04:56:25 +07:00
|
|
|
import com.terraocean.plugin.instance
|
|
|
|
import hazae41.minecraft.kutils.bukkit.schedule
|
2019-10-05 09:54:42 +07:00
|
|
|
|
|
|
|
fun reportPlayerActivity(username: String, activity: Long) {
|
2019-10-12 04:56:25 +07:00
|
|
|
instance.schedule(async = true) {
|
|
|
|
socket.send("active $username $activity")
|
2019-10-05 09:54:42 +07:00
|
|
|
}
|
|
|
|
}
|