Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

placeholder request #66

Open
Miracle-Bee opened this issue Jul 26, 2024 · 2 comments
Open

placeholder request #66

Miracle-Bee opened this issue Jul 26, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Miracle-Bee
Copy link

Hi, can you add a placeholder with a numeric value that represents playing time? I need this for the player ranking plugin I use.

@Miracle-Bee Miracle-Bee added the enhancement New feature or request label Jul 26, 2024
@CodedRedGIT
Copy link
Contributor

CodedRedGIT commented Jul 26, 2024

I can look into it, can you link the ranking plugin you use?

If you set to only-hours and remove the name characters it may work for you.

 ## Default Placeholders:
  ## %player%, %playtime%, %timesjoined%, %joindate%, %rawTime%, %afkTime%
  ## For database placeholders, visit: https://github.com/CodedRed-Spigot/PlayTimes/wiki/Bungee-Support
  ## PlaceholderAPI placeholders are also compatible.
  message:
   - "&b&m=======&b&l[%player%]&b&m======="
    - "&aPlaytime:&f %playtime%"
    - "&aTimes Joined:&f %timesjoined%"
    - "&aJoin Date:&f %joindate%"
    - "&b&m============================"
  name:
    second: "s"
    minute: "min "
    hour: ""
    day: "day "
    seconds: "s"
    minutes: "mins "
    hours: ""
    days: "days "

  ## 'only-hours' - Displays playtime solely in hours. Activating this overrides 'show-seconds' and 'show-days'.
  ## 'show-seconds' - Includes seconds in the display.
  ## 'show-days' - Includes days in the display.
  only-hours: true
  show-seconds: true
  show-days: true
  ## 'round-numbers' - Rounds off the playtime to whole numbers when 'only-hours' is true.
  round-numbers: true```
 

@Miracle-Bee
Copy link
Author

Bakabilirim, kullandığınız sıralama eklentisinin linkini verebilir misiniz?

Only-hours olarak ayarlayıp isim karakterlerini kaldırırsanız işinize yarayabilir.

 ## Default Placeholders:
  ## %player%, %playtime%, %timesjoined%, %joindate%, %rawTime%, %afkTime%
  ## For database placeholders, visit: https://github.com/CodedRed-Spigot/PlayTimes/wiki/Bungee-Support
  ## PlaceholderAPI placeholders are also compatible.
  message:
   - "&b&m=======&b&l[%player%]&b&m======="
    - "&aPlaytime:&f %playtime%"
    - "&aTimes Joined:&f %timesjoined%"
    - "&aJoin Date:&f %joindate%"
    - "&b&m============================"
  name:
    second: "s"
    minute: "min "
    hour: ""
    day: "day "
    seconds: "s"
    minutes: "mins "
    hours: ""
    days: "days "

  ## 'only-hours' - Displays playtime solely in hours. Activating this overrides 'show-seconds' and 'show-days'.
  ## 'show-seconds' - Includes seconds in the display.
  ## 'show-days' - Includes days in the display.
  only-hours: true
  show-seconds: true
  show-days: true
  ## 'round-numbers' - Rounds off the playtime to whole numbers when 'only-hours' is true.
  round-numbers: true```
 

Hello, I use ajLeaderboards to rank players. (https://www.spigotmc.org/resources/ajleaderboards.85548/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants