• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Config.yml question

Status
Not open for further replies.

LinuxMyAss

New member
Hey, recently upgraded to premium, was running without premium before and everything was fine. On my website my Tea*Speak control panel worked fine until i restarted my "TeaSpeak". I ran ./teastart.sh stop then ./teastart.sh start, my online Tea*Speak panel isnt responding to the Tea*Speak connection. Im starting to think I messed something up on my config.yml that wont let it connect to my panel on the site. So here is my config.yml, without the license part for obvious reasons.

#The configuration version.
#Do NOT modify!
version: 10
log:
#The log level
#Available types:
# 0: Trace
# 1: Debug
# 2: Info
# 3: Warn
# 4: Error
# 5: Critical
# 6: Off
level: 1
#Disable/enable ascii codes in log
colored: 0
#Virtualserver log chunk size
#0 = Disable (Log all to one file)
#1 = Individual (Create for each virtual server a new log)
#>1 = Chunked (Use for each n virtual servers the same log file)
#Do NOT TOUCH unless you're 100% sure!
vs_size: 0
#The log file path
#Do NOT TOUCH unless you're 100% sure!
path: logs/log_${time}(%Y-%m-%d_%H:%M:%S)_${group}.log
messages:
#The terminal log level
level: 2
voice:
#The server stopped message
server_stop: Server stopped
application:
#The server stopped message
stop: Application stopped
#The application crashed message
crash: Application crashed
manager:
#The default manager description (if not set)
defaultDescription: I don't have a description
channel:
#The default channel topic
defaultTopic: Hey, I'm a new channel!
#The idle time kick message
idle_time: Heyy umm yeah your idle time exceeded
mute:
#The mute notify message
mute_message: "Hey!\nI muted you!"
#The unmute notify message
unmute_message: "Hey!\nI unmuted you!"
kick_invalid:
#The message when a client get kicked caused by an invalid hardware id
hardware_id: Invalid hardware id. Protocol hacked?
#The message when a client get kicked caused by an invalid command
command: Invalid command. Protocol hacked?
#The message when a client get kicked caused by an invalid badges
badges: Invalid badges. Protocol hacked?
general:
#The database url
#Available urls:
# sqlite://[file]
# mysql://[host][:port]/[database][?propertyName1=propertyValue1[&propertyName2=propertyValue2]...]
#
#More info about about the mysql url could be found here: https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-configuration-properties.html
#There's also a new property called 'connections', which describes how many connections and queries could be executed synchronously
#MySQL example: mysql://localhost:3306/teaspeak?userName=root&password=mysecretpassword&connections=4
#Attention: If you're using MySQL you need at least 3 connections!
database_url: sqlite://TeaData.sqlite
#Insert here your license code (if you have one)
license: AQBRB926A***********************************************
binding:
file:
#The default host for the file server
host: 0.0.0.0
#The default port for the file server
port: 30303
query:
#The default host for the query server
host: 0.0.0.0
#The default port for the query server
port: 10101
server:
#The displayed version to the manager
version: Newest Version
#The displayed platform to the manager
platform: Tea*Speak.rip
#The displayed licence type to every TeaSpeak 3 Client
#Available types:
# 0: No Licence
# 1: Authorised TeaSpeak Host Provider License (ATHP)
# 2: Offline/Lan Licence
# 3: Non-Profit License (NPL)
# 4: Unknown Licence
# 5: ~placeholder~
# 6: Auto-License (Server based)
# 7: Auto-License (Instance based)
licence: 7
#Enable/disable the deletion of old bans within the database
delete_old_bans: 1
query:
#Change the query newline character
nl_char: "\r\n"
#The query welcome message
#Notice: If not like Tea*Speak then some applications may not recognize the Query
#Default Tea*Speak 3 MOTD:
motd: "Tea*Speak.rip\r\nWelcome on the TeaSpeak ServerQuery interface.\r\n"
#Enable/disable SSL for query
#Available modes:
# 0: Disabled
# 1: Enabled (Enforced encryption)
# 2: Hybrid (Prefer encryption but fallback when it isnt available)
enableSSL: 2
ssl:
#The SSL certificate for the query manager
#The SSL certificate for the query manager
certificate: certs/query_certificate.pem
#The SSL private key for the query manager (You have to export the key without a password!)
privatekey: certs/query_privatekey.pem
voice:
#Enable/disable the mute notify
notifymute: 1
rsa:
#The amount of precomputed puzzles
#Do NOT TOUCH unless you're 100% sure!
puzzle_pool_size: 128
handshake:
#The puzzle level. (A higher number will result a longer calculation time for the manager RSA puzzle)
#Do NOT TOUCH unless you're 100% sure!
puzzle_level: 1000
#Enforces the cookie exchange (Low level protection against distributed denial of service attacks (DDOS attacks))
#This option is highly recommended!
#Do NOT TOUCH unless you're 100% sure!
enforce_cookie: 1
#Maximum amount of join attempts per second.
connect_limit: 10
#Maximum amount of join attempts per second per ip.
client_connect_limit: 3
protocol:
#Its just a test for the new Tea*Speak licensing system (you require a extra plugin!)
experimental_31: 0
web:
#Disable/enable the possibility to connect via the TeaSpeak web manager
enabled: 1
ssl:
#The SSL certificate for the web manager
certificate: certs/default_certificate.pem
#The SSL private key for the web manager (You have to export the key without a password!)
privatekey: certs/default_privatekey.pem
threads:
#Thread pool size for the ticking task of a VirtualServer
#Do NOT TOUCH unless you're 100% sure!
ticking: 1
voice:
#Max number of threads for command handling on the instance
#Do NOT TOUCH unless you're 100% sure!
execute_limit: 10
#Threads per server for command executing
#Do NOT TOUCH unless you're 100% sure!
execute_per_server: 3
#LibEvent events per server
#Do NOT TOUCH unless you're 100% sure!
events_per_server: 4
#Minimum IO threads
#Do NOT TOUCH unless you're 100% sure!
io_min: 3
#IO Thread increase per server
#Do NOT TOUCH unless you're 100% sure!
io_per_server: 4
#Max IO threads
#Do NOT TOUCH unless you're 100% sure!
io_limit: 10
music:
#Max number of threads for command handling on the instance
#Do NOT TOUCH unless you're 100% sure!
execute_limit: 15
#Threads per server for command executing
#Do NOT TOUCH unless you're 100% sure!
execute_per_bot: 1
geolocation:
#The fallback country if lookup fails
fallback_country: DE
mapping:
#The mapping fole for the given provider
#Default for IP2Location: geoloc/IP2Location.CSV
#Default for Software77: geoloc/IpToCountry.csv
file: geoloc/IP2Location.CSV
#The IP 2 location resolver
#0 = IP2Location
#1 = Software77
type: 0
#Disable/enable the IP2Location lookup
force_fallback_country: 0
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
It's may your motd.
Depends on the library your web side is using it may enforces a Tea*Speak motd
 

amcb

New member
I need to delete these settings. but after restarting the server, the file is restored to its original state. How can I change settings in config.yml?
 

Chazotu

TeaFanatic
I need to delete these settings. but after restarting the server, the file is restored to its original state. How can I change settings in config.yml?
When you change a setting its saved . Yeas if you delete a setting it wil be their again after restart
 

amcb

New member
When you change a setting its saved . Yeas if you delete a setting it wil be their again after restart
I delete the automatic notification settings through the personal messages of the case when the user enters you in the mute:
mute:
#The mute notify message
mute_message: "Hey! \ nI muted you!"
#The unmute notify message
unmute_message: "Hey! \ nI unmuted you!"
I want these messages NOT to appear under these conditions. However, no changes occur. I thought that the changes should be applied, you need to restart the server. After the reboot, everything that I changed disappears.
 

Chazotu

TeaFanatic
It should look like this if you want to disable the mute notification, remember to restart afterwards

Code:
  mute:
    #The mute notify message
    mute_message: ""
    #The unmute notify message
    unmute_message: ""
 

amcb

New member
It should look like this if you want to disable the mute notification, remember to restart afterwards

Code:
  mute:
    #The mute notify message
    mute_message: ""
    #The unmute notify message
    unmute_message: ""
Thank you so much. I will try to apply tomorrow.
 
Status
Not open for further replies.