Skip to main content

appearance.hat

Overview

  • Manage hat. action=get (default): show current hat info. add: equip random hat. change: switch to different random hat. remove: take off.

Metadata

FieldValue
DisplayHat
Categoryappearance
AccessScriptCheat
ScopeB2Authority
TagsExperimental
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)
actionstringnogetget (default), add, change, remove
idnamenoSpecific mesh ID to equip (for add/change). Omit for random.

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('appearance.hat', {
entity_id: 0, // optional
action: 'get', // optional
id: '', // optional
});