<!--

	SmartFoxServer BASIC 
	(c) 2004-2007 gotoAndPlay()
	www.gotoandplay.it
	www.smartfoxserver.com
	
	Main Configuration file
	version 1.5.5
	
	NOTE:
	You can find detailed informations on how to configure the server by reading
	the tutorials in section 2 of the documentation.
	( http://www.smartfoxserver.com/docs/docPages/config/basics.htm )
	
-->

<SmartFoxConfig>
	
	<ServerSetup>
		
		<ServerIP>127.0.0.1</ServerIP>
		<ServerPort>9339</ServerPort>
		
		<AutoSendPolicyFile>true</AutoSendPolicyFile>
		<MaxUserIdleTime>30000000</MaxUserIdleTime>
		
		<!-- Server Variables limits (-1 = unlimited) -->
		<MaxRoomVars>-1</MaxRoomVars>
		<MaxUserVars>-1</MaxUserVars>
		
		<AntiFlood active="false">
			<MinMsgTime tolerance="5">1000</MinMsgTime>
			<MaxRepeatedMessages>3</MaxRepeatedMessages>
			<WarningsBeforeKick>2</WarningsBeforeKick>
			<WarningMessage><![CDATA[No flooding allowed!)]]></WarningMessage>
			<KickMessage><![CDATA[You've been warned! No flooding! Now you're kicked]]></KickMessage>
			<BanMessage><![CDATA[Stop Flooding!! You're being banned]]></BanMessage>			
			<BanAfter timeSpan="1">3</BanAfter>
		</AntiFlood>
		
		<BadWordsFilter active="false">
			<FilterMode>filter</FilterMode> <!-- REMOVE or FILTER -->
			<StripCharacters><![CDATA[,.;:_!$%&/#*-+]]></StripCharacters>
			<Warnings>true</Warnings>
			<FilterRoomNames>true</FilterRoomNames>
			<FilterUserNames>true</FilterUserNames>
			<WarningsBeforeKick>3</WarningsBeforeKick>
			<WarningMessage><![CDATA[No swearing!)]]></WarningMessage>
			<KickMessage><![CDATA[You've been warned! No Swearing! Now you're kicked]]></KickMessage>
			<BanMessage><![CDATA[Stop Swearing! You're being banned!]]></BanMessage>	
			<BanAfter timeSpan="1">3</BanAfter>
			
			<BadWordsList>
				<badWord>motherfucker</badWord>				
				<badWord>dickhead</badWord>
				<badWord>asshole</badWord>
				<badWord>shithead</badWord>
				<badWord>shit</badWord>
				<badWord>fucking</badWord>
				<badWord>fuck</badWord>
				<badWord>dickhead</badWord>
				<badWord>bastard</badWord>
				<badWord>nigger</badWord>
				<badWord>idiot</badWord>
				<badWord>bitch</badWord>
			</BadWordsList>
		</BadWordsFilter>
		
		<BanCleaning>auto</BanCleaning>
		<BanDuration>1800</BanDuration> <!-- 30 min -->
		<BannedLoginMessage>You have been banned!</BannedLoginMessage>
		
		<OutQueueThreads>1</OutQueueThreads>
		<ExtHandlerThreads>1</ExtHandlerThreads>
		<MaxWriterQueue>50</MaxWriterQueue>
		<MaxIncomingQueue>8000</MaxIncomingQueue>
		<DeadChannelsPolicy>strict</DeadChannelsPolicy>
		
		<MaxMsgLen>4096</MaxMsgLen>
		
		<LogMaxSize>5000000</LogMaxSize>
		<LogMaxFiles>5</LogMaxFiles>
		
		<!--
			Available options are:
			
			FINEST
			FINER
			FINE
			CONFIG
			INFO
			WARNING
			SEVERE

		-->
		<FileLoggingLevel>WARNING</FileLoggingLevel>
		<ConsoleLoggingLevel>INFO</ConsoleLoggingLevel>	
		
		<AdminLogin>sfs_admin</AdminLogin>
		<AdminPassword>sfs_pass</AdminPassword>
		
		<AdminAllowedAddresses>
			<AllowedAddress>*.*.*.*</AllowedAddress>
		</AdminAllowedAddresses>
		
		<IpFilter>0</IpFilter>
		
		<!-- Enable / Disable remote zone info -->
		<EnableZoneInfo>false</EnableZoneInfo>
		
	</ServerSetup>
	
	
	
	<!--
		Zones Configuration.
	-->
	<Zones>	
	
		<Zone name="simpleChat" uCountUpdate="true" buddyList="20" maxUsers="4000" customLogin="false">
			<Rooms>
				<Room name="The Hall" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" uCountUpdate="true" />		
				<Room name="The Kitchen" maxUsers="50" isPrivate="false" isGame="false" isTemp="false" />
				<Room name="The Garden" maxUsers="50" isPrivate="false" isTemp="false" />
				<Room name="The Bathroom" maxUsers="50" isPrivate="false" isTemp="false" />
				<Room name="The Garage" maxUsers="50" isPrivate="false" isTemp="false" />
				<Room name="The Living Room" maxUsers="50" isPrivate="true" isTemp="false" pwd="test" />
			</Rooms>
			
			<Moderators status="on">
				<Mod name="modName" pwd="modPass" />
			</Moderators>
		</Zone>

		<Zone name="sftris" emptyNames="true">
			<Rooms>
				<Room name="The Entrance" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
			</Rooms>
		</Zone>
		
		<Zone name="multiChat">
			<Rooms>
				<Room name="Main Lobby" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
			</Rooms>
		</Zone>
		
		<Zone name="yahtzee">
			<Rooms>
				<Room name="The Entrance" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
			</Rooms>
		</Zone>
		
		<Zone name="TheoChat">
			<Rooms>
				<Room name="Lobby" maxUsers="10" isPrivate="false" isTemp="false" autoJoin="false" />

				<Room name="The Dance Room" maxUsers="10" isPrivate="false" isTemp="false" autoJoin="false">
					<Vars>
						<Var name="MapPath" type="s" private="false">dance.xml</Var>
					</Vars>
				</Room>
				
				<Room name="The Atrium" maxUsers="10" isPrivate="false" isTemp="false" autoJoin="false">
					<Vars>
						<Var name="MapPath" type="s" private="false">atrium.xml</Var>
					</Vars>
				</Room>
				
				<Room name="The Garden" maxUsers="10" isPrivate="false" isTemp="false" autoJoin="false">
					<Vars>
						<Var name="MapPath" type="s" private="false">garden.xml</Var>
					</Vars>
				</Room>

				<Room name="The Lounge" maxUsers="10" isPrivate="false" isTemp="false" autoJoin="false">
					<Vars>
						<Var name="MapPath" type="s" private="false">lounge.xml</Var>
					</Vars>
				</Room>	
			</Rooms>
			
			<Moderators status="on">
				<Mod name="mod" pwd="pass" />
			</Moderators>
		</Zone>

	</Zones>
	
	
</SmartFoxConfig>