AttachmentManager

Functions

Link copied to clipboard
fun <A : Attachment, T : AttachmentType<A>> addAttachment(player: Player, type: T): A
Link copied to clipboard
fun hasAttachment(player: Player, type: AttachmentType<*>): Boolean
Link copied to clipboard
fun Listener.registerEvents()

Shortcut for PluginManager.registerEvents, registered under the Nova plugin.

Link copied to clipboard
fun removeAttachment(player: Player, type: AttachmentType<*>)
Link copied to clipboard
fun Listener.unregisterEvents()

Unregisters this Listener from all events.