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

[displayName] in locale #2104

Closed
2 tasks done
kforbro opened this issue Mar 11, 2023 · 0 comments · Fixed by #2108
Closed
2 tasks done

[displayName] in locale #2104

kforbro opened this issue Mar 11, 2023 · 0 comments · Fixed by #2108
Labels
Type: Enhancement Improvement or modification which is usually a new feature.

Comments

@kforbro
Copy link

kforbro commented Mar 11, 2023

Is your feature request related to a problem?

I want to display colored nicknames and prefixes of players in messages where players are used

Describe the solution you'd like.

.replace("[displayName]", player.getDisplayName())

Describe alternatives you've considered.

n/a

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
  • I have ensured the feature I'm requesting isn't already in the latest supported BentoBox build or Addons.

Other

success: '&b[name] &ais now the owner of this island.' -> kFor is now the owner of this island
success: '&b[displayName] &ais now the owner of this island.' -> VIP kFor is now the owner of this island

other plugin:
image

@tastybento tastybento added the Type: Enhancement Improvement or modification which is usually a new feature. label Mar 14, 2023
tastybento added a commit that referenced this issue Mar 18, 2023
)

* Relates to #2104. Adds user.displayName() as a placeholder option

* Fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improvement or modification which is usually a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants