registerAttachmentType

open fun <T : Attachment> registerAttachmentType(name: String, constructor: (Player) -> T): AttachmentType<T>