Minecrell / ServerListPlus

A flexible Minecraft plugin to customize the appearance of your server in the server list
https://git.io/slp
GNU General Public License v3.0
241 stars 58 forks source link

Add countdown placeholder #103

Open stephan-gh opened 8 years ago

stephan-gh commented 8 years ago

This was requested several times and would basically display the remaining time until a fixed date

itsfolf commented 8 years ago

+1

NickEvansDev commented 8 years ago

+1

NickEvansDev commented 8 years ago

Please 4.0

stephan-gh commented 8 years ago

It will be in 4.0.

BrettPlays commented 7 years ago

+1 ETA of 4.0?

Flavourized commented 6 years ago

+1

@Minecrell 4.0 release coming in the next month?

If PAPI can be implemented, it includes it's own countdown placeholder. I am aware of the issues with null and offline players, but this doesnt deal with either. Just thought i'd put this here

stephan-gh commented 6 years ago

@Flavourized No, 4.0 will not be coming in next month. See https://www.spigotmc.org/threads/serverlistplus.7371/page-75#post-2942270

Flavourized commented 6 years ago

No worries, was just curious since version is at 3.9.6 :p that is definitely understandable

yunusalbayrak commented 6 years ago

is it added ? how can i use this placeholder ?

stephan-gh commented 6 years ago

I'm looking for additional input for the "countdown" placeholder. What should they do precisely and how would the placeholders be used? What would it display?

For example, there are many different ways to display countdowns: "5 days, 10 hours, ...", or "10:20:30" for hours:minutes:seconds etc

kennyrkun commented 6 years ago

let us pick in the configuration?

Flavourized commented 6 years ago

In the config you can add something like "countdown-format" and use placeholders like %y for years, %m for months, %d for days, %h, %m, %s. I'm sure you understand what I'm getting at.

You can also include a whole countdown variable section where players can set their own custom (multiple) variables and set their own format for each