Hi, I'm trying to restrict certain names. It says that the name is incorrect plus it creates the character.
Part : CharacterCreate.java
if (Config.LIST_FORBIDDEN_NAMES.contains(_name.toLowerCase()))
{
sendPacket(CharCreateFail.REASON_INCORRECT_NAME);
return;
}
Part Config.java
public static List<String> LIST_FORBIDDEN_NAMES = new ArrayList<>();
LIST_FORBIDDEN_NAMES = new ArrayList<>();
for (String listid : server.getProperty("RestrictedNames", "fuck,dildo,admin").split(","))
{
LIST_FORBIDDEN_NAMES.add(String.valueOf(listid));
}
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
l2jkain
Hi, I'm trying to restrict certain names. It says that the name is incorrect plus it creates the character.
error
1 answer to this question
Recommended Posts