[SPIGOT-2501] Join and quit messages not same formatting (OCD) Created: 06/Jul/16  Updated: 07/Jul/16  Resolved: 07/Jul/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: BillyGalbreath Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

The join message does not contain a period, while the quit message does. This is triggering some of my player's OCD :S

http://prntscr.com/bpoclu

I checked the server jar and the correct values are in mojang-translations.un_US.properties as expected:

multiplayer.player.joined=%s joined the game
multiplayer.player.joined.renamed=%s (formerly known as %s) joined the game
multiplayer.player.left=%s left the game

So I checked the craftbukkit source code and I I dont see anything obvious where it might be adding a period.

This is present on CraftBukkit, Spigot. I checked vanilla server and there is no period on quit messages.



 Comments   
Comment by BillyGalbreath [ 06/Jul/16 ]

Found it. Seems the quit message is not using the language file... Its hard coded in:

net.minecraft.server.PlayerList.java:368

http://prntscr.com/bpoq47

Generated at Mon Mar 31 18:08:24 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.