CountdownSigns
A simple plugin to create signs that count down to expiry!
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
CountdownSigns
This is a simple plugin that allows you to make signs that countdown to a certain time!
Dependencies
This plugin depends on KotKit to provide the Kotlin stdlib.
Usage
Creation
To create a countdown sign, it's `/signadd <Unix Timestamp> <line of sign>`, while looking at the sign you wish to update.
You can get the Unix Timestamp for any time at https://www.unixtimestamp.com/ - it's essentially a universal way for computers to count and understand time, and circumvents timezones.
The line of the sign, 1-4, is which line of the sign the countdown text will appear on.
Deletion
To stop a countdown sign from trying to update, use `/signremove`, looking at the sign you want to remove. This will not remove the text from the sign, only stop it from updating in the future - if you wish, you can break the sign once it's removed.
Permissions and commands
Permission setup is simple, there are 3 permissions attached to 3 relevant commands. ``` countdownsigns.add - default op - allows /signadd to create signs countdownsigns.remove - default op - allows /signremove to delete signs countdownsigns.reload - default op - allows /signreload to reload the config ```
Config
There's only one option in the config, `format`, which dictates the format for the sign. It supports MiniMessage formatting and has 3 available placeholders, {d}, {h}, {m}, corresponding respectively to days, hours, and minutes left on the countdown.