Menu
 

Hytale Server Commands and Admin Permissions: The Ultimate Guide

Hytale Server Commands and Admin Permissions: The Ultimate Guide

Whether you are running a small, private survival server or managing a massive public community network, knowing how to control your world via the command line is essential. Hytale server commands allow you to instantly kick malicious users, spawn items for events, alter weather patterns, and manage deep server settings without needing to restart the game.

This comprehensive guide covers everything from granting your first operator (Op) status to navigating the complex `permissions.json` file to create custom roles for your moderator team.

Establishing Initial Administrator Access (OP)

When you start your Hytale dedicated server for the first time, nobody has administrative privileges in-game. To grant yourself power, you must access the live server console directly. If you are using a premium host like Supercraft, simply navigate to your web control panel and open the Web Console tab.

In the console, type the following command (do not use a slash `/` when typing directly into the server console):

op YourUsername

The console should respond with: "Made YourUsername a server operator." Once you have Op status, you can type commands in the in-game chat by prefixing them with a forward slash (`/`).

Essential Gameplay Commands

These commands are crucial for day-to-day server management and world testing.

  • /gamemode [creative|survival|adventure] [player] - Instantly changes your game mode, or the game mode of a targeted player.
  • /give [player] [item_id] [amount] - Spawns a specific item into a player's inventory. (Note: In early access, item IDs can be found via the F3 debug menu).
  • /teleport [player] [x] [y] [z] - Moves a player to specific world coordinates. You can also use /tp [player1] [player2] to snap one player to another.
  • /time set [morning|noon|evening|midnight] - Changes the world time immediately.
  • /weather [clear|rain|storm] - Overrides the procedural weather generation.
  • /kill [player/entity] - Eliminates the target. Useful for removing stuck NPCs or bugged boss encounters.

Essential Moderation Commands

When dealing with griefers, hackers, or toxic players, these commands are your primary weapons.

  • /kick [player] [reason] - Disconnects a player from the server. They can rejoin immediately.
  • /ban [player] [reason] - Adds the player's account UID to the banlist. They cannot rejoin.
  • /banip [player/ip] - Bans the specific IP address the player is currently using. Crucial for stopping repeat offenders on alternate accounts.
  • /pardon [player] - Removes a player from the banlist.
  • /mute [player] [time_minutes] - Prevents the player from sending messages in text chat or using proximity voice chat for the allotted time.

Advanced Permissions: The permissions.json File

While the basic `/op` command is great for server owners, you likely do not want to give your entire moderation staff full access to every command. Giving a junior moderator access to the `/stop` command (which shuts down the server) is a massive security risk.

Hytale utilizes a robust, node-based permission system controlled via the `permissions.json` file located in your `/config` directory. By editing this file (via FTP or your host's file manager), you can create specific groups (e.g., Admin, Moderator, VIP) and assign granular rights.

Example Permission Configuration

{
  "groups": {
    "admin": {
      "permissions": [
        "*" 
      ],
      "color": "red"
    },
    "moderator": {
      "permissions": [
        "hytale.command.kick",
        "hytale.command.ban",
        "hytale.command.mute",
        "hytale.command.teleport"
      ],
      "color": "blue"
    },
    "vip": {
      "permissions": [
        "hytale.cosmetic.glow",
        "hytale.command.nickname"
      ],
      "color": "gold"
    }
  },
  "users": {
    "YourUsername": {
      "group": "admin"
    },
    "HelpfulPlayer99": {
      "group": "moderator"
    }
  }
}

In this example, the `admin` group has the wildcard `*` permission, meaning they can do everything. The `moderator` group can kick, ban, mute, and teleport, but they cannot give themselves items, change the time, or shut down the server.

Leveraging RCON (Remote Console)

If you prefer to manage commands without logging into the game or accessing your hosting panel's web console, you can enable RCON. RCON allows third-party applications (like Discord bots or desktop apps) to send commands securely to your server.

To enable RCON, open your `config.json`:

"rcon": {
  "enabled": true,
  "port": 25575,
  "password": "SUPER_SECRET_PASSWORD"
}

Ensure that your hosting provider has the RCON port (e.g., 25575) open on the firewall. You can then use any standard RCON client to issue commands remotely.

Conclusion

Mastering server commands and carefully balancing your permissions system is what separates a chaotic, short-lived server from a professional gaming community. Take the time to properly set up your moderator roles before publicly launching your server to prevent disasters.

If you're looking for a hosting platform that makes managing consoles, FTP, and configurations effortless, choose Supercraft Server Hosting. With a custom-built panel tailored for Hytale, managing your community has never been easier.

Top