Home›Java›Mods›WorldTimer
WorldTimer
ModsJava

WorldTimer

Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.

by blueobsidian196 · on Modrinth

WorldTimer adds per‑world playtime limits with rank-based overrides, warnings, cooldowns, and safe return teleports. Ideal for limiting time in…

⬇ Download on Modrinth

WorldTimer

A Paper 1.20.1 plugin that enforces configurable time limits for specific worlds (e.g., resource worlds) with rank-based overrides via LuckPerms.

Features

Requirements

Optional Dependencies

Installation

  1. Download the latest world-timer-x.x.jar from releases
  2. Place it in your server's plugins/ folder
  3. Restart the server
  4. Edit plugins/WorldTimer/config.yml to configure your worlds
  5. Reload with /worldtimer reload

Configuration

# How often the plugin checks timers (in seconds)
tick-seconds: 1

storage:
  type: sqlite

messages:
  prefix: "&8[&bWorldTimer&8] &r"
  warn: "&eYou have &6%time_remaining% &eremaining in &6%world%&e."
  expired: "&cYour time in &6%world% &chas expired."
  cooldown: "&cYou must wait &6%cooldown_remaining% &cbefore re-entering &6%world%&c."

worlds:
  resource:                              # World name (case-insensitive)
    enabled: true
    main-world: "survival"               # Fallback teleport world
    teleport-location: "spawn"           # Currently uses return point or spawn
    default-limit-seconds: 1800          # 30 minutes (used if no permission)
    default-cooldown-seconds: 600        # 10 minutes (used if no permission)
    limit-permission-prefix: "worldtimer.limit.resource."
    cooldown-permission-prefix: "worldtimer.cooldown.resource."
    bypass-permission: "worldtimer.bypass.resource"
    warn-at-seconds: [600, 300, 60, 10]  # Warn at 10m, 5m, 1m, 10s remaining
    expire-commands:
      - "title %player% title {\"text\":\"Time is up!\",\"color\":\"red\"}"

Permissions

Time Limit Permissions

Format: worldtimer.limit.<world>.<duration>

Permission Effect
worldtimer.limit.resource.30m 30 minute limit
worldtimer.limit.resource.1h 1 hour limit
worldtimer.limit.resource.2h 2 hour limit
worldtimer.limit.resource.unlimited No time limit

Duration formats: 30s, 30m, 2h, 1d, unlimited

If a player has multiple limit permissions, the highest value is used.

Cooldown Permissions

Format: worldtimer.cooldown.<world>.<duration>

Permission Effect
worldtimer.cooldown.resource.5m 5 minute cooldown
worldtimer.cooldown.resource.10m 10 minute cooldown
worldtimer.cooldown.resource.0s No cooldown

If a player has multiple cooldown permissions, the highest value is used.

Other Permissions

Permission Description
worldtimer.bypass.<world> Bypass all restrictions for a world
worldtimer.admin Full access to all commands
worldtimer.reload Access to /worldtimer reload
worldtimer.manage Access to reset/addtime/setcooldown commands
worldtimer.status Access to /worldtimer status

Commands

Command Description
/worldtimer reload Reload configuration
/worldtimer status [player] View timer status for yourself or another player
/worldtimer reset <player> <world> Reset a player's timer and cooldown
/worldtimer addtime <player> <world> <time> Add time to a player's allowance
/worldtimer setcooldown <player> <world> <time> Set or clear a player's cooldown

Alias: /wt

How It Works

Entry Flow

  1. Player teleports to a configured world
  2. Plugin checks for bypass permission → if present, allow freely
  3. Plugin checks for active cooldown → if active, block entry and show message
  4. Plugin saves the player's current location as their return point
  5. Plugin resolves time limit from permissions (or uses default)
  6. Timer tracking begins

While In World

On Expiry

  1. Expiry message is sent
  2. Configured expire-commands are executed
  3. Cooldown begins (based on permissions or default)
  4. Player is teleported back to their saved return point
  5. If no return point exists, player goes to main world spawn

Disconnect Safety

LuckPerms Setup Example

# Default rank: 30 minute limit, 10 minute cooldown
/lp group default permission set worldtimer.limit.resource.30m true
/lp group default permission set worldtimer.cooldown.resource.10m true

# VIP rank: 1 hour limit, 5 minute cooldown
/lp group vip permission set worldtimer.limit.resource.1h true
/lp group vip permission set worldtimer.cooldown.resource.5m true

# MVP rank: 2 hour limit, no cooldown
/lp group mvp permission set worldtimer.limit.resource.2h true
/lp group mvp permission set worldtimer.cooldown.resource.0s true

# Staff: bypass all restrictions
/lp group staff permission set worldtimer.bypass.resource true

Without LuckPerms

If LuckPerms is not installed, the plugin still works:

Storage

Data is stored in plugins/WorldTimer/data.db (SQLite):

Placeholders

Available in messages:

Building

mvn clean package

Output: target/world-timer-1.0-SNAPSHOT.jar

License

MIT

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more