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));
}
@Hitcher I agree 100%! Are you running a live server using MyExt64 or just experimenting? I'm currently creating my IDA db's so i can start adding more stuff into the extender.
I don't understand why you are so offended and aggressive, who allowed you to disrespect me or call me in any way? Did I insulted you? You act like a angry kid, grow up boy.
@Maxtor@Celestino
The administrators of this forum can access everything I've sent...
Your move won't work on me. Hahahaha!
Getting into the parameters and editing the HTMLs of websites and claiming it's real used to be really cool among true friends.
@jtos So, is this also true? 🤣😂🤣😂🤣😂🤣
Your joke still hasn't been better than mine. Hahahah!
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