Skip to main content
This page specifically discusses the options available in the Voiid Countdown Timer config.yml file. You can customize how the timer looks, the refresh time, text format, and the messages sent by VCT.

Configuration Options

Below are the settings and descriptions in the config.yml file for Voiid Countdown Timer.

update_notification: false

Usually, every time VCT is launched, it will automatically check for available updates. This setting defines whether the plugin should send a message to the console and players with the voiidcountdowntimer.admin permission notifying them of a new version.

ticks_hide_after_ending: 60

This setting defines how many ticks to wait before hiding the timer completely when the timer ends.

text_format: LEGACY

This setting defines which text formatting system to use for name tags. The LEGACY format is the text that Minecraft Vanilla understands to use colors, bold, italics, and everything else. Other supported formats include:
  • MINIMESSAGE: A rich text format with allows you to use rich text formatting features, like colors, gradients, styles, hover events, and click events.
  • UNIVERSAL: Attempts to support all formatting options but is the most resource-intensive.
Here are some examples of use with the different types of supported formats:
  • LEGACY
  • MINIMESSAGE
  • UNIVERSAL
The LEGACY format supports the color format with &.
text: "&eThis is an &aexample &ausing the &l&9LEGACY format. &r&bTime remaining: &l&d%HH%:%MM%:%SS%"
Legacyexample Gi
If you use the MINIMESSAGE format with a gradient, you can improve it even more by making it animated. You can find more information here.

refresh_ticks: 10

This setting determines how many ticks the timer text should refresh. This setting is designed for gradient animations, to make them appear smoother or slower, for example: Refreshxample Gi

save_state_timers: true

This setting defines whether the plugin should save the timer status when the server is shut down and load it when the server is started up. It is advisable to leave it set to true, because if your server crashes, the plugin will save the status so that you don’t lose the time that was set.

Configuration of Messages

Messages are configured in LEGACY format (regardless of the text format chosen), each section has a small identifier indicating where it comes from.
Adding or removing messages may damage the plugin configuration!

Configuration of Timers

The configuration of the timers is simple and flexible. Here is an example:
Timers:
  green_timer:
    text: "&aI'm a green timer of (%HH%:%MM%:%SS%) :D"
    sound: UI_BUTTON_CLICK
    sound_volume: 0.5
    sound_pitch: 2.0
    bossbar_color: GREEN
    bossbar_style: SOLID
    enabled: true
    sound_enabled: true
All of these configurations can be changed in-game using the /vct modify command and the following modifiers: text, sound, sound_volume, sound_pitch, bossbar_color, bossbar_style, sound_enabled

Timers:

Defines the root section where timers are registered. This key is required when you create timers in a file other than config.yml (inside the timers folder).

green_timer:

The name identifier of the timer. Example: timer_for_pvp_on.

text: "&aI'm a green timer of (%HH%:%MM%:%SS%) :D"

The text displayed on the boss bar. Supports variables:
VariableDescription
%HH%Displays the current hours (00).
%MM%Displays the current minutes (00).
%SS%Displays the current seconds (00).
%H1%Displays first digit of the current hours (0).
%H2%Displays second digit of the current hours (0).
%M1%Displays first digit of the current minutes (0).
%M2%Displays second digit of the current minutes (0).
%S1%Displays first digit of the current seconds (0).
%S2%Displays second digit of the current seconds (0).

sound: UI_BUTTON_CLICK

The sound played every second while the timer counts down.
sound: resourcepackNameHere:soundNameHere
The setting sound_enabled must be set to true for the sound to play.

sound_volume: 0.5

Volume of the sound. Range: 0.1 to 2.0.

sound_pitch: 2.0

Pitch of the sound. Range: 0.1 (very low) to 2.0 (very high).

bossbar_color: GREEN

Color of the boss bar when created. You can find a list of colors here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html

bossbar_style: SOLID

Segment style of the boss bar. You can find a list of colors here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html

enabled: true

Whether the timer is selectable/usable. If disabled while in use, it will automatically switch to the default style.

sound_enabled: true

Controls whether the timer’s sound should play.
I