Eranio
Color theme

Player Management

Eranio

Player Management

Complete guide to the Players page, viewing online/offline players, player actions (kick, heal, teleport, gamemode, OP, ban), inventory editing and item giving.


Player List

Four figures sit at the top: Online now, Known players, Offline and Most common game mode.

The table shows every known player from two merged sources:

Source Used for Data
Java mod API (GET /api/players) Online players Name, UUID, position, game mode, stats
Save files (universe/players/*.json) Offline players Last stats, inventory, last position

Online players always come from the API, offline players from their save file. If the server reports 0 players online while the API still returns players, all of them are shown as offline.

New players from the server files are picked up automatically when the dashboard or the players page is opened (at most every five minutes per server) and added to known_players.json. There is no button for it any more.

The table refreshes every 15 seconds. The Status filter shows only online or only offline players.

Columns

Column Description
Avatar Head of the player skin (identicon in demo mode)
Name Player name, with online or offline status
Game mode Current game mode
Adventure Current world, instance notice, scale, wilderness map and blocked debug screen as badges
Health, Stamina, Mana, Defence Current values
Position X, Y, Z

Actions Menu

Every online player has a three-dot menu with two titled sections.

Adventure

Action Effect
To player Teleports to another player, also across worlds
To spawn Sends the player to the spawn of their current world
Send to world Teleports the player to the spawn of another loaded world
Back / Forward Steps through the teleport history (Hytale's /back)
Size Scales the player from 25 to 400 %
Wilderness map Turns the wilderness debug map on or off
Open instance Opens an instance from a template and sends the player in; on leaving they return to their old position
Leave instance Brings the player out of the instance
Debug screen Locks or unlocks the debug screen (F3)

The player card shows the current world (with an instance hint), size, wilderness map and a locked debug screen as badges.

Manage player

Kick, heal, teleport, game mode, OP and inventory actions as described below.


Player Actions

Inventory opens the inventory editor (see below). The other actions sit in the Manage player menu:

Action Online only Permission Success message Error message
Heal yes players-manage ":player has been healed to full health" "Failed to heal player"
Teleport (X, Y, Z) yes players-manage ":player has been teleported" "Failed to teleport player" or the mod's reason
Set game mode yes players-manage ":player's gamemode set to :gamemode" error message
Give item (item, amount) yes players-inventory ":amount x :item given to :player" "Failed to give item" or the mod's reason
Clear inventory yes players-inventory ":player's inventory has been cleared" "Failed to clear inventory"
OP / De-OP no players-manage ":player is now operator" / ":player is no longer operator" error message
Kick yes players-manage ":player has been kicked" "Failed to kick player"
Ban Player (reason) no players-manage ":player has been banned" "Failed to ban player"

Permissions are shown without the hytale-admin. prefix. Banning from the players page needs players-manage, on the moderation page moderation-manage. All actions are recorded in the activity log.


Inventory Editor

The visual inventory editor requires the hytale-admin.players-inventory permission.

Online vs. Offline Editing

Player State Method Latency Risk
Online Java Mod API Real-time Low, API validates changes
Offline Direct save file editing Immediate Medium, no validation, be careful

Inventory Sections

Section Slots Description
Armor 4 Head, chest, hands, legs
Utility 4 Utility slots
Hotbar 9 Quick access bar
Storage 36 Main inventory
Backpack depends on the backpack Appears with the capacity of the worn backpack
Unlocked Items list Unique items the player has unlocked (display only)

Editing starts after clicking Edit in the dialog (permission hytale-admin.players-inventory). Then clicking a slot opens the slot menu with change amount, replace (item picker) and delete. Items can be moved between slots.

Armor Slot Filtering

Items are filtered for appropriate armor slots by suffix:

  • _Head → Head slot only
  • _Chest → Chest slot only
  • _Hands → Hands slot only
  • _Legs → Legs slot only

Slot Operations

Set slot: success "Slot updated successfully"

Delete slot: success "Slot :section #:slot cleared", error "Failed to clear slot"

Move: success "Item moved successfully"

Item Search

The item search function (GET /items/search) has special behavior:

  • Max 50 results to prevent Livewire snapshot bloat
  • Reverse lookup for non-English panels: Translated item names are reverse-mapped to English keys, then searched via the API with English terms
  • Auto-complete with debounce
  • Base64 item icons extracted from item data for visual display

Player Stats from Save Files

When reading save files (universe/players/*.json), the following stats are extracted:

Stat Field
Health health
Max Health maxHealth
Stamina stamina
Max Stamina maxStamina
Mana mana
Max Mana maxMana
Defence defence
Position X, Y, Z
Gamemode gamemode

BSON Compatibility: Player save files use json_decode($content, false) (NOT associative arrays) because Hytale uses a BSON-like encoding where the distinction between {} (object) and [] (array) matters. Using json_decode($content, true) would break the save format.


Troubleshooting

Player list is empty

  • No players have ever joined the server
  • Java mod not running (API unavailable)
  • known_players.json missing, reopen the dashboard or the players page, the panel then reads the player files again

Online player shows as offline

  • Stale API protection triggered: Status says 0 online but API still returns the player
  • Wait for next poll cycle (15s)
  • Player may have disconnected between status and player API calls

Inventory editor doesn't load

  • Player save file missing or corrupted
  • For online players: API endpoint /players/{name}/inventory returned error
  • Check storage/logs/laravel.log for "Hytale API error"

"Give failed" with specific error

  • Invalid item ID, check item name spelling
  • Amount out of range
  • The API returns specific error messages in $result['error']

Item search returns wrong results

  • Non-English panel: reverse lookup maps translated name → English key → API search
  • Try searching in English for more accurate results
  • Item database may not include modded items

Save file editing issues

  • Never edit save files while a player is online, the server will overwrite your changes
  • The offline editor modifies the JSON directly, mistakes can corrupt the save
  • Back up the save file before major edits