Yesterday i've created this report with the § character problem:
https://hub.spigotmc.org/jira/browse/SPIGOT-4035
But i've noticed that this problem still exists with numbers:
1.13
String text = "TEST1234TEST"; String hiddenText = ""; for(char c : text.toCharArray()){ hiddenText += "§" + c; } //String hiddenText = "§T§E§S§T§1§2§3§4§T§E§S§T"; ItemStack is = new ItemStack(Material.STONE); ItemMeta itemMeta = is.getItemMeta(); itemMeta.setDisplayName(hiddenText); is.setItemMeta(itemMeta); Bukkit.broadcastMessage(hiddenText.replace("§", "")); Bukkit.broadcastMessage(itemMeta.getDisplayName().replace("§", ""));