Commands, time formats, and permissions
Docs/timemanager/Commands, time formats, and permissions

Commands, time formats, and permissions

Reference TimeManager player commands, time aliases, freeze and synchronization behavior, and the permission nodes administrators can grant.

Command rules

TimeManager uses /ptime as its main command. Players can run its subcommands. The console receives a player-only error. With no arguments, /ptime displays the help message.

Command overview

CommandPermissionPurpose
/ptime set <time>ptime.setSet your client-side time.
/ptime resetNo extra nodeClear the personal override and fully return to server time.
/ptime freezeptime.freezeFreeze the current personal time. Without an existing override, it starts from the current server time.
/ptime unfreezeptime.freezeCancel the frozen state and let personal time advance at the server’s pace.
/ptime infoNo extra nodeShow server time, personal time, and synchronized/overridden/frozen status.
/ptime helpNo extra nodeShow command help and accepted time formats.

reset, info, and help do not have separate TimeManager permission nodes, although a server permission manager can still affect command visibility. When a required node is missing, the plugin returns an in-game error.

Time formats

/ptime set accepts time names or game ticks from 0 through 24000, inclusive:

InputTicksMeaning
sunrise0Around sunrise.
day1000Morning, commonly used as the start of daytime.
noon6000Noon.
sunset12000Around sunset.
night14000Nighttime.
midnight18000Midnight.
Number0–24000Use the specified game tick directly.

Names are case-insensitive. Values outside the range, negative numbers, and unrecognized text are rejected with a format error.

Common workflows

Temporarily switch to daytime

/ptime set day

This changes only the executor’s view. After taking a photograph, run /ptime reset to return to the server’s current time.

Freeze the current view

/ptime freeze

While frozen, personal time does not continue to change. Resume it with:

/ptime unfreeze

Use /ptime reset when you want to clear the personal override completely rather than only canceling the freeze.

Inspect the current state

/ptime info

The output lists server time and personal time separately and reports SYNCHRONIZED, OVERRIDDEN, or FROZEN.

Permission setup

Both feature permissions are declared with a default value of true in plugin.yml:

Permission nodeDefaultControls
ptime.settrue/ptime set.
ptime.freezetrue/ptime freeze and /ptime unfreeze.

To limit personal time to a photography or administration group, disable inheritance for ordinary groups in the permission manager. Grant these nodes to the selected groups. Verify the result with a non-OP account. OP may bypass the normal group rules.

TimeManager does not provide a command to set another player’s time. The executor is always the current player. When investigating a problem, record the player’s permission nodes, the exact command, the server core, and the console log.