Page 1 of 1
<RoomNameAvoidChars> not working.
Posted: 25 Feb 2019, 10:15
by GalaxyDoomMaster
<RoomNameAvoidChars> doesn't seem to be working in my config.
I create a room with the Chars I wanted it to avoid.
I use: <RoomNameAvoidChars><![CDATA[,.:]]></RoomNameAvoidChars>
I can still use these characters and the room is made with no problem and is still accessible by everyone. I have tried this inside my <zone> area, nothing has working so far. What am I doing wrong?
Re: <RoomNameAvoidChars> not working.
Posted: 26 Feb 2019, 17:01
by Lapo
Hi,
I don't know how to reproduce this problem. Maybe you're testing with Rooms defined directly in the config.xml?
Keep in mind the setting is meant to filter out characters from user created Rooms, which means Rooms created dynamically via client side requests.
Other than that the <RoomNameAvoidChars> works as expected for me. I've created different Rooms with those "avoid" characters and they get all filtered out correctly.
Cheers
Re: <RoomNameAvoidChars> not working.
Posted: 01 Mar 2019, 11:06
by GalaxyDoomMaster
I misunderstood, I thought this would PREVENT the user rather then just remove the words, so it would say "hey you can't do this action" in a messagebox window. How would I go about doing this then?
This is solved.
Re: <RoomNameAvoidChars> not working.
Posted: 01 Mar 2019, 11:10
by Lapo
I am not sure what you're asking.
What is it that you don't want the users do?
Thanks
Re: <RoomNameAvoidChars> not working.
Posted: 02 Mar 2019, 03:36
by GalaxyDoomMaster
@Lapo Nevermind, I figured it all out. This is solved!

thank you.