Guest User

Untitled

a guest
Mar 6th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. [gnuworld@us04419 bin]$ cat chanfix.conf
  2. # $Id: openchanfix.example.conf.in,v 1.1 2006/12/22 06:41:41 kewlio Exp $
  3. # chanfix configuration file
  4.  
  5. # ---------------------------------------------------------------------
  6.  
  7. # Nickname of bot
  8. nickname = C
  9.  
  10. # Username of bot
  11. username = chanfix
  12.  
  13. # Hostname of bot
  14. hostname = IRC2Net
  15.  
  16. # Real name (info) of bot
  17. userdescription = Chanfix v2.1
  18.  
  19. # User modes bot should set
  20. mode = +iodk
  21.  
  22. # ---------------------------------------------------------------------
  23. # Database specifications
  24.  
  25. # Host and port of database
  26. sqlHost = 127.0.0.1
  27. sqlPort = 5432
  28. # Name of database
  29. sqlDB = chanfix
  30. # If you don't need user/pass just put "" for option(s) below
  31. sqlcfUser = gnuworld
  32. sqlPass = "gnuworld333"
  33.  
  34. # ---------------------------------------------------------------------
  35. # Channels the bot should join
  36.  
  37. # Console channel name and initial modes
  38. consoleChan = #coder-com
  39. consoleChanModes = +nst
  40.  
  41. # Should the bot relay admin messages to the console channel?
  42. # NOTE: This only disables relaying information sent to the
  43. # adminLog. debugLog information is *always* relayed.
  44. sendConsoleNotices = true
  45.  
  46. # Channel(s) that chanfix should join besides consoleChan (can be multiple)
  47. joinChan = #coder-com
  48. joinChan = #coder-com
  49.  
  50. # Initial modes all joinChans should have
  51. joinChanModes = +nt
  52.  
  53. # ---------------------------------------------------------------------
  54. # Fixing settings
  55.  
  56. # Should chanfix automatically fix opless channels?
  57. enableAutoFix = true
  58.  
  59. # Should chanfix be able to manually fix channels?
  60. enableChanFix = true
  61.  
  62. # Can channels be blocked by admins?
  63. enableChannelBlocking = true
  64.  
  65. # Should chanfix join the channel its fixing? this avoids the hopping issue
  66. joinChannels = true
  67.  
  68. # Should chanfix send notices saying the channel is being fixed for auto
  69. # fixes. Also a notice after its finished saying its done?
  70. autoFixNotice = true
  71.  
  72. # Should chanfix send notices saying the channel is being fixed for manual
  73. # fixes Also a notice after its finished saying its done?
  74. manualFixNotice = true
  75.  
  76. # Should auto fixes stop if an already reopped user ops another user?
  77. stopAutoFixOnOp = true
  78.  
  79. # Should manual fixes stop if an already reopped user ops another user?
  80. stopChanFixOnOp = true
  81.  
  82. # Should the top ops be allowed to perform fixes on their own channels?
  83. allowTopOpFix = false
  84.  
  85. # Should the top op fixes be able to alert the top 10 ops who are not in
  86. # the channel at the time of the fix automatically? If no/false then the
  87. # database help entry for REQUESTOP will need to be updated.
  88. allowTopOpAlert = true
  89.  
  90. # How much percentage within the top score should the top ops score be
  91. # before they are allowed to perform fixes. Dont include a %.
  92. topOpPercent = 10
  93.  
  94. # Minimum score an op has be before they can issue fixes in their own
  95. # channel without requiring an oper to do them.
  96. minFixScore = 999
  97.  
  98. # Minimum score an op has to be before they can use the CANFIX command for
  99. # a channel they are ops in.
  100. minCanFixScore = 500
  101.  
  102. # Minimum time required between REQUESTOP fixes. (In seconds). The last
  103. # fix time is updated at the start of a fix so allow time for the first
  104. # fix aswell as time for a gap.
  105. minRequestOpTime = 720
  106.  
  107. # ---------------------------------------------------------------------
  108. # Network settings
  109.  
  110. # Version of IRCu used on the network (11 or 12)
  111. # Use 11 for u2.10.11 and 12 for u2.10.12
  112. # NOTE: You MUST restart GNUWorld for this change to take place.
  113. version = 12
  114.  
  115. # Should burst be used to fix takeovers (through a manual fix)?
  116. # Burst guarantees that the abusers will not be reopped due to
  117. # a netsplit, but it can cause problems due to lowering timestamp.
  118. # NOTE: You MUST restart GNUWorld for this change to take place.
  119. useBurstToFix = false
  120.  
  121. # Total number of servers on the network
  122. numServers = 3
  123.  
  124. # The minimum percentage of servers that need to be linked;
  125. # if there are fewer servers linked, chanfix will not fix
  126. # any channels, be it automatic or manual.
  127. minServersPresent = 75
  128.  
  129. # The full server name of the channel service. This is used in
  130. # checking whether the channel service is currently linked or
  131. # not to the network.
  132. chanServName = channels.irc2net.org
  133.  
  134. # ---------------------------------------------------------------------
  135. # Interface settings
  136.  
  137. # The amount of scores to report when issuing the SCORE #channel
  138. # command. Do not set this to a higher value than 10.
  139. numTopScores = 10
  140.  
  141. # ---------------------------------------------------------------------
  142. # Database settings
  143.  
  144. # Minimum clients needed in a channel for it to be scored
  145. minClients = 4
  146.  
  147. # Which clients score a point if they are opped?
  148. # Client needs to be idented (no ~ before username)
  149. clientNeedsIdent = false
  150.  
  151. # ---------------------------------------------------------------------
  152. # Miscellaneous settings
  153.  
  154. # Frequency (in seconds) between database connection status checks
  155. connectCheckFreq = 10
  156.  
  157. # File where all admin commands sent to backchan are logged and saved
  158. adminLogFile = chanfix-admin.log
  159.  
  160. # File where all debug information sent to backchan is logged and saved
  161. debugLogFile = chanfix-debug.log
  162.  
  163. # End of config file.
  164. # ---------------------------------------------------------------------
  165. [gnuworld@us04419 bin]$
Add Comment
Please, Sign In to add comment