Cookie

object Cookie

Utility Methods to send and get cookies from a Player on a Minecraft Server.

Functions

Link copied to clipboard
fun get(key: NamespacedKey, player: Player, callback: (String?) -> Unit)

Get your custom Cookie from the Player

Link copied to clipboard
fun set(key: NamespacedKey, cookie: String, player: Player)

Store a Cookie in the Player with you plugin