▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Legi Timer

Legi Timer

An animated, extensively configurable in-game timer for Paper servers.

Оцените первым
49
0

⏱ Animated Timer (Plugin)

An animated, extensively configurable in-game timer for Paper servers.

This is a plugin port of the popular Animated Timer datapack by Tapir0. Everything the datapack does, now as a lightweight Paper plugin with a single /timer command, tab completion, permissions and an API for other plugins.

Perfect for speedruns, challenges, events and "how long have we been playing" servers.


✨ Features

  • Timer in the actionbar that counts up or down, tick-accurate
  • 29 color-gradient animations (blue-pink, ✨, gold-fade, …) with adjustable speed and direction
  • Static style with two freely chosen colors (named colors or #hex), bold and italic
  • 5 render types: 01:05:09, 1h 5m 9s, 1h 9s, 1ʜ 5ᴍ 9ꜱ, 1ʜ 9ꜱ
  • Render pattern, prefix and suffix with variables: %t (timer), %c (coordinates), %f (facing direction)
  • Extra fields globally or per player
  • Automatic pause on: advancement, credits, player death, mob kill, players leaving, item obtained
  • 12 ready-made profiles (galaxy, emerald, candy, maritime, forest, motley, crimson, …) and your own
  • Short commands /start, /pause and /reset next to the full /timer command
  • Paused screen: while paused the actionbar shows a configurable text instead of the time
  • Custom chat prefix with hex gradient support (&#rrggbb)
  • Hooks: run console commands when the timer reaches zero, a full minute/hour/day, is paused, continued or reset
  • Developer API with Bukkit events
  • State survives restarts (data.yml)

Chat messages are in German; the text shown while paused and the chat prefix can be changed in the config.


📦 Installation

  1. Drop AnimatedTimer-x.y.z.jar into your server's plugins/ folder.
  2. Restart the server.
  3. Type /timer help.

Requires Paper 26.1+ and Java 25 (or a Paper fork such as Purpur). Spigot is not supported.


🎮 Commands

Main command: /timer (aliases /at, /animatedtimer). Short commands: /start, /pause, /reset.

Timer control

CommandDescription
/timer continue or /startContinue the timer (aliases: start, resume)
/timer pause or /pausePause the timer (alias: stop)
/timer reset or /resetReset & start. UP mode: from 0, DOWN mode: from the last set time
/timer rebootMode UP, paused, time 0
/timer set <seconds|minutes|hours|days> <value>Set a single unit
/timer set <[[dd:]hh:]mm:ss>Set the whole time, e.g. /timer set 10:00
/timer set time <d> <h> <m> <s>Set the whole time with separate values
/timer mode [up|down]Toggle / set the counting direction
/timer visibility [shown|hidden]Show / hide the actionbar

Style

CommandDescription
/timer style [static|animated]Toggle the style type
/timer render [caz|saz|snz|taz|tnz]Toggle / set the render type
/timer animation listList all animations with a color preview (click to load)
/timer animation load <name>Activate an animation
/timer speed <ticks>Ticks per animation step
/timer direction [l2r|r2l]Animation direction
/timer bold [1|2]Toggle bold (1 = primary, 2 = secondary)
/timer italic [1|2]Toggle italic
/timer color <1|2> <color>Static colors: red, gold, #1ef9ca, …
/timer pattern <text>Render pattern, e.g. ⌛ %t · %f ⚓
/timer prefix [text]Gray text in front of the timer
/timer suffix [text]Gray text after the timer
/timer extra [global|individual]Extra fields for everyone or per player
/timer showPrint the current style configuration

Render types

TypeExample
caz01:05:09
saz1h 5m 9s
snz1h 9s
taz1ʜ 5ᴍ 9ꜱ
tnz1ʜ 9ꜱ

Pattern variables

VariableMeaning
%tPosition of the timer (pattern only; without it only the text is shown)
%cCoordinates of the viewing player
%fDirection the player is facing (N, NE, …)
%%A literal %

Automatic pause

CommandDescription
/timer autopause achieve [advancement]Pause when a player gets the advancement, e.g. minecraft:end/kill_dragon
/timer autopause creditsPause when a player sees the credits
/timer autopause deathPause when a player dies
/timer autopause defeat [mob]Pause when a player kills the mob, e.g. ender_dragon
/timer autopause leave [disabled|single|all]Pause when one / all players leave (default: all)
/timer autopause obtain [item]Pause when a player has the item, e.g. nether_star
/timer behaviorPrint the current behavior configuration

Run a command without a value to disable that pause event.

Profiles

CommandDescription
/timer profile listList all profiles (click to load)
/timer profile load <name>Load a profile
/timer profile save <name>Save the current style as a profile
/timer profile view <name>Show a profile's contents
/timer profile delete <name>Delete a profile

Built-in: galaxy, emerald, candy, maritime, forest, secondary, explore, lavender, motley, crimson, aqua, labeled

Other

CommandDescription
/timer helpCommand overview
/timer infoVersion, current time and links

🔐 Permissions

PermissionDefaultGrants
animatedtimer.vieweveryoneinfo, show, behavior, animation & profile lists
animatedtimer.controlOPcontinue, pause, reset, reboot, set, /start, /pause, /reset
animatedtimer.configureOPstyle, behavior, auto-pause, profiles
animatedtimer.individualeveryoneown pattern/prefix/suffix in individual mode
animatedtimer.*OPeverything

⚙️ Configuration (config.yml)

messages:
  # chat prefix, supports &-codes and &#rrggbb hex colors
  prefix: "&8[&#00D6FFL&#00DBDFe&#01E0BFg&#01E59Fi&#02EB80T&#02F060i&#02F540m&#03FA20e&#03FF00r&8] "
  # chat reply to /pause, also shown in the actionbar while paused
  paused: "Der Timer ist pausiert"
  # true = actionbar shows only the paused text while paused; false = time + " (paused)"
  paused-actionbar: true
hooks:
  reach_zero:
    - "say The countdown is over!"
    - "title @a title {\"text\":\"Time's up!\"}"
  reach_full_minute: []
  reach_full_hour: []
  reach_full_day: []
  timer_pause: []
  timer_continue: []
  timer_reset: []
autosave-seconds: 60

Hooks are console commands executed on timer events. Placeholders: %days%, %hours%, %minutes%, %seconds%, %ticks%, %state%.


🧩 Developer API

AnimatedTimerAPI api = Bukkit.getServicesManager().load(AnimatedTimerAPI.class);
api.setTotalSeconds(600);
api.setMode(TimerMode.DOWN);
api.resume();

Events: TimerPauseEvent, TimerContinueEvent, TimerResetEvent, TimerReachZeroEvent, TimerReachFullUnitEvent


❤️ Credits

Original datapack Animated Timer by Tapir0 (MIT). Documentation of the original: animated-timer.gitbook.io/docs

Licensed under MIT.

Партнёрский материал

Сервер для плагина Legi Timer - как у профи

Плагин Legi Timer создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Legi Timer для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.1.x1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:
Опубликован:1 месяц назад
Обновлён:1 месяц назад
Главная