Archive for the ‘Server Side Config’ Category

SmartFoxServer Chapter 12 – server side config –part-9

October 10th, 2010 by aabhaanjan

server side config -part-9

Zone : Specify the combination of rooms and extensions. In other words we can say that the for one application or game generally we define one zone.

Extensions : These are the server side file which we use for the application.

SmartFoxServer Chapter 11 – server side config –part-8

October 10th, 2010 by aabhaanjan

server side config -part-8

Active : It is a Boolean value. By selecting true/false we can on/off webserver.

CfgFile: It shows the location of http server config file.

SmartFoxServer Chapter 10 – server side config –part-7

October 10th, 2010 by aabhaanjan

AutoReloadExtensions : It is a Boolean value . By using it we can  enable/disable the

auto-reload feature for extensions. For example  the server will reload extensions

as soon as they are modified.

IpFilter :  Here we specify the number of users that
can be created by one single IP Address.
Mailer : Here we can set the email. The required thing is valid SMTP account.

MailHost :  Here we specify the SMTP IP address or host name.

MailUser : Here we specify the SMTP username.

MailPass : Here we specify password.

SmtpPort: Here we specify the SMTP port number.

EnableZoneInfo : It is Boolean value . using feature Enable / disable we can know how many clients are connected through the server currently.

SmartFoxServer Chapter 8 – server side config –part-5

October 10th, 2010 by aabhaanjan

lets move forward with the config :

server side config -part-5

ClientMessagQueue:

Sometimes network doesn’t work in fill speed and not always permit to send the messages in fast speed at the same rate of messages are produced on the server side. In that case SmartFoxServer creates a queue of outgoing message packets that should be sent to the user.

 
QueueSize : Here we specify the size of queue .
MaxAllowedDroppedPackets : Here we specify the amount of
dropped messages that can be tolerated

MaxIncomingQueue : Here we specify the maximum number of  requests that can be enqueued by the server. By default it is 8000.

DeadChannelsPolicy : Here we specify the server policy for dead / closed socket channels.

There are two modes are available:
normal: allows unexpectedly closed or stalled socket connections to live longer in memory.
strict:  this is recommended . It  uses a more efficient way to catch unexpected disconnections or closed channels. Immediately gets rid of closed channels, releasing their resources.

MaxMsgLen :Maximum length of message.

LogMaxSize :  Maximum size of  each log file .

LogMaxFile:Maximum number of file log files which can be created from the server.

Previous Chapter

Next Chapter

Tags: , , , , , , , , , , , ,

Smartfox Server–Chapter 07-Server side Config-part-4

October 3rd, 2010 by aabhaanjan

————————————————————————————————-

Server side Config-part-4

————————————————————————————————-

Lets continue with following tags :

server side config -part-4

BanCleaning : here we can set it auto. In a specific interval which BanDuration it will clean the ban.

BanDuration: here we can set the duration of ban.

BannedLoginMessage : Here we can set the cutom message for the banned user.

OutQueueThreads: This tag is basically used as the performance settings. It represents the number of Java worker threads used for the SmartFoxServer EventWriter. The EventWriter is the server stage responsible for broadcasting messages back to the connected clients and it is usually one of the most busy stages of the server. By default  it is assigned 1 thread . We generally use (number of cpus / 2) rule to decide how many threads to assign .

ExtHandlerThreads: Here we can set the size of the thread pool. By default it is 1. Only in special case like when one extension blocks for a certain amount of time waiting for a resource, an external response or a complex database request etc we need to increase it.

MaxWriterQueue: The maximum number of messages that can be added to the outgoing message queue. This parameter is already set by default to a high value.

Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,

Smartfox Server–Chapter 06-Server side Config-part-3

October 3rd, 2010 by aabhaanjan

————————————————————————————————————————-

Server side Config-part-3 Bad words filtering

————————————————————————————————————————-


Lets continue with Bad words filtering  🙂

server side config -part-3

SmartFoxServer provides a built-in customizable bad words filter which allow automatic moderation of chat applications and games. We can make a list of bad words that we want to be filtered and server will automatically handle that by replacing them with asterisks or completely remove the phrase.

Also you can turn automatic administrator messages and specify the amount of warnings before the user is kicked and the amounts of kicks before the user is completely banned from the server.

Active : It is a Boolean value which specify if we want to use this feature.

FilterMode : There are two mode :

a). FILTER : It will replace the bad words with asterisks

b). REMOVE : it will remove every phrase containing bad words

StripCharacters : By default the following characters are , . ; : _ ! $ % & / # * – +.By using this feature we can specify which characters should be stripped from the original message

Warnings: It is a Boolean value. By turning them on the server will send a custom warning message to the user each time a bad word is detected or removed.

FilterRoomNames : It is a Boolean value. By turning them on it will filter bad words in room names.

FilterUserNames: It is a Boolean value. By turning them on it will filter bad words in user nicknames.

WarningsBeforeKick: Here we can specify how many warnings are sent before the user is automatically kicked.

WarningMessage : Here we can specify the custom warning message.

KickMessage : Here we can specify the custom kick message.

BanMessage: Here we can specify the custom ban message.

BanAfter: Here we can specify how many kicks are tolerated before the user is automatically banned from the server.

BadWordsList : Here we can list the custom list of bad words to be filtered.

Previous Chapter

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Smartfox Server–Chapter 05-Server side Config-part-2

October 3rd, 2010 by aabhaanjan

———————————————————————————————————————

Server side Config-part-2

————————————————————————————————————————

Lets continue with other nodes 🙂

server side config -part-2

If you want to kick and banish any user you have an automatic option too . SmartFoxServer comes with filter which is called anti-flood filter which allows to automatically kick and banish users that are trying to flood your applications with messages.  In above attached image the nodes are divided into sub-nodes lets discuss each node :

AntiFlood active : This is a Boolean value which is use to turn on/off the filter.

MinMsgTime  tolerance : MinMsgTime is the minimum time allowed between two messages. The tolerance attribute stands for the amount of messages. Before sending warning message server will check the tolerance limit.

MaxRepeatedMessages : This is the maximum allowed number of identical messages. After crossing the limit server will automatically send  a warning message to user.

WarningsBeforeKick : This is a number value. Where we specify how many warning messages a user can get before being kicked.

WarningMessage : Here we specify the custom message what we want to show as warning message.

KickMessage : Here we specify the custom message what we want to show as kick message.

BanMessage : Here we specify the custom message what we want to show as ban message.

BanAfter This is a number value. Where we specify how many warning messages a user can get before being baned.

Tags: , , , , , , , , , , , , , , , , , , , , ,