Create BungeePluginMessage.kt

This commit is contained in:
bluefireoly
2020-11-02 18:20:52 +01:00
parent 6bdde93c09
commit b9ff324dbf

View File

@@ -0,0 +1,14 @@
package net.axay.kspigot.pluginmessages
import org.bukkit.entity.Player
interface BungeePluginMessageRandomPlayer {
/**
* @return True, if a player was found to send the message.
*/
fun send(): Boolean
}
interface BungeePluginMessagePlayerSpecific {
fun sendWithPlayer(player: Player)
}