Sign inSign up

jusito/ttt_voice_sync

By jusito

Updated almost 7 years ago

Synchronizing your voice state between TTT server and TS3.

Image
0

5.3K

jusito/ttt_voice_sync repository overview

ttt_voice_sync

Synchronizing your voice state between TTT server and TS3.

What is this?

If you play TTT and using TS3, you can use this tool to sync death state to TS3. If set up, the players only need to set their name on TS same as ingame. No longer someone screams in TS after dead.

How to get it working?

Prepare your teamspeak server

  1. Create two copies of channelgroup Guest, name it alive & dead.
  2. Change permission of channel group dead Client - talk power to speak, value 0 & Client - channel group rights skip, value [ ](false/empty)
  3. Create a moderated channel with needed talk power of 1
  4. Because unknown players are still default channelgroup Guest, give the default channel group Guest talk power of at least 1
  5. Join the channel and check if you can speak with Guest / alive and can't speak with channel group dead.

How to use in docker / java

Example 1: use environment variables in docker
docker run -d \
-e TTTHost="1.2.3.4" -e TTTRconPassword="MySecurePW" \
-e VoiceHost="2.3.4.5" \
-e VoiceChannelName="MyModeratedGameChannel" \
-e VoiceLoginName="VoiceSync" -e VoiceLoginPassword="AnotherSecurePW" \
jusito/ttt_voice_sync:latest
Example 2: use environment variables with plain jar
java -jar ttt_voice_sync.jar env
Example 3: docker with each argument explicit
docker run -d \
jusito/ttt_voice_sync:latest \
"TTTHost" "TTTPort" "TTTRconPassword" \
"RefreshTimeMS" \
"VoiceHost" "VoiceQueryPort" "VoiceServerID" "VoiceChannelName" \
"VoiceTargetGroupName" "VoiceDefaultGroupName" \
"VoiceBotName" "VoiceLoginName" "VoiceLoginPassword"
Example 4: java with each argument explicit
java -jar ttt_voice_sync.jar \
"TTTHost" "TTTPort" "TTTRconPassword" \
"RefreshTimeMS" \
"VoiceHost" "VoiceQueryPort" "VoiceServerID" "VoiceChannelName" \
"VoiceTargetGroupName" "VoiceDefaultGroupName" \
"VoiceBotName" "VoiceLoginName" "VoiceLoginPassword"

Environment variables

VariableDefaultDescription
TTTHostIP to your TTT server
TTTPort27015TCP Port for RCON, most of the time game port
TTTRconPasswordpassword to your RCON
RefreshTimeMS250Time between two syncs (if to low crashes may occur)
VoiceHostIP to your TS3 server
VoiceQueryPort10011Port to serverquery
VoiceServerID1Virtual server id
VoiceChannelNameName of the channel to join
VoiceTargetGroupNamedeadChannelgroup for dead state
VoiceDefaultGroupNamealiveChannelgroup for alive state(careful with Guest if you have multiple virtual server)
VoiceBotNameVoiceSyncName for the tool on your TS server
VoiceLoginNameserveradminserver query login name
VoiceLoginPasswordserver query login password

How to use ingame

  1. Set your name in Teamspeak the same as ingame, you are done.
  2. If the round is over, but still someone is dead, write in the teamspeak channel chat !reset if the tool is ok, it will set all alive and write in the channel.

Questions?

Write me on github. Btw I have no clue why this multi stage build is that big, will be next.

Credits

Tag summary

Content type

Image

Digest

Size

56.8 MB

Last updated

almost 7 years ago

docker pull jusito/ttt_voice_sync