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 translation key for /near entries #4740

Merged
merged 2 commits into from
Jan 20, 2022
Merged

Add translation key for /near entries #4740

merged 2 commits into from
Jan 20, 2022

Conversation

sxphirus
Copy link
Contributor

@sxphirus sxphirus commented Jan 7, 2022

Information

This PR does not close a currently open feature request or issue.

Details

Proposed feature:

Allow the output on getLocal to include its own customization.

Environments tested:

OS: Windows, Linux (debian 9, pterodactyl)

Java version: 17.0.1

  • [ x] Most recent Paper version (1.18.1, git-Paper-137)
    - [ ] CraftBukkit/Spigot/Paper 1.12.2
    - [ ] CraftBukkit 1.8.8

Demonstration:

using default messages.properties
image

using custom messages.properties \u00a7e{0}\u00a7b(\u00a7d{1}m\u00a7c)
{0} is referring to the player name, {1} is referring to the distance to this player
image

@triagonal triagonal added module: main Issues or PRs for the main Essentials module type: enhancement Features and feature requests. labels Jan 15, 2022
@JRoy JRoy changed the title Add format for list entries with /near Add translation key for /near entries Jan 20, 2022
@JRoy JRoy merged commit 5c46bea into EssentialsX:2.x Jan 20, 2022
@JRoy
Copy link
Member

JRoy commented Jan 20, 2022

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: main Issues or PRs for the main Essentials module type: enhancement Features and feature requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants