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

[FEATURE] Money placeholder formatted? #535

Closed
1 task done
Qekker opened this issue Jan 9, 2024 · 5 comments
Closed
1 task done

[FEATURE] Money placeholder formatted? #535

Qekker opened this issue Jan 9, 2024 · 5 comments
Assignees
Labels
enhancement (uncategorised) New feature or request

Comments

@Qekker
Copy link

Qekker commented Jan 9, 2024

What is the feature request for?

Is it possible for you to make the money placeholder able to be formatted like u can do with vaults? It looks wierd when my players money and the teams money on the scoreboard is different formatted

Relevant links

No response

Additional Information

No response

Feature requests are not going to be implemented by booksaw, instead you will have to find another developer to make a pull request to implement the feature.

  • I understand
@Qekker Qekker added the enhancement (uncategorised) New feature or request label Jan 9, 2024
@booksaw
Copy link
Owner

booksaw commented Jan 9, 2024

This is already possible but will require looking through many of the messages to change it.
This is to be done in messages.yml, you will need to find the corresponding messages / placeholders you are using and change the money format in them. An example of one of the lines that would need changing can be seen at the link below.
https://github.com/booksaw/BetterTeams/blob/master/src/main/resources/messages.yml#L44

@booksaw booksaw closed this as completed Jan 9, 2024
@Qekker
Copy link
Author

Qekker commented Jan 9, 2024

Hey, but if i change the %s in the money. What do i replace it with, all the solutions i could find just made it dissapear.

@EarthCow
Copy link
Contributor

EarthCow commented Feb 5, 2024

What sort of format do you want to change it to? The %betterteams_money% placeholder should output whatever format you have here:

placeholder.money: '%s'
The %s is replaced with the balance such as "155.36".

@Qekker
Copy link
Author

Qekker commented Feb 5, 2024

I want it to when Its 100000. It just says 100k

@EarthCow
Copy link
Contributor

EarthCow commented Feb 5, 2024

If the balance is 100000 you want it to say 100k? Or is it displaying 100k and you want it to display 100000?

Currently, there is no way to make 100000 appear as 100k.

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

No branches or pull requests

3 participants