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] More Placeholders #227

Closed
ParrotRacer opened this issue Sep 9, 2021 · 2 comments
Closed

[FEATURE] More Placeholders #227

ParrotRacer opened this issue Sep 9, 2021 · 2 comments
Assignees
Labels
enhancement (uncategorised) New feature or request In Next Update Issues tagged with this will be implemented / fixed for the next update

Comments

@ParrotRacer
Copy link

Is your feature request related to a problem? Please describe.
I would like to have more placeholders added so then you can decorate your leader boards easier and with more colour

Describe the solution you'd like
Currently, the placeholders of %betterTeams_teamscore_{rank}% and %betterTeams_teamscoreno_{rank}% I would suggest this as the full list of placeholders:

For your team they would be:

%betterTeams_myID% - Your Team's ID
%betterTeams_mytag% - Your Team's Tag
%betterTeams_mydisplayname% - Your Team's Displayname
%betterTeams_mydescription% - Your Team's Description
%betterTeams_myopen% - Whether or not your team is open or invite-only
%betterTeams_myscore% - Your Team's Score
%betterTeams_mybalance% - Your Team's Balance
%betterTeams_myrank% - Your Rank In Your Team
%betterTeams_mycolour% - Your Team's Colour

For a leaderboard/positioning they would be:

%betterTeams_position_ID_{rank}% - The ID of the team in the position listed in {rank}
%betterTeams_position_score_{rank}% - The score of the team in the position listed in {rank}
%betterTeams_position_tag_{rank}% - The tag of the team in the position listed in {rank}
%betterTeams_position_displayname_{rank}% - The displayname of the team in the position listed in {rank}
%betterTeams_position_description_{rank}% - The description of the team in the position listed in {rank}
%betterTeams_position_open_{rank}% - Whether or not the team in that rank is open or not
%betterTeams_position_balance_{rank}% - The balance of the team in the position listed in {rank}
%betterTeams_position_colour_{rank}% - The colour of the team in the position listed in {rank}

Describe alternatives you've considered
It may also be worth considering placeholders for variables for individual teams such as
%betterTeams_score_{ID}% which would display the score of the team with that ID.

@booksaw
Copy link
Owner

booksaw commented Sep 16, 2021

%betterTeams_myID% - Your Team's ID
%betterTeams_mytag% - Your Team's Tag
%betterTeams_mydisplayname% - Your Team's Displayname
%betterTeams_mydescription% - Your Team's Description
%betterTeams_myopen% - Whether or not your team is open or invite-only
%betterTeams_myscore% - Your Team's Score
%betterTeams_mybalance% - Your Team's Balance
%betterTeams_myrank% - Your Rank In Your Team
%betterTeams_mycolour% - Your Team's Colour

The existing placeholders will not be reformatted to this as this would cause problems for other servers, forcing them to update their placeholders

For a leaderboard/positioning they would be:

%betterTeams_position_ID_{rank}% - The ID of the team in the position listed in {rank}
%betterTeams_position_score_{rank}% - The score of the team in the position listed in {rank}

Same as above, placeholders to do this already exist. Though adding these would make sense (and hiding the pre existing placeholders though not removing them) would be a good idea to maintain formatting.

%betterTeams_position_tag_{rank}% - The tag of the team in the position listed in {rank}
%betterTeams_position_displayname_{rank}% - The displayname of the team in the position listed in {rank}
%betterTeams_position_description_{rank}% - The description of the team in the position listed in {rank}
%betterTeams_position_open_{rank}% - Whether or not the team in that rank is open or not
%betterTeams_position_balance_{rank}% - The balance of the team in the position listed in {rank}
%betterTeams_position_colour_{rank}% - The colour of the team in the position listed in {rank}

these are good ideas

Describe alternatives you've considered
It may also be worth considering placeholders for variables for individual teams such as
%betterTeams_score_{ID}% which would display the score of the team with that ID.

I'm not sure how useful the applications of this would be

@booksaw booksaw added the In Next Update Issues tagged with this will be implemented / fixed for the next update label Sep 16, 2021
booksaw added a commit that referenced this issue Sep 18, 2021
Issue Reference: #227
@booksaw
Copy link
Owner

booksaw commented Sep 18, 2021

This feature has been implemented and will be included in the next update. Thank you for the suggestion.

@booksaw booksaw closed this as completed Sep 18, 2021
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 In Next Update Issues tagged with this will be implemented / fixed for the next update
Projects
None yet
Development

No branches or pull requests

2 participants