forked from metalfiiish/ts-gw2-verifyBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbot.conf.example
144 lines (95 loc) · 4.71 KB
/
bot.conf.example
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
#######################################
#### Configs
#######################################
#######################################
[teamspeak connection settings]
#can be IP or FQDN
host = 127.0.0.1
# Default port for ServerQuery access. Shouldn't need to change this.
port = 10011
user = serveradmin
passwd = xxxxxxx
#######################################
#######################################
[teamspeak other settings]
#Default is one (only change if you have multple servers)
server_id = 1
#Channel we want the bot to sit in and listen for requests
channel_name = Registration
#Group the BOT will add people to if they authenticate
verified_group = Verified
#######################################
#######################################
[bot settings]
#Name displayed to users
bot_nickname = Verify BOT
#Seconds between trying to restart bot teamspeak connection if it's connection timed out. Added to prevent loopig to death if it fails. (seconds)
bot_sleep_conn_lost=30
# How often the bot idle loop hits (seconds), this is also how often bot checks it's pending scheduled events such as broadcast message or auditng users.
bot_sleep_idle=15
# options are: ['verifyme','setguild','hideguilds','unhideguild'] --Can be any combinations of options for allowed commands
cmd_list=['verifyme','setguild','hideguild','unhideguild']
#Change the name of the database file the script will use
db_file_name = BOT.db
# How often to audit a user (days)
audit_period=7
# How often the bot will check if users are past the auditing policy period (days)
audit_interval=15
# Allow/restrict TeamSpeak Users coming from more than one computer (teamspeak creates new ids for users per computer, so two laptops means two different ids)
# Set to any number 1 or higher (i think it won't work past two but I don't have the means to test that many TS client ID's, maybe one day)
client_restriction_limit=2
# How frequentin seconds the bot should advertise the broadcast message info it's channel (restricted by how often the bot is checking for scheduled items changeable in config option 'bot_sleep_idle')
# Set to 0 to disable broadcasting
broadcast_message_timer=0
# The language in which the bot talks to the users. Currently, only EN and DE are supported.
# Multiple locales can be separated with a + to send messages in multiple languages, separated by a newline, eg DE+EN.
locale=EN
# Whether a user should lose all groups when his API key is no longer accepted.
# This is useful if you have groups for guilds that would enable users that lost the authentification group to still see the server.
purge_completely=False
# This is a list of groups that will stay on users, even if they lose authentification, if you enabled the purge_completely feature.
# Your admin group should always be in this list to avoid getting locked out of your own server if your left the allowed GW2 servers.
purge_whitelist=['Server Admin']
#######################################
#######################################
[auth settings]
# The guild wars 2 servers user must be on, expected as a python list Ex. ['Kaineng','Tarnished Coast']
required_servers = ['Kaineng','Tarnished Coast']
# Required Level for at least one character on account (set to 0 to disable character checks (useful if Arena Net's GW2 API breaks again)
required_level = 80
#######################################
#######################################
[ipc settings]
# What port the bot listens on for IPC requests
ipc_port = 10137
# Group that is polled and sent via IPC regularly
poll_group_names = ['Active Raidlead']
#######################################
#######################################
[reset roster]
# Tuple of pattern and clean label.
# Pattern for the toplevel and sub channels. Note that a "Teamspeak pattern" is used,
# aka a substring and should therefore be unique, see:
# https://sk-gameservers.de/ts3-server-query-befehle-alle#channelfind
# the clean label is what will be used to (re)set the label when a command needs to do so.
# Variables you can use that will be replaced:
# $DATE
reset_top_level_channel = ('reset roster','Reset Roster') # pattern will find "Reset Roster - 13.09.19" for example
reset_rgl_channel = ('red bl','Red BL:')
reset_bgl_channel = ('blue bl','Blue BL:')
reset_ggl_channel = ('green bl','Green BL:')
reset_ebg_channel = ('ebg','EBG:')
#######################################
#######################################
[guilds]
guilds_parent_channel = Guilds
guild_sub_channels = ["Lobby", "Raids"]
guild_contact_channel_group = Guild Contact
maximum_talk_power = 90
guild_sort_id = 1100
#######################################
#######################################
[DEBUGGING]
#Set to yes for more debug information
DEBUG=False
#######################################