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

Add support for Xd Xh Xm and Xs time format #1

Open
haeiven opened this issue Jun 12, 2020 · 8 comments
Open

Add support for Xd Xh Xm and Xs time format #1

haeiven opened this issue Jun 12, 2020 · 8 comments

Comments

@haeiven
Copy link

haeiven commented Jun 12, 2020

Hello,

Could you add support for Xd Xh Xm and Xs time format ?

I'm trying to use it but it don't works with essentials kit time :/

Best regards,

@aBooDyy
Copy link
Owner

aBooDyy commented Jun 13, 2020

Hello there,

Thanks for reaching out!
Do you want this in CooldownBar Expansion? That might be supported there. (Everything should be mentioned in the GitHub repository)
If you want it here, in Progress, then can you please explain what for? Can't think of any use for it.

Regards,
aBooDyy

@haeiven
Copy link
Author

haeiven commented Jun 13, 2020

Hello,

I was thinking it was a more recent project who was the same as CooldownBar.
I can't make it working with cooldownbar ( on 1.8 ) so that's why i asked here ^^'

@aBooDyy aBooDyy transferred this issue from aBooDyy/Progress-Expansion Jun 13, 2020
@aBooDyy
Copy link
Owner

aBooDyy commented Jun 13, 2020

Hello,

I've transferred the issue to Cooldown Expansion repository.
Just checked the code, and it does support this format. And there isn't any reason not to work on v1.8.
Can you please explain more and tell me what's not working exactly?

Kind regards,
aBooDyy

@haeiven
Copy link
Author

haeiven commented Jun 13, 2020

The cooldown bar just stay at the first symbol

@aBooDyy
Copy link
Owner

aBooDyy commented Jun 13, 2020

Can you send the placeholder you tried to parse, please?
Since it's returning a value, then it's working, so that's good.

@haeiven
Copy link
Author

haeiven commented Jun 13, 2020

%cooldownbar_{essentials_kit_time_until_available_tools}_p:&a■_i:&e■_r:&7■_l:6_c:100%

@aBooDyy
Copy link
Owner

aBooDyy commented Jun 14, 2020

It should work. You sure essentials placeholder is working?
You can try replacing the placeholder with the XXd XXh XXm XXs format and it should work e.g. %cooldownbar_1m 20s%.

@haeiven
Copy link
Author

haeiven commented Jun 15, 2020

Hello,

Your wiki is wrong i think.

I'm now using:
%cooldownbar_24h_p:&a■_i:&e■_r:&7■_l:6_c:100 {essentials_kit_time_until_available_tools}%
and it works.

Best regards,

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

No branches or pull requests

2 participants