EssentialsX

EssentialsX

2M Downloads

Variable broken in takenFromOthersAccount message

Opened this issue ยท 2 comments

commented

Information

Full output of /ess version:

[16:49:52 INFO]: Server version: 1.13.1-R0.1-SNAPSHOT git-Paper-"bf98a78e" (MC: 1.13.1)
[16:49:52 INFO]: EssentialsX version: dev-23.73
[16:49:52 INFO]: LuckPerms version: 4.2.88
[16:49:52 INFO]: Vault version: 1.7.1-b${env.TRAVIS_BUILD_NUMBER}

messages_en.properties:

takenFromOthersAccount=\u00a7a{0} taken from {1}\u00a7a's account. New balance\: {2}\u00a7a.

Details

The {2} variable in the takenFromOthersAccount message is not working. It should contain the value of the player's balance.

https://i.imgur.com/vxG2Bpy.png

commented

Hmmmm.... not exactly sure where this is formatted before being displayed to a user. Does anyone know where this plugin formats the messages_en.properties's text?

commented

This does not seem to be the case anymore on the latest version of EssentialsX:

[15:35:38 INFO]: Server version: 1.15.2-R0.1-SNAPSHOT git-Paper-98 (MC: 1.15.2)
[15:35:38 INFO]: EssentialsX version: 2.17.1.62
[15:35:38 INFO]: Vault version: 1.7.2-b107

The {2} placeholder is working as expected as shown by the following:

image
image