tcircv3/settings.toml

84 lines
1.4 KiB
TOML

title = 'tcirc3 settings'
[bot]
name = 'TCIRCv3'
from = 'tilde.town'
[irc.settings]
server = 'localhost'
channel = '#minecraft'
nick = 'tildecraft_mc_bot_v3'
[game.settings]
server = 'mc.tildeverse.org'
rcon_port = 6668
rcon_password_file = 'rcon_password'
[game.chat]
match = [
'\[Async Chat Thread -.*?/INFO'
]
dont_match = [
'.*: \[GriefPrevention\] .*'
]
replace = [
['\^.*?m', ''],
['\^.*UUID', ''],
['.*?Async Chat Thread.*?: ', '', 1],
['^.*?\[Not Secure\] .*?', '', 1],
]
[game.login]
match = [
'.*\] logged in with entity id.*'
]
replace = [
['\[.*?User Authenticator.*\n', '', 1, 'MULTILINE'],
['\[.*?: ', '', 1],
['\[/.*?\]', '', 1],
[' with entity id.*', '', 1]
]
[game.logout]
match = [
'.*left the game.*'
]
dont_match = [
'.*\[Server thread/INFO\]: \[Rcon\] .*'
]
replace = [
['left the game', 'logged off', 1],
['\[.*?: ', '', 1],
['\[/.*?\]', '', 1],
['> ', '', 1],
]
[game.web]
match = [
'.*\[WEB\].*'
]
replace = [
['^.*?: ', '', 3],
['\^.*?m', ''],
]
[game.misc]
match = [
'.*\[Server thread/INFO\]: .*'
]
dont_match = [
'.*\[LP\] LOG.*',
'.*: \[SavageDeathCompass\] .*',
'.*: \[GriefPrevention\] .*',
'.*\[TPPets\].*',
'.*\[RandomTeleport\].*',
'.*lost connection: Disconnected.*',
'.*issued server command:.*'
]
replace = [
['^.*?: ', '', 3],
['\^.*?m', ''],
['^.*?\[Not Secure\] .*?', '', 1],
['\<Rcon\>.', '']
]