Skip to content

Commands

LoriTime commands are grouped by command family below. Command names and aliases can be customized in commands.yml; availability is still decided by LoriTime’s runtime profile.

Runtime note: Canonical data commands such as time lookup, top list, and modify actions are available on proxy storage owners and backend standalone/master instances. Backend slave instances register local admin commands and AFK when enabled, but not canonical data mutation commands.

Aliases: lt, lorit, ltime

CommandDescriptionPermission
/loritimeView your global online time.loritime.see
/loritime <player>View another player’s global online time.loritime.see.other
/loritime [server:<server> | s:<server>] [<player>]View online time for one server.loritime.see.server / loritime.see.server.other
/loritime [world:<world> | w:<world>] [server:<server> | s:<server>] [<player>]View online time for one world. Without a server flag, LoriTime uses the current backend on a proxy or the configured local server name on standalone backends.loritime.see.world / loritime.see.world.other
/loritime [<player>] [time:<range> | t:<range>] [server:<server> | s:<server>] [world:<world> | w:<world>]View online time inside a history window.Selected lookup permission plus loritime.see.timerange / loritime.see.timerange.other

Examples:

/lt
/lt Lorias_
/lt server:survival Lorias_
/lt world:spawn server:lobby
/lt Lorias_ server:survival time:7d
/lt Lorias_ world:spawn server:lobby time:3d-4w

time:7d queries from now back seven days. time:3d-4w queries from four weeks ago up to three days ago.

Aliases: ttop, lttop, ltop, toptimes

CommandDescriptionPermission
/loritimetop <page>List players recognized by LoriTime, sorted by the most online time.loritime.top

Backend command: /lta
Proxy command: /plta

CommandDescriptionPermission
/lta infoShow plugin and server version information for the current instance.loritime.admin
/lta reloadReload the current LoriTime instance and config.loritime.admin
/lta updateRun the configured update flow when an update is available.loritime.admin
/lta debugEnable or disable debug logging for the current instance.loritime.admin
/lta transfer ...Preview and confirm moving stored history between server/world scopes.loritime.admin
/lta deleteHistory ...Preview and confirm deleting stored history for one server/world scope.loritime.admin
/lta confirmConfirm the pending admin maintenance action within 15 seconds.loritime.admin

reload, debug, info, and update operate only on the instance where they are executed. In a multi-setup, run them on each proxy/backend instance that should be affected.

Transfer rewrites stored LoriTime history from one server or world scope to another. It is intended for administrative corrections such as renamed servers, renamed worlds, or data tracked under the wrong scope.

/lta transfer [player] server:<sourceServer> to-server:<targetServer> [time:<range>]
/lta transfer [player] server:<sourceServer> world:<sourceWorld> [to-server:<targetServer>] to-world:<targetWorld> [time:<range>]
/lta confirm

Short flags are accepted:

s:<server>
w:<world>
ts:<targetServer>
tw:<targetWorld>
t:<range>

If player is provided, LoriTime resolves that player to a stored UUID first and only moves that player’s matching data. Unknown players are rejected before preview. If player is omitted, LoriTime moves matching data for all players. All-player transfers do not support time:<range>.

Server transfers move sessions under the source server, server-scoped adjustments, and world-scoped adjustments under the source server. World transfers move sessions and world-scoped adjustments for the exact world. Global adjustments are not transferred.

Player-scoped transfers can include a time range. Sessions move only when both join and leave timestamps are inside the range. Partially overlapping sessions are not split. Matching non-global adjustments move only when their creation timestamp is inside the range.

deleteHistory removes persisted scoped time history. It does not delete player identities and it does not remove global manual adjustments.

/lta deleteHistory [player] server:<sourceServer> [time:<range>]
/lta deleteHistory [player] server:<sourceServer> world:<sourceWorld> [time:<range>]
/lta confirm

Short flags are accepted:

s:<server>
w:<world>
t:<range>

If player is provided, LoriTime resolves that player first and deletes only that player’s matching history. If player is omitted, LoriTime deletes matching history for all players.

Server history deletion removes:

  • Sessions in all worlds under the server.
  • Server-scoped adjustments for the server.
  • World-scoped adjustments under the server.
  • Empty unreferenced server/world rows after the delete.

World history deletion removes:

  • Sessions in the exact server/world.
  • World-scoped adjustments in the exact server/world.
  • Empty unreferenced world rows after the delete.

World deletion does not remove server-scoped adjustments. Scoped history deletion never removes global adjustments or player identities.

time:<range> can be used for all-player and player-specific deletes. Sessions are deleted only when both join and leave timestamps are inside the range. Partially overlapping sessions remain unchanged. Matching non-global adjustments are deleted only when their creation timestamp is inside the range.

Transfer and deleteHistory are preview-first. Running the preview command does not mutate storage. LoriTime shows the selected player/all-player target, source or target scope, optional time range, affected sessions, affected adjustments, affected players, and a warning.

It is recommended to perform these actions only on an empty server, since any change to memory (such as joining a game, switching worlds, or leaving) will cause an inconsistency between the preview version and the current database state. This will cause the confirmation to be canceled and not executed.

The preview includes a clickable confirm action that suggests /lta confirm. The confirmation expires after 15 seconds.

Before confirming:

  • Verify the source/target labels and affected counts.
  • Check whether the operation applies to one player or all players.
  • Check the time range if one was supplied.
  • Confirm only when a verified database backup exists.

Aliases: ltm, ltmod

CommandDescriptionPermission
/ltmodify set <player> <TimeString> [server:<server> | s:<server>] [world:<world> | w:<world>]Set a player’s global, server, or world time to the given value.loritime.admin
/ltmodify modify <player> <TimeString> [server:<server> | s:<server>] [world:<world> | w:<world>]Add or remove time from a player’s global, server, or world total.loritime.admin
/ltmodify reset <player> [server:<server> | s:<server>] [world:<world> | w:<world>]Reset a player’s global, server, or world time to zero.loritime.admin
/ltmodify deleteUser <player> confirmDelete the user identity and all of that user’s LoriTime data.loritime.admin

deleteUser is different from /lta deleteHistory: deleteUser removes the player identity entirely, while deleteHistory removes scoped history rows and preserves identities.

CommandDescriptionPermission
/afkToggle your AFK state.loritime.afk

Customize command names and aliases in commands.yml:

profiles:
proxy:
admin:
name: 'plta'
aliases: ['loritimeadmin', 'loritimeproxyadmin']
modify:
name: 'ltmodify'
aliases: ['ltm', 'ltmod']
backend:
canonical:
admin:
name: 'lta'
aliases: ['loritimeadmin', 'loritimea']
modify:
name: 'ltmodify'
aliases: ['ltm', 'ltmod']
slave:
admin:
name: 'lta'
aliases: ['loritimeadmin', 'loritimea']

Existing alias customizations from config.yml should be moved to the matching command node in commands.yml. Use profiles.proxy for Velocity, profiles.backend.canonical for backend standalone or master, and profiles.backend.slave for backend slave.

The TimeString format is used by /ltmodify and configuration values such as AFK timing. Unit identifiers are configurable.

TimeString examplesEffect
7777 seconds, or 1 minute and 17 seconds.
4h 3min4 hours and 3 minutes.
28d 1h28 days and 1 hour.
2w1d2 weeks and one day.
1h -5min1 hour minus 5 minutes, or 55 minutes.
-6dMinus 6 days, only for modify usage.