Using Commands in Hytale

Commands can help you to interact with your game in ways that you can't while playing normally that might entirely change the gameplay experience. This article will provide a list of some of the most useful and commonly used commands, what to type to use the command, and a brief explanation of what each command does. For an exhaustive list of all commands, click here to view the official wiki. You can also view all commands using the in-game menu by opening the Creative Tools menu, then click Commands under the Help tab.

Hytale has a lot of commands, so this list will only include the most useful ones. Some of these commands can be used by any player while others require you to have admin or OP status on the server.

📘

Help with command syntax

Commands can have multiple parts. Make sure to enter each part correctly to send the command without error. Here are some examples to make it easier to understand:

/ban <player> <reason>
/ban badplayer123 Being mean to me
For this command, we need to specify a player to ban, followed by a reason for banning the user.

/time <dawn | midday | dusk | midnight>
/time dusk
This command can be used to set the time to one of four options. In this case, the time will be set to dusk.

Some commands will also have an optional argument. These can be used to narrow down or specify how a command should run. They are not needed to run the command.
/maxplayers --amount <amount>
/maxplayers --amount 10
The --amount argument allows for specifying the max number of players. Without it, the current max player count is displayed instead.

Commands

ban

Usage: /ban <player> <reason>

Bans a player from the server. The <player> is the username of the player to ban, and <reason> is an additional message that can be added as details for why a user was banned.


give

Usage: /give <player> <item>

Gives an item to a player. The <player> is the username of the player to give an item to, and <item> is the item to give to a player. Optional arguments can be used to change specific properties of the item or to grant a certain amount of the item.

Optional Arguments:

  • --durability <durability> - Sets the amount of durability on the item.
  • --metadata <metadata> - Sets additional item data.
  • --quantity <quantity> - Sets the number of items to grant to the item.

kick

Usage: /kick <player>

Kicks the player from the server. The <player> is the username of the player to kick.


maxplayers

Usage: /maxplayers

Displays the maximum number of players that can join the server. Can also be used to set the maximum number of players by using optional arguments.

Optional Arguments:

  • --amount <amount> - The new number of players that can join the server.

op

Adds or remove Op permissions of a player. Check out this guide for more details on using this command.


ping

Usage: /ping

Checks the player's ping to the server. The lower this is, the more responsive player actions are on the server. Optional arguments can get more information.

Optional Arguments:

  • --player <player> - The player to check the ping to.
  • --detail - Outputs additional ping information.

say

Usage: /say <message>

Broadcasts a message to the server. The <message> is what will be sent to the server.


spawn

Usage: /spawn <<player> | set | default>

Teleports the player to a spawn point. Leaving this blank will teleport the sender, or specifying a <player> will teleport that player to spawn. Using set will create a new world spawn point, and using default will make this spawn point the default. An optional argument can be used to specify which spawn point to use.

Optional arguments:

  • --spawnIndex <index> - Selects the spawn point by index number.

time

Usage: /time <dawn | midday | dusk | midnight>

Sets the time of the world to a pre-defined time setting. These are dawn, midday, dusk, or midnight. An optional argument can be used to specify which world's time is changed.

Optional arguments:

  • --world <world> - Specifies which world to change the time in.

tp

Usage: /tp <player> <<target> | <x> <y> <z>>
/tp <back | forward | home>

Teleports the player. There are two ways this command can be used.

The first will teleport the specified player to another player or co-ordinate. The <player> is the username of the player to teleport. Another player can be specified using <target>, or a coordinate can be specified, such as 25 64 -100

Another way to use this command is to navigate through a predefined list of locations. Using back will load the previous teleport location, while using forward will load the following teleport location. The back and forward option will only work if possible. Using home will teleport players to their home location.


unban

Usage: /unban <player>

Unbans a player from the server. The <player> is the username of the player to unban.


voice

Manages voice chat settings on the server. Check out this guide for more information.


whitelist

Manages the whitelist on the server. Check out this guide on how to manage a whitelist.

Old Table (remove before publishing)

Command

Description

/ban <player> <reason>

Bans a player from the server.

/give <player> <item>
--durability <durability>
--metadata <metadata>
--quantity <quantity>

Gives an item to a player. Durability can be specified with --durability. Item metadata can be specified with --metadata. The number of items can be specified with --quantity.

/kick <player>

Kicks a player from the server.

/kill <player>

Instantly kills a player.

/maxplayers
--amount <amount>

Displays the maximum player count. Specifying an amount with --amount sets a new maximum player count.

/op <add | remove>

Manages operator permissions for a player. Use add to add a player, and remove to revoke permissions.

/ping
--player <player>
--detail

Displays the ping to the server. Specifying a player with --player will display the ping for that player. More information can be displayed with --detail.

/say <message>

Broadcasts a message to the server.

/spawn <player | set | default>
--spawnIndex <index>

Manages the spawn point on the server. Using player or leaving out this parameter will teleport the player to spawn. Using set will create a new spawn point. Using default will set the default spawn point. --spawnIndex can be used to target a specific spawn point.

/time <dawn | midday | dusk | midnight>
--world <world>

Sets the world time to Dawn, Midday, Dusk, or Midnight. Specifying a world with --world will change the time just for that world.

/tp <player> \<target | x y z>

Teleports a player to a target player or specific coordinate in the world. If a player is not specified, it will teleport the command sender to the target.

/tp <back | forward | home>

Teleports the player to a specific point. Using back or forward will teleport the sender to a previous or more recent teleport location if there is one. Using home will teleport a player to their home.

/unban <player>

Unbans a player from the server.

/voice

Manages voice chat settings.

/whitelist

Manage whitelist settings.