-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbot.example.conf
More file actions
executable file
·145 lines (133 loc) · 4.75 KB
/
bot.example.conf
File metadata and controls
executable file
·145 lines (133 loc) · 4.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
##############################################################
# ANT System Configuration #
# #
# Example Configuration file for Navn IRC Channel bot #
# #
# File Type: ini #
# There are a few ways of doing comments in this config #
# 1. # (like python) You can't use # with midline comments #
# 2. // (C style signle line) #
# 3. /* */ (C++ multi-line) #
# #
# Save as bot.conf and start ANT with ./ant #
# #
# !!READ THE WHOLE CONFIG BEFORE STARTING THE BOT!! #
##############################################################
[Connect]
# The bots Realname, this is the realname of the bot shown in the GECOS (Default: Bots version)
# Realname = "ANT Bot";
The bots Ident shown in the GECOS (Default: Navn)
Ident = "ANT";
# Allow connecting with IPv6 (Default: false)
UseIPv6 = "false";
##############################################################
# #
# Bot Configuration. #
# #
# These are the options for the bot when it joins the server.#
##############################################################
[Bot]
# defines the pid file to use (Default: ANT.pid)
PID File = "ant.pid";
# Force databases to read even if it cannot determin the database version (default: false)
Force Database Read = "false";
# This is the owner password, it is used in changing owners, and much more. (default: Navn)
Password = "Test";
##############################################################
# #
# XML-RPC Configuration. #
# #
# These are the XML-RPC options. #
##############################################################
[XML-RPC]
# Address to bind to, if left blank or commented out it will bind to all IPs
BindAddress = "0.0.0.0";
# Port to use. default to 3910
Port = 3910;
# Use ipv6 or ipv4? default: ipv4
IPv6 = "false";
# Timeout before we drop the connection.
Timeout = 30;
##############################################################
# #
# JSON-RPC Configuration. #
# #
# These are the XML-RPC options. #
##############################################################
[JSON-RPC]
# Address to bind to, if left blank or commented out it will bind to all IPs
BindAddress = "0.0.0.0";
# Port to use. default to 3920
Port = 3920;
# Use ipv6 or ipv4? default: ipv4
IPv6 = "false";
# Timeout before we drop the connection.
Timeout = 30;
##############################################################
# #
# Logging Configuration. #
# #
# These are the logging options. #
##############################################################
/* Log File location, this is where the logging will be stored.
It is recommended that this not be empty */
[Log]
Log_File = "ant.log";
/* This sets the color for when we print to the terminal
\033[22;36m is the traditional blue */
Color = "\033[22;;36m";
##############################################################
# #
# Buffer Configuration. #
# #
# These are the Buffer limit options. #
##############################################################
[SendQ]
# Is buffer limiting enabled? (default: true)
Enabled = "true";
# How many lines to send before we apply the limit. (default: 7)
Burst Rate = 7;
# How many lines to send (default: 5)
Lines = 5;
# How many seconds before we send more lines (default: 5)
Rate = 5;
##############################################################
# #
# Socket Configuration. #
# #
# These are the socket options. #
##############################################################
[Socket]
# Number of seconds to wait for it to retry
Retry Wait = 30;
# timeout (in seconds)it takes for the socket to process NOTE: this affects the cpu usage (default: 5 sec)
Socket Timeout = 5;
##############################################################
# #
# DNS Configuration. #
# #
# These are the DNS options. #
##############################################################
[DNS]
Timeout = 30;
NameServer = "127.0.0.1";
##############################################################
# #
# Module Configuration. #
# #
# This is where the oper info goes #
##############################################################
[Modules]
# This will load modules in any directory in the binary runtime, do not use absolute paths
ModuleDir = "../modules/";
Module = "m_system";
Module = "modulehandler";
Module = "help";
Module = "m_ping";
Module = "m_join";
Module = "testmod";
Module = "m_terminal_input";
Module = "m_XML_RPC";
Module = "m_dbplain";
Module = "ctcp";
Module = "m_cia_rulesets";