Is it possible for player characters to have two names? NPCs can have two, but not sure if it's possible for non NPC characters?
Thanks.
Player names are validated in LoginHandler.containsIllegalCharacters() and LoginHandler.checkName2()
Only A–Z / a–z are allowed, no spaces
NPCs (like traders) use a different validation, which is more permissive. That’s why NPCs can have multiple names
So in theory: You can mod this by patching the server-side validation to allow spaces.
However, the risk is medium to high:
You’d need to handle not only character creation, but also rename logic
Many systems assume player names are a single token (no spaces), for example:
chat commands, GM tools, player lookups, UI forms, mods, scripts, web tools
Changing this can break things in subtle ways
It’s also unclear without testing if the client already blocks this locally, if so a server-only mod won’t be enough
Hi Sylvean. Thanks for explaining. It's no big deal, but wanted to ask,