2015-07-22 20:46:38 +02:00
|
|
|
# This is a sample configuration file for PyLink. You'll likely want to rename it to config.yml
|
|
|
|
# and begin your configuration there.
|
|
|
|
|
|
|
|
# Note: lines starting with a "#" are comments and will be ignored.
|
|
|
|
|
2015-03-19 20:55:18 +01:00
|
|
|
bot:
|
2015-07-18 08:44:52 +02:00
|
|
|
# Sets nick, user/ident, and real name.
|
2015-07-07 21:03:30 +02:00
|
|
|
nick: pylink
|
|
|
|
user: pylink
|
|
|
|
realname: PyLink Service Client
|
2015-08-25 03:14:35 +02:00
|
|
|
|
|
|
|
# Server description (shown in /links, /whois, etc.)
|
|
|
|
serverdesc: PyLink Server
|
|
|
|
|
2015-07-07 21:03:30 +02:00
|
|
|
# Console log verbosity: see https://docs.python.org/3/library/logging.html#logging-levels
|
|
|
|
loglevel: DEBUG
|
2015-03-19 20:55:18 +01:00
|
|
|
|
|
|
|
login:
|
2015-07-07 21:03:30 +02:00
|
|
|
# PyLink administrative login - Change this, or the service will not start!
|
|
|
|
user: admin
|
|
|
|
password: changeme
|
2015-03-19 20:55:18 +01:00
|
|
|
|
2015-07-10 23:17:43 +02:00
|
|
|
servers:
|
|
|
|
yournet:
|
|
|
|
# Server IP, port, and passwords
|
|
|
|
ip: 127.0.0.1
|
|
|
|
port: 7000
|
|
|
|
recvpass: "abcd"
|
|
|
|
sendpass: "abcd"
|
2015-07-12 05:09:36 +02:00
|
|
|
|
2015-07-10 23:17:43 +02:00
|
|
|
# Hostname we will use to connect to the remote server
|
|
|
|
hostname: "pylink.yournet"
|
2015-07-12 05:09:36 +02:00
|
|
|
|
2015-07-10 23:17:43 +02:00
|
|
|
# SID - required for InspIRCd and TS6 based servers. This must be three characters long.
|
|
|
|
# The first char must be a digit [0-9], and the remaining two chars may be letters [A-Z] or digits.
|
|
|
|
sid: "0AL"
|
2015-07-12 05:09:36 +02:00
|
|
|
|
2015-08-24 06:15:49 +02:00
|
|
|
# SID range - the range of SIDs PyLink is allowed to use to generate server IDs. On TS6,
|
|
|
|
# this should be a combination of digits, letters, and #'s. Each # denotes a range (0-9A-Z)
|
|
|
|
# of characters that can be used by PyLink. You will want to make sure no other servers
|
|
|
|
# are using this range. There must be at least one # in the entry.
|
|
|
|
sidrange: "8##"
|
|
|
|
|
2015-07-10 23:17:43 +02:00
|
|
|
# Autojoin channels
|
|
|
|
channels: ["#pylink"]
|
2015-08-04 08:20:19 +02:00
|
|
|
|
|
|
|
# Sets the protocol module to use - see the protocols/ folder for a list of valid values
|
|
|
|
# (omitting the .py extension).
|
2015-07-10 23:17:43 +02:00
|
|
|
protocol: "inspircd"
|
2015-04-25 07:37:07 +02:00
|
|
|
|
2015-07-18 08:44:52 +02:00
|
|
|
# Sets autoconnect delay - comment this out or set the value negative to disable autoconnect entirely.
|
2015-07-15 20:53:07 +02:00
|
|
|
autoconnect: 5
|
|
|
|
|
2015-07-18 08:44:52 +02:00
|
|
|
# Sets ping frequency (i.e. how long we should wait between sending pings to our uplink).
|
|
|
|
# When more than two consecutive pings are missed, PyLink will disconnect with a ping timeout.
|
2015-08-04 08:20:19 +02:00
|
|
|
# Defaults to 30 if not set.
|
2015-07-18 08:44:52 +02:00
|
|
|
pingfreq: 30
|
|
|
|
|
2015-07-20 23:36:47 +02:00
|
|
|
# Separator character (used by relay)
|
|
|
|
separator: "/"
|
|
|
|
|
2015-08-04 04:42:26 +02:00
|
|
|
# Sets the max nick length for the network. It is important this is set correctly, or
|
|
|
|
# PyLink might introduce a nick that is too long and cause netsplits!
|
|
|
|
maxnicklen: 30
|
|
|
|
|
2015-08-11 05:24:55 +02:00
|
|
|
# Toggles SSL for this network. Defaults to false if not specified, and requires the
|
|
|
|
# ssl_certfile and ssl_keyfile options to work.
|
|
|
|
# ssl: true
|
2015-08-12 11:00:43 +02:00
|
|
|
|
2015-08-11 05:24:55 +02:00
|
|
|
# ssl_certfile: pylink-cert.pem
|
|
|
|
# ssl_keyfile: pylink-key.pem
|
|
|
|
|
2015-08-12 11:00:43 +02:00
|
|
|
# Optionally, you can set this option to verify the SSL certificate
|
|
|
|
# fingerprint (SHA1) of your uplink.
|
|
|
|
# ssl_fingerprint: "e0fee1adf795c84eec4735f039503eb18d9c35cc"
|
|
|
|
|
2015-08-04 08:20:19 +02:00
|
|
|
ts6net:
|
|
|
|
ip: 127.0.0.1
|
|
|
|
port: 7000
|
|
|
|
recvpass: "abcd"
|
|
|
|
sendpass: "abcd"
|
|
|
|
hostname: "pylink.example.com"
|
|
|
|
sid: "8PY"
|
|
|
|
|
|
|
|
# Leave this as an empty list if you don't want to join any channels.
|
|
|
|
channels: []
|
|
|
|
|
|
|
|
protocol: "ts6"
|
|
|
|
autoconnect: 5
|
|
|
|
pingfreq: 30
|
|
|
|
maxnicklen: 30
|
|
|
|
|
|
|
|
# /'s in nicks are automatically converted to |'s for TS6 networks, since they
|
|
|
|
# don't allow "/" in nicks
|
|
|
|
separator: "|"
|
|
|
|
|
|
|
|
# The following options are specific to TS6 servers:
|
|
|
|
# Toggles owner (+y), admin (+a), and halfop (+h) support for shadowircd/elemental-ircd.
|
|
|
|
# This defaults to off for the best compatibility.
|
|
|
|
use_owner: false
|
|
|
|
use_admin: false
|
|
|
|
use_halfop: false
|
|
|
|
|
|
|
|
# Toggles support of shadowircd/elemental-ircd specific channel modes:
|
|
|
|
# +T (no notice), +u (hidden ban list), +E (no kicks), +J (blocks kickrejoin),
|
|
|
|
# +K (no repeat messages), +d (no nick changes), and user modes:
|
|
|
|
# +B (bot), +C (blocks CTCP), +D (deaf), +V (no invites), +I (hides channel list)
|
|
|
|
use_elemental_modes: false
|
|
|
|
|
2015-04-25 07:37:07 +02:00
|
|
|
# Plugins to load (omit the .py extension)
|
|
|
|
plugins:
|
2015-06-02 22:37:35 +02:00
|
|
|
- commands
|
2015-07-18 07:35:34 +02:00
|
|
|
# - admin
|
|
|
|
# - relay
|