Ts3 Style Documentation

Hey guys,

does any of you have some Docs for a TS3 Style/Theme?

Or does anyone know if it is possible to change the texts / order of variables in the client/channel overview? (Related to my last Question)

Thank you for any answer

You can edit the files “clientinfo.tpl” and “channelinfo.tpl” inside “style/yourtheme”.
For example if you have a theme named “YourTheme.qss” inside the folder “style” you need to create a folder inside “style” with the name of you theme “style/YourTheme” and inisde this folder you can put the files “clientinfo.tpl” and “channelinfo.tpl” → “style/YourTheme/clientinfo.tpl”.
So you should have this hierarchy:
“style/YourTheme.qss”
“style/YourTheme/clientinfo.tpl”
“style/YourTheme/channelinfo.tpl”

This is a list of variables you can use inside your clientinfo tpl file:

  • CLIENT_NAME
  • CLIENT_NAME_PERCENT_ENCODED
  • CLIENT_CUSTOM_NICK_NAME
  • CLIENT_COUNTRY_TOOLTIP
  • CLIENT_COUNTRY_IMAGE
  • CLIENT_COUNTRY_IMAGE_SCALED
  • CLIENT_ID
  • CLIENT_UNIQUE_ID
  • CLIENT_MYTEAMSPEAK_ID
  • CLIENT_TALK_POWER
  • CLIENT_AWAY_MESSAGE
  • CLIENT_PLATFORM
  • CLIENT_VERSION
  • CLIENT_VERSION_SHORT
  • CLIENT_VERSION_STATE [Alpha|Beta|Stable]
  • CLIENT_VERSION_LONG
  • CLIENT_DESCRIPTION
  • CLIENT_ICON
  • CLIENT_TOTALCONNECTIONS
  • CLIENT_CREATED
  • CLIENT_LASTCONNECTED
  • CLIENT_CONNECTED_SINCE
  • CLIENT_FLAG_AVATAR
  • CLIENT_IGNORE_AVATAR
  • AVATAR_MAX_WIDTH
  • AVATAR_MAX_HEIGHT
  • CLIENT_TALK_REQUEST_TIME
  • CLIENT_TALK_REQUEST_MSG
  • CLIENT_VOLUME_MODIFIER
  • CLIENT_CHANNEL_GROUP_NAME
  • CLIENT_CHANNEL_GROUP_ICON
  • CLIENT_SERVER_GROUP_NAME
  • CLIENT_SERVER_GROUP_ICON
  • CLIENT_DATABASE_ID
  • CLIENT_SERVER_SHOW_MAX_GROUPS
  • PLUGIN_INFO_DATA

And this for the channel tpl:

  • CHANNEL_NAME
  • CHANNEL_NAME_PLAIN
  • CHANNEL_ID
  • CHANNEL_ICON
  • CHANNEL_ICON_SCALED
  • CHANNEL_TOPIC
  • CHANNEL_MAXCLIENTS
  • CHANNEL_MAXFAMILYCLIENTS
  • CHANNEL_NEEDED_TALK_POWER
  • CHANNEL_MODERATED_ICON
  • CHANNEL_ORDER
  • CHANNEL_CODEC
  • CHANNEL_CODEC_BITRATE
  • CHANNEL_FLAGS
  • CHANNEL_SUBSCRIPTION
  • CHANNEL_CLIENTS_COUNT
  • CHANNEL_VOICE_DATA_ENCRYPTED
  • CHANNEL_VOICE_DATA_ENCRYPTED_FLAG
  • CHANNEL_DESCRIPTION
  • TEMP_CHANNEL_DELETE_DELAY
  • TEMP_CHANNEL_TIME_TO_DELETE
  • PLUGIN_INFO_DATA
  • IMAGES_MAX_WIDTH
  • IMAGES_MAX_HEIGHT
  • OPEN_FILE_BROWSER
  • FILE_BROWSER_ICON

(Note: All variables must begin and end with %%, example: %%CLIENT_NAME%%)

Correct me if I made some mistakes.


Thank you for your reply.

I know that i’m able to edit the right part.
I try to edit the left part. Do you know if this is possible?

Names in server tree cannot be changed.
We decided against this during development of TS3.

4 Likes

Okay, that’s an explanation.
Will there be the option in TS5? Or is there any good reason that it won’t.

And what about the ability to change the color of the speak-status circle? Or some string in the line after the Nickname.

Maby in combination with my other question about the plugin development? (Topic)

This can be made by editing Icon Pack. You can even change circles into triangles if you really wish. You can use .pngs and .svgs for that.

And this, AFAIR, is impossible, but I haven’t had a deep dive look at it for a looong time now.

hi, how i can print the CLIENT IP on client info ??, on documentation say CONNECTION_CLIENT_IP is were the IP is but i can’t print the IP adress, any way to do it ??
image

NOTE: I have server owner permission for see client ip

You don’t do that. As you may did read there is no such variable.

The IP is only visible in the connection info or server log.

2 Likes