mark

fun PersistentDataHolder.mark(key: String)

Marks this object with the given key. This is persistent.

This function makes sure that there are no conflicts with other plugins, therefore even simple keys are safe.

fun ItemStack.mark(key: String)

See also