Skip to content

ForgottenSMP/ForgottenCountdowns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ForgottenCountdowns

A simple configuration-based countdown plugin that is Folia compatible.

Originally based off of https://github.com/Fullpage12/CountdownPlaceholders

Why?

I got sick of making countdowns with SimpleDateFormat all of the time or writing Javascript for it. So, I just decided to find an existing plugin and fork it for modern-day support to make things configuration based. Enjoy!

How to Use?

The configuration is pretty simple & self explanatory.

# Follow the following format to make as many countdown placeholders as you want.
# Choose a timezone from https://garygregory.wordpress.com/2013/06/18/what-are-the-java-timezone-ids/
# Format: %countdown_KEY%
# e.g. the 'example' placeholder below can be used with %countdown_example%, the 'christmas' example is %countdown_christmas%
example:
  timezone: "America/New_York"
  year: 2021
  month: 11
  day: 10
  hour: 3
  minute: 0
  second: 0
  countUpwardsAfter: true # Once this time is his it will say how long ago this time stamp was
christmas:
  timezone: "America/New_York"
  year: 2021
  month: 12
  day: 25
  hour: 0
  minute: 0
  second: 0
  countUpwardsAfter: true # Once this time is his it will say how long ago this time stamp was

There are two commands:

  • /countdownplaceholders reload - Reloads the config (countdownplaceholders.admin)
  • /countdownplaceholders placeholders - Lists all the countdowns (countdownplaceholders.admin)

About

A Folia-compatible configuration based countdowns plugin for sales, events, and things that need timers!

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages