Resource

interface Resource : Keyed(source)

Resource of a plugin. Get all resources via Resources.getAllResources. Resources are equal if their keys are equal.

Since

0.10.0

Functions

Link copied to clipboard
abstract override fun key(): Key

Full resource ID, where namespace is the provider ID: mmocore:mana.

Link copied to clipboard
abstract fun name(): Component

Display name of the resource defined by the plugin.