Search found 70 matches
- 27 Nov 2025, 19:28
- Forum: SFS2X Questions
- Topic: Question about maxUsers limit and moderator access in SmartFoxServer 2X
- Replies: 3
- Views: 2314
Re: Question about maxUsers limit and moderator access in SmartFoxServer 2X
If I am an administrator and I try to join a Room with maxUsers = 300 and there are already 300 users inside, SmartFoxServer does NOT let me enter.
- 27 Nov 2025, 15:28
- Forum: SFS2X Questions
- Topic: Question about maxUsers limit and moderator access in SmartFoxServer 2X
- Replies: 3
- Views: 2314
Question about maxUsers limit and moderator access in SmartFoxServer 2X
Hi everyone,
I have a question about the maxUsers limit in SmartFoxServer 2X Rooms.
- Is there any built-in way to allow moderators/admins to enter a Room even when it has already reached its maxUsers limit?
- Or is the maxUsers check always enforced for all users, including moderators/admins?
I ...
I have a question about the maxUsers limit in SmartFoxServer 2X Rooms.
- Is there any built-in way to allow moderators/admins to enter a Room even when it has already reached its maxUsers limit?
- Or is the maxUsers check always enforced for all users, including moderators/admins?
I ...
- 04 Nov 2025, 11:12
- Forum: SFS2X Questions
- Topic: Room-level ban without disconnecting from the Zone
- Replies: 1
- Views: 3522
Room-level ban without disconnecting from the Zone
Hi everyone
I need to ban a user from only certain rooms (or a group of rooms) while keeping them logged in to the same Zone. Basically, the user should be able to stay online but must not be able to enter/return to those rooms.
I need to ban a user from only certain rooms (or a group of rooms) while keeping them logged in to the same Zone. Basically, the user should be able to stay online but must not be able to enter/return to those rooms.
- 05 Aug 2025, 16:41
- Forum: SFS2X Questions
- Topic: How to filter Mathematical Alphanumeric Unicode characters in Word Filter?
- Replies: 1
- Views: 10138
How to filter Mathematical Alphanumeric Unicode characters in Word Filter?
Hello everyone,
I'm looking for advice on how to configure the SmartFoxServer Word Filter to block messages containing mathematical Unicode characters—specifically the Mathematical Alphanumeric Symbols range (U+1D400–U+1D7FF).
I tried adding a regex like:
(?:\uD835[\uDC00-\uDFFF] ...
I'm looking for advice on how to configure the SmartFoxServer Word Filter to block messages containing mathematical Unicode characters—specifically the Mathematical Alphanumeric Symbols range (U+1D400–U+1D7FF).
I tried adding a regex like:
(?:\uD835[\uDC00-\uDFFF] ...
- 14 Jul 2025, 06:52
- Forum: SFS2X Questions
- Topic: Reconnecting with the Same sessionToken in the SmartFoxServer 2X JS API
- Replies: 3
- Views: 9804
Re: Reconnecting with the Same sessionToken in the SmartFoxServer 2X JS API
Hi,
I’m integrating SmartFoxServer 2X (v2.5+) into a React Native app via a WebView. However, I’ve run into two limitations:
WebSocket transport
The JavaScript API relies on WebSockets managed by Tomcat, which do not support the same transparent, automatic reconnection that SFS2X’s native TCP/UDP ...
I’m integrating SmartFoxServer 2X (v2.5+) into a React Native app via a WebView. However, I’ve run into two limitations:
WebSocket transport
The JavaScript API relies on WebSockets managed by Tomcat, which do not support the same transparent, automatic reconnection that SFS2X’s native TCP/UDP ...
- 12 Jul 2025, 19:59
- Forum: SFS2X Questions
- Topic: Reconnecting with the Same sessionToken in the SmartFoxServer 2X JS API
- Replies: 3
- Views: 9804
Reconnecting with the Same sessionToken in the SmartFoxServer 2X JS API
Hi everyone,
Is there an official, documented method in the SmartFoxServerJavaScript API to “reconnect” using the same sessionToken obtained during the initial connection?
For example, is there a call like:
resumeSession()
connectWithSessionToken()
or any other API specifically for resuming an ...
Is there an official, documented method in the SmartFoxServerJavaScript API to “reconnect” using the same sessionToken obtained during the initial connection?
For example, is there a call like:
resumeSession()
connectWithSessionToken()
or any other API specifically for resuming an ...
- 19 Mar 2025, 13:26
- Forum: SFS2X Questions
- Topic: Ghost users remain in user list for days — can't disconnect or monitor
- Replies: 2
- Views: 4043
Re: Ghost users remain in user list for days — can't disconnect or monitor
Hi,
yes, I'm aware of the ghost handling mechanism in SFS2X and I do have Ghost Hunter enabled.
Checking the logs is quite complex in our scenario due to the high volume of user logins and logouts, which makes it difficult to pinpoint specific issues. However, I haven’t noticed any recurring ...
yes, I'm aware of the ghost handling mechanism in SFS2X and I do have Ghost Hunter enabled.
Checking the logs is quite complex in our scenario due to the high volume of user logins and logouts, which makes it difficult to pinpoint specific issues. However, I haven’t noticed any recurring ...
- 18 Mar 2025, 11:16
- Forum: SFS2X Questions
- Topic: Ghost users remain in user list for days — can't disconnect or monitor
- Replies: 2
- Views: 4043
Ghost users remain in user list for days — can't disconnect or monitor
I'm experiencing a strange issue with my SmartFoxServer (using a custom extension). Occasionally, some nicknames remain visible in the user list for days — as if they're still connected. However, when I try to monitor or disconnect them from the AdminZone, I get this message:
"The User being ...
"The User being ...
- 19 Feb 2025, 15:26
- Forum: SFS2X Questions
- Topic: Issue with Word Filter in SmartFoxServer
- Replies: 6
- Views: 9638
Re: Issue with Word Filter in SmartFoxServer
I tested the word on regex101.com and it is detected correctly. However, SmartFoxServer does not intercept the string in the public chat.
Could it be that, on the server side, the use of the event:
addEventHandler(SFSEventType.PUBLIC_MESSAGE, PublicMessageHandler.class);
is causing some ...
Could it be that, on the server side, the use of the event:
addEventHandler(SFSEventType.PUBLIC_MESSAGE, PublicMessageHandler.class);
is causing some ...
- 16 Feb 2025, 19:45
- Forum: SFS2X Questions
- Topic: Issue with Word Filter in SmartFoxServer
- Replies: 6
- Views: 9638
Issue with Word Filter in SmartFoxServer
Hi everyone,
I'm configuring the Words Filter in SmartFoxServer, but the system does not seem to detect and censor words based on the regex I have added.
Here are the details of my configuration:
Activated: ✅ Yes
Maximum bad words per message: 0
Send warnings: ✅ Yes
Warnings before kicking: 4
Kicks ...
I'm configuring the Words Filter in SmartFoxServer, but the system does not seem to detect and censor words based on the regex I have added.
Here are the details of my configuration:
Activated: ✅ Yes
Maximum bad words per message: 0
Send warnings: ✅ Yes
Warnings before kicking: 4
Kicks ...
- 28 Jan 2025, 06:56
- Forum: SFS2X Questions
- Topic: How to retrieve latitude and longitude for each user using MaxMind GeoIP with SmartFoxServer?
- Replies: 3
- Views: 1916
Re: How to retrieve latitude and longitude for each user using MaxMind GeoIP with SmartFoxServer?
I need to access the headers['cf-iplatitude'] and headers['cf-iplongitude'] headers, which are specific headers added by Cloudflare. How can I retrieve these headers on a SmartFoxServer instance? Is there a specific configuration or method to access these Cloudflare-provided headers in SmartFoxServer?
- 26 Jan 2025, 17:40
- Forum: SFS2X Questions
- Topic: How to retrieve latitude and longitude for each user using MaxMind GeoIP with SmartFoxServer?
- Replies: 3
- Views: 1916
How to retrieve latitude and longitude for each user using MaxMind GeoIP with SmartFoxServer?
Hi everyone,
I’m working on a project based on SmartFoxServer, and I need to retrieve the latitude and longitude of each user connected to the server. I read that it’s possible to use the com.maxmind.geoip library to get geographical information based on the user’s IP address.
My questions are ...
I’m working on a project based on SmartFoxServer, and I need to retrieve the latitude and longitude of each user connected to the server. I read that it’s possible to use the com.maxmind.geoip library to get geographical information based on the user’s IP address.
My questions are ...
- 18 Dec 2024, 17:30
- Forum: SFS2X Questions
- Topic: UPLOAD_HTTP_PARAMS Map Returns empty for Custom HTTP Parameters During File Upload
- Replies: 3
- Views: 1465
Re: UPLOAD_HTTP_PARAMS Map Returns empty for Custom HTTP Parameters During File Upload
Hi,
I am using SmartFoxServer version 2.19.0 along with the BlueBox.war file that you provided.
The file upload itself works correctly, and the file is uploaded to the server without issues. However, the problem is that the extra parameters I am sending via FormData are not being detected in the ...
I am using SmartFoxServer version 2.19.0 along with the BlueBox.war file that you provided.
The file upload itself works correctly, and the file is uploaded to the server without issues. However, the problem is that the extra parameters I am sending via FormData are not being detected in the ...
- 18 Dec 2024, 15:52
- Forum: SFS2X Questions
- Topic: UPLOAD_HTTP_PARAMS Map Returns empty for Custom HTTP Parameters During File Upload
- Replies: 3
- Views: 1465
UPLOAD_HTTP_PARAMS Map Returns empty for Custom HTTP Parameters During File Upload
I am implementing file upload on the server using SmartFoxServer. I need to send additional parameters in the HTTP POST request and retrieve them server-side using the SFSEventParam.UPLOAD_HTTP_PARAMS map.
On the client side, I am sending the data like this:
const formData = new FormData ...
On the client side, I am sending the data like this:
const formData = new FormData ...
- 16 Nov 2024, 09:45
- Forum: SFS2X Questions
- Topic: USER_DISCONNECT event not always providing access to session
- Replies: 1
- Views: 1204
USER_DISCONNECT event not always providing access to session
Hello everyone,
I'm using the following event handler:
addEventHandler(SFSEventType.USER_DISCONNECT, UserDisconnectHandler.class);
I have a question regarding its behavior. Is the USER_DISCONNECT event always triggered when a user disconnects? I noticed that in some cases, I can access ...
I'm using the following event handler:
addEventHandler(SFSEventType.USER_DISCONNECT, UserDisconnectHandler.class);
I have a question regarding its behavior. Is the USER_DISCONNECT event always triggered when a user disconnects? I noticed that in some cases, I can access ...