Skip to content

[Help]Character name template

Featured Replies

Hello there,

 

I would like some help with the Character name template function. I'm using L2J Gracia Final Latest Rev. Right now when a player attempts to create a new character he can use any numbers, letters and amount of characters*. What I want to make is when the player puts his new name for his character, he will be able to put whether numbers or letters (except symbols of course -,%,$,@ etc) no matter if they are capitals or not but he must put at least 3 characters* in order to accept the name.

 

*Not L2 Characters but characters like: AsF230fasd02k

It's in server.properties

CnameTemplate=[A-Za-z0-9\-]{3,16}

  • Author

It worked!

Thanks to down.

-Locked

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.