HomeJavaModsLocal Time (PlaceholderAPI)
Local Time (PlaceholderAPI)
ModsJava

Local Time (PlaceholderAPI)

LocalTime Advanced Time & Date Placeholders for PlaceholderAPI ​ Overview LocalTime is a powerful yet lightweight PlaceholderAPI expansion that brings…

⬇ Download on Spigot
LocalTime
Advanced Time & Date Placeholders for PlaceholderAPI

[​IMG]
Overview
LocalTime is a powerful yet lightweight PlaceholderAPI expansion that brings customizable time and date placeholders to your server. Display server time in any format, show dates with custom patterns, and give your players timezone-aware information.


Features


Placeholders
Basic Time & Date
Code (Text):
%localtime_time%          → 14:30:45 (configurable)
%localtime_time_12h%       → 02:30:45 PM
%localtime_time_24h%       → 14:30:45
%localtime_time_short%     → 14:30 or 2:30 PM
%localtime_date%           → 2026-03-09
%localtime_date_short%     → 03/09/2026
%localtime_date_long%      → March 09, 2026
%localtime_datetime%       → 2026-03-09 14:30:45
Components
Code (Text):
%localtime_day%            → 9
%localtime_month%          → 3
%localtime_year%           → 2026
%localtime_hour%           → 14
%localtime_minute%         → 30
%localtime_second%         → 45
Names
Code (Text):
%localtime_day_name%       → Monday
%localtime_day_name_short% → Mon
%localtime_month_name%     → March
%localtime_month_name_short% → Mar
Timezone & Unix
Code (Text):
%localtime_timezone%       → America/New_York
%localtime_timezone_offset% → -05:00
%localtime_unix%           → 1741535445
%localtime_unix_millis%    → 1741535445000

Configuration
Code (YAML):
# Timezone Settings
timezone-mode
: "fixed"     # "fixed" or "server"
timezone
: "GMT"           # Any valid timezone ID

# Time Format
time-format-12h
: false     # true for 12h, false for 24h
show-am-pm
: true           # Show AM/PM in 12h mode
time-pattern
: "HH:mm:ss"   # Custom pattern

# Date Format
date-pattern
: "yyyy-MM-dd"
date-time-separator
: " "
 
Example Configurations

12-hour format with AM/PM:
Code (YAML):
time-format-12h : true
show-am-pm
: true
time-pattern
: "hh:mm:ss a"
European date format:
Code (YAML):
date-pattern : "dd/MM/yyyy"
Use server timezone:
Code (YAML):
timezone-mode : "server"
Specific timezone:
Code (YAML):
timezone-mode : "fixed"
timezone
: "America/New_York"

Commands & Permissions

Commands
Code (Text):
/localtime         - Show plugin info
/localtime reload   - Reload configuration
/localtime info     - Display current settings

Alias: /lt
Permissions
Code (Text):
localtime.use      - Use commands (default: everyone)
localtime.reload   - Reload config (default: OP)

Installation

  1. Download LocalTime-2.0.0.jar
  2. Place in your server's plugins/ folder
  3. Make sure PlaceholderAPI is installed
  4. Restart your server
  5. Configure plugins/LocalTime/config.yml to your needs
  6. Use /papi reload if needed


Requirements



Changelog - Version 2.0.0



Support

Found a bug? Have a suggestion? Post in the discussion thread or open an issue on GitHub.

Enjoying the plugin? Leave a review!

Made with ❤️ for the Minecraft community
by Anonventions

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

Local Time (PlaceholderAPI) is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 1,062 times (via Spigot). Download it and open it directly in the game.

Explore more