Player Commands
System commands - uses hytale.system.command.* namespace
/gamemode
Section titled “/gamemode”Changes player game mode.
Aliases: gm
Permissions:
hytale.system.command.gamemode.self- Change own game modehytale.system.command.gamemode.other- Change other player’s game mode
/gamemode <mode>/gamemode <mode> <player>| Argument | Type | Required | Description |
|---|---|---|---|
mode | GameMode | Yes | Target game mode |
player | Player | No | Target player (requires .other permission) |
Game Modes: adventure, creative
Kills a player.
Permissions:
hytale.system.command.kill.self- Kill yourselfhytale.system.command.kill.other- Kill other players
/kill/kill <player>| Argument | Type | Required | Description |
|---|---|---|---|
player | Player | No | Target player |
/damage
Section titled “/damage”Deals damage to a player.
Aliases: hurt
Permissions:
hytale.system.command.damage.self- Damage yourselfhytale.system.command.damage.other- Damage other players
/damage [--amount=?] [--silent]/damage <player> [--amount=?] [--silent]| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
player | Player | No | Self | Target player |
--amount | Float | No | 1.0 | Damage amount |
--silent | Flag | No | false | Suppress feedback |
Gives items to a player.
Permissions:
hytale.system.command.give.self- Give items to yourselfhytale.system.command.give.other- Give items to other players
/give <item> [--quantity=1] [--durability=?] [--metadata=?]/give <player> <item> [--quantity=1] [--durability=?] [--metadata=?]/give armor <armorSet>| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
item | Item | Yes | - | Item asset ID |
player | Player | No | Self | Target player |
--quantity | Integer | No | 1 | Stack count |
--durability | Float | No | Max | Item durability |
--metadata | String | No | - | BSON metadata JSON |
Subcommands:
| Subcommand | Arguments | Description |
|---|---|---|
armor | <armorSet> | Give complete armor set |
/inventory
Section titled “/inventory”Inventory management.
Aliases: inv
Permission Group: Creative
Permissions:
hytale.system.command.inventory.*- Base inventory commandshytale.system.command.inventory.see.modify- Modify other player’s inventory
/inventory clear [player]/inventory see <player>/inventory item <slot> [operations...]/inventory backpack [operations...]/inventory itemstate <operations...>Subcommands:
| Subcommand | Permission | Description |
|---|---|---|
clear | inventory.clear | Clear inventory |
see | inventory.see | View player’s inventory |
item | inventory.item | Item slot management |
backpack | inventory.backpack | Backpack management |
itemstate | inventory.itemstate | Item state management |
/spawnitem
Section titled “/spawnitem”Spawns items in the world at player’s location.
Permission: hytale.command.spawnitem
/spawnitem <item> [--qty=1] [--count=?] [--force=1.0]| Argument | Type | Required | Default | Aliases | Description |
|---|---|---|---|---|---|
item | Item | Yes | - | - | Item type |
--qty | Integer | No | 1 | - | Quantity per stack |
--count | Integer | No | 1 | n | Number of stacks |
--force | Float | No | 1.0 | x | Throw force multiplier |
/player zone
Section titled “/player zone”Shows current zone and biome information.
Permission: hytale.system.command.player.zone
/player zone [player]| Argument | Type | Required | Description |
|---|---|---|---|
player | Player | No | Target player |
/player stats
Section titled “/player stats”Player statistics management.
Aliases: stat
Permission: hytale.system.command.player.stats.*
/player stats get <stat> [player]/player stats set <stat> <value> [player]/player stats add <stat> <amount> [player]/player stats reset <stat> [player]/player stats dump [player]/player stats settomax <stat> [player]| Subcommand | Permission | Description |
|---|---|---|
get | player.stats.get | Get stat value |
set | player.stats.set | Set stat value |
add | player.stats.add | Add to stat |
reset | player.stats.reset | Reset stat |
dump | player.stats.dump | Dump all stats |
settomax | player.stats.settomax | Set stat to max |
| Argument | Type | Required | Description |
|---|---|---|---|
stat | String | Yes | Stat ID (e.g., Health, MaxHealth) |
value | Float | For set | New value |
amount | Float | For add | Amount to add |
player | Player | No | Target player |
/player reset
Section titled “/player reset”Resets player data.
Permission: hytale.system.command.player.reset
/player reset [player]/player respawn
Section titled “/player respawn”Forces player respawn.
Permission: hytale.system.command.player.respawn
/player respawn [player]/player effect
Section titled “/player effect”Player effect management.
Permissions:
hytale.system.command.player.effect.apply.self- Apply effects to yourselfhytale.system.command.player.effect.apply.other- Apply effects to othershytale.system.command.player.effect.clear.self- Clear own effectshytale.system.command.player.effect.clear.other- Clear others’ effects
/player effect apply <effect> [--duration=100.0]/player effect apply <player> <effect> [--duration=100.0]/player effect clear [player]| Argument | Type | Required | Default | Validation | Description |
|---|---|---|---|---|---|
effect | EntityEffect | Yes | - | - | Effect to apply |
--duration | Float | No | 100.0 | > 0 | Duration in ticks |
player | Player | No | Self | - | Target player |
/emote
Section titled “/emote”Plays an emote animation.
Permission Group: Adventure
Permission: hytale.command.emote
/emote <emote>| Argument | Type | Required | Description |
|---|---|---|---|
emote | String | Yes | Emote ID |
/whoami
Section titled “/whoami”Displays player info (UUID, username, language).
Aliases: uuid
Permission Group: Adventure
Permissions:
hytale.system.command.whoami.self- View own infohytale.system.command.whoami.other- View other player’s info
/whoami/whoami <player>| Argument | Type | Required | Description |
|---|---|---|---|
player | Player | No | Target player (requires .other permission) |
/whereami
Section titled “/whereami”Displays player location.
Permission Group: Creative
Permissions:
hytale.system.command.whereami.self- View own locationhytale.system.command.whereami.other- View other’s location
/whereami/whereami <player>Check connection ping.
Permission Group: Adventure
/ping [player] [--detail]/ping clear [player]/ping graph [width] [height] [player]| Subcommand | Arguments | Description |
|---|---|---|
| (default) | [player] [--detail] | Show ping statistics |
clear | [player] | Clear ping history (alias: reset) |
graph | [width] [height] [player] | Show ping graph |
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
player | Player | No | Self | Target player |
--detail | Flag | No | - | Show detailed ping info |
width | Integer | No | 100 | Graph width |
height | Integer | No | 10 | Graph height |
/player camera
Section titled “/player camera”Camera controls.
Permission: hytale.system.command.player.camera.*
/player camera reset/player camera topdown/player camera sidescroller/player camera demo activate/player camera demo deactivate| Subcommand | Permission | Description |
|---|---|---|
reset | player.camera.reset | Reset camera |
topdown | player.camera.topdown | Top-down view |
sidescroller | player.camera.sidescroller | Side-scroller view |
demo activate | player.camera.demo | Activate demo camera |
demo deactivate | player.camera.demo | Deactivate demo camera |
/player viewradius
Section titled “/player viewradius”View radius management.
Permission: hytale.system.command.player.viewradius.*
/player viewradius get [player]/player viewradius set <radius> [player]/toggleBlockPlacementOverride
Section titled “/toggleBlockPlacementOverride”Toggle block placement override mode.
Aliases: tbpo, togglePlacement
Permission: hytale.system.command.toggleblockplacementoverride
/toggleBlockPlacementOverrideToggles whether block placement rules are overridden.