Advertisement
Guest User

Untitled

a guest
Mar 15th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.38 KB | None | 0 0
  1. <!--
  2.  
  3. Hidden Project SFS Configuration File
  4. (c) 2013 Hidden Project
  5.  
  6. SmartFoxServer version 1.6.9
  7. -->
  8. <SmartFoxConfig>
  9. <ServerSetup>
  10. <!--
  11. Specify an ip address or use an asterisk(*) to bind all available IPs
  12. -->
  13. <ServerIP>25.0.177.189</ServerIP>
  14. <ServerPort>5588</ServerPort>
  15. <AutoSendPolicyFile>true</AutoSendPolicyFile>
  16.  
  17. <MaxUserIdleTime>1440</MaxUserIdleTime>
  18. <MaxSocketIdleTime>60</MaxSocketIdleTime>
  19. <UserVarsOptimization>true</UserVarsOptimization>
  20. <DeadChannelsPolicy>strict</DeadChannelsPolicy>
  21.  
  22. <LogMaxSize>5000000</LogMaxSize>
  23. <LogMaxFiles>5</LogMaxFiles>
  24.  
  25. <!-- Server Variables limits (-1 = unlimited) -->
  26. <MaxRoomVars>-1</MaxRoomVars>
  27. <MaxUserVars>-1</MaxUserVars>
  28.  
  29. <!-- New since 1.6.3, optimizes user variables size -->
  30. <UserVarsOptimization>true</UserVarsOptimization>
  31.  
  32. <AntiFlood active="false">
  33. <MinMsgTime tolerance="5">1000</MinMsgTime>
  34. <MaxRepeatedMessages>3</MaxRepeatedMessages>
  35. <WarningsBeforeKick>2</WarningsBeforeKick>
  36. <WarningMessage><![CDATA[No flooding allowed!)]]></WarningMessage>
  37. <KickMessage><![CDATA[You've been warned! No flooding! Now you're kicked]]></KickMessage>
  38. <BanMessage><![CDATA[Stop Flooding!! You're being banned]]></BanMessage>
  39. <BanAfter timeSpan="1">3</BanAfter>
  40. </AntiFlood>
  41.  
  42. <BadWordsFilter active="false">
  43. <FilterMode>filter</FilterMode> <!-- REMOVE or FILTER -->
  44. <StripCharacters><![CDATA[,.;:_!$%&/#*-+]]></StripCharacters>
  45. <Warnings>true</Warnings>
  46. <FilterRoomNames>true</FilterRoomNames>
  47. <FilterUserNames>true</FilterUserNames>
  48. <WarningsBeforeKick>3</WarningsBeforeKick>
  49. <WarningMessage><![CDATA[No swearing!)]]></WarningMessage>
  50. <KickMessage><![CDATA[You've been warned! No Swearing! Now you're kicked]]></KickMessage>
  51. <BanMessage><![CDATA[Stop Swearing! You're being banned!]]></BanMessage>
  52. <BanAfter timeSpan="1">3</BanAfter>
  53.  
  54. <BadWordsList>
  55. <badWord>dickhead</badWord>
  56. <badWord>asshole</badWord>
  57. <badWord>shithead</badWord>
  58. <badWord>shit</badWord>
  59. <badWord>fucking</badWord>
  60. <badWord>fuck</badWord>
  61. <badWord>dickhead</badWord>
  62. <badWord>bastard</badWord>
  63. <badWord>awesomeguy</badWord>
  64. <badWord>idiot</badWord>
  65. <badWord>bitch</badWord>
  66. </BadWordsList>
  67. </BadWordsFilter>
  68.  
  69. <BanCleaning>auto</BanCleaning>
  70. <BanDuration>1800</BanDuration> <!-- 30 min -->
  71. <BannedLoginMessage>You have been banned!</BannedLoginMessage>
  72.  
  73. <OutQueueThreads>1</OutQueueThreads>
  74. <ExtHandlerThreads>1</ExtHandlerThreads>
  75. <MaxWriterQueue>50</MaxWriterQueue>
  76.  
  77. <!--
  78. New since 1.6.0
  79. Set the client queue size and the max. allowed dropped packets
  80. -->
  81. <ClientMessagQueue>
  82. <QueueSize>50</QueueSize>
  83. <MaxAllowedDroppedPackets>1</MaxAllowedDroppedPackets>
  84. </ClientMessagQueue>
  85.  
  86. <MaxIncomingQueue>5000</MaxIncomingQueue>
  87. <DeadChannelsPolicy>strict</DeadChannelsPolicy>
  88. <MaxMsgLen>4096</MaxMsgLen>
  89.  
  90. <LogMaxSize>5000000</LogMaxSize>
  91. <LogMaxFiles>5</LogMaxFiles>
  92.  
  93. <!--
  94. Available options are:
  95.  
  96. FINEST
  97. FINER
  98. FINE
  99. CONFIG
  100. INFO
  101. WARNING
  102. SEVERE
  103.  
  104. -->
  105. <FileLoggingLevel>INFO</FileLoggingLevel>
  106. <ConsoleLoggingLevel>INFO</ConsoleLoggingLevel>
  107.  
  108. <!-- Adminisitrator login -->
  109. <AdminLogin>epsilon</AdminLogin>
  110. <AdminPassword>unitycorev3</AdminPassword>
  111.  
  112. <!-- Allowed administrator IP addresses -->
  113. <AdminAllowedAddresses>
  114. <AllowedAddress>127.0.0.1</AllowedAddress>
  115. </AdminAllowedAddresses>
  116.  
  117. <!-- Allow remote debugging of extensions -->
  118. <ExtensionRemoteDebug>true</ExtensionRemoteDebug>
  119.  
  120. <!--
  121. Allow global autoreload of extensions upon file save
  122. You should specify in each Zone if the autoreload is enabled.
  123. -->
  124. <AutoReloadExtensions>true</AutoReloadExtensions>
  125.  
  126. <ExtensionRemoteDebug>true</ExtensionRemoteDebug>
  127.  
  128. <IpFilter>0</IpFilter>
  129.  
  130. <Mailer>
  131. <MailHost>test.mail.com</MailHost>
  132. <MailUser>foo</MailUser>
  133. <MailPass>bar</MailPass>
  134. <SmtpPort>25</SmtpPort>
  135. <WorkerThreads>1</WorkerThreads>
  136. </Mailer>
  137.  
  138. <!-- Enable / Disable remote zone info -->
  139. <EnableZoneInfo>false</EnableZoneInfo>
  140.  
  141. <!-- Enable / Disable embedded webserver -->
  142. <WebServer active="true">
  143. <CfgFile>webserver/cfg/jetty.xml</CfgFile>
  144. </WebServer>
  145.  
  146. <!-- raw custom protocol separator -->
  147. <RawProtocolSeparator><![CDATA[%]]></RawProtocolSeparator>
  148.  
  149. <!-- Enable NPCs -->
  150. <EnableNPC>true</EnableNPC>
  151.  
  152. <!-- Use concurrent map for properties objects -->
  153. <DynamicPropertiesClass>java.util.concurrent.ConcurrentHashMap</DynamicPropertiesClass>
  154.  
  155. <!-- Send a message to client, on wrong Zone. DISABLE THIS ONE IN PRODUCTION
  156. <WarnOnWrongZoneRequest><![CDATA[Invalid zone: %s]]></WarnOnWrongZoneRequest>
  157. -->
  158. </ServerSetup>
  159.  
  160.  
  161.  
  162. <!--
  163. Zones Configuration.
  164. -->
  165. <Zones>
  166. <Zone name="zone_master" customLogin="true" emptyNames="false">
  167. <MaxRoomNamesLen>500</MaxRoomNamesLen>
  168. <Rooms>
  169. <Room name="Lobby" autoJoin="false" limbo="true" />
  170. </Rooms>
  171. <DatabaseManager active="true">
  172. <Driver>com.mysql.jdbc.Driver</Driver>
  173. <ConnectionString>jdbc:mysql://localhost:3306/night?allowMultiQueries=true&amp;useCompression=true</ConnectionString>
  174. <UserName>vitor</UserName>
  175. <Password></Password>
  176. <TestSQL><![CDATA[SELECT 1]]></TestSQL>
  177. <MaxActive>50</MaxActive>
  178. <MaxIdle>25</MaxIdle>
  179. <OnExhaustedPool>grow</OnExhaustedPool>
  180. <BlockTime>1000</BlockTime>
  181. </DatabaseManager>
  182. <Extensions>
  183. <extension name="zm" className="lore.chaos.v2.LoreChaos" type="java" />
  184. </Extensions>
  185. </Zone>
  186. </Zones>
  187.  
  188. </SmartFoxConfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement