promotional bannermobile promotional banner
premium banner
Keep track of how long you've been playing with customizable time limits and visual feedback

Description

A Play Time Tracker mod displays your online playtime and lets you set a time limit with a dynamic color-changing progress bar.

Hytale Version

Features

  • Real-time playtime display - Shows how long you've been online in HH:MM:SS format
  • Customizable time limits - Set a maximum playtime for yourself or other players
  • Visual progress bar - Color-coded bar that changes based on remaining time:
    • 🟒 Green (>50% remaining)
    • 🟑 Yellow (25-50% remaining)
    • πŸ”΄ Red (<25% remaining)
  • Auto-disconnect - Automatically disconnects players when their time limit is reached
  • Admin controls - Operators can set time limits for other players

Installation

  1. Download the latest PlaytimeTracker-1.0.0.jar from releases
  2. Place the JAR file in your server's mods/ folder
  3. Restart the server

Commands

/limitTime <minutes> (self)

/limitTime <minutes> [player] (op only)

Set a time limit for yourself or another player.

Parameter Type Required Description
minutes Integer βœ… Yes Time limit in minutes. Use 0 to remove the limit
player Player ❌ No Target player (operators only)

Examples

/limitTime 60          # Set your own limit to 60 minutes
/limitTime 0           # Remove your time limit
/limitTime 30 Steve    # Set Steve's limit to 30 minutes (admin only)
/limitTime 0 Steve     # Remove Steve's limit (admin only)

Permissions

Action Permission Required
Set your own limit None (everyone)
Set other player's limit Operator (*)

HUD Display

The HUD appears in the top-left corner of the screen and shows:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Time Online:        β”‚
β”‚ 01:23:45            β”‚
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘ (bar)  β”‚
β”‚ Remaining: 00:36:15 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • Time Online - Your current session duration
  • Progress Bar - Visual indicator (only visible when limit is set)
  • Remaining - Time left before disconnect (only visible when limit is set)

Configuration

Currently, PlaytimeTracker does not require any configuration files. All settings are managed through in-game commands.

Technical Details

  • Per-session tracking - Playtime resets when you disconnect

Changelog

v1.0.0

  • Initial release
  • Playtime HUD display
  • Time limit command with progress bar
  • Color-coded visual feedback
  • Admin controls for setting other players' limits