-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Rayslava edited this page Nov 15, 2016
·
3 revisions
App uses plain ".ini"-like configuration format
[general]
tick_timeout=120000
[hub]
name=Hub1
[channel]
type=irc
direction=inout
name=IrcConnection
server=irc.freenode.net
port=6667
channel=chatsync
nickname=csb
[channel]
type=tox
name=ToxConnection
direction=inout
datafile=/tmp/toxdatatick_timeout the time before two ticks in main loop in milliseconds. E.g. exit from application happens at the end of the tick. Defaults to 2 minutes.
name just internal hub name. Makes no sense actually
type channel type — irc,tox,file
name channel name — internal connection name. Makes no sense either
direction channel direction — input,output,inout. Messages from inputs are directed into outputs.
datafile path to file with tox data to keep
nickname bot nickname
ipv6 ipv6 enabled or not
Bootstrapping parameters:
bootstrap_address, bootstrap_port, bootstrap_key can be borrowed from tox wiki
server , port irc server and port to connect to
channel channel name without leading #
nickname bot nickname