GameDefinition

data class GameDefinition(val key: String, val gameTypeId: Identifier, val displayName: String, val description: String, val icon: Item)(source)

Metadata for a game shown in the /4ever game hub.

Constructors

Link copied to clipboard
constructor(key: String, gameTypeId: Identifier, displayName: String, description: String, icon: Item)

Properties

Link copied to clipboard

One-line description shown as GUI lore.

Link copied to clipboard

Display name used in GUIs.

Link copied to clipboard
val gameTypeId: Identifier

Plasmid game type id (e.g. evermod:hello_world).

Link copied to clipboard
val icon: Item

Item icon used in GUIs.

Link copied to clipboard
val key: String

Short command key used by /4ever game <key>.