Skip to content
Audio & Effects

/sound 2d

Play a 2D sound event

Also available as: /sound play

Spelling

  • /sound 2d <sound> [--player=<value>] [--category=SFX] [--all]
  • Main commandthe command name that starts it all
  • SubcommandSubcommand: an additional word after the command
  • Requiredrequired, in a fixed order
  • Optionaloptional, with --name=value
  • FlagFlags without values

Arguments

ArgumentTypeTypeDescription
soundRequired

SoundEvent Asset

A reference to an Asset of type SoundEvent

Look up in the sound database

The sound event to play

--playerOptional

Player

The name of the player.

An online player

--categoryWith Default Value

Default: SFX

SoundCategory

music, ambient, sfx, ui, voice

musicambientsfxuivoice

The sound category (SFX, Music, etc.)

--allFlag–

Play the sound to all players instead of just the sender

Permissions

Permission
hytale.system.command.sound.2d
Default group
WorldEditorfrom the parent command
For other players

hytale.system.command.sound.2d.otherfor other players (--player)

The groups build on one another: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Higher groups inherit the permissions of lower ones; new players are Adventurers, and admins (OP) can do everything.

Back to command reference

/sound 2d — Hytale command reference | ZAP-Hosting