A PowerShell script to automate the creation of limited permission groups for TeamSpeak 3 servers. This script is specifically designed to create server groups that can be used with My-TS.org for query login functionality.
This script creates a server group (MyTSQueryAccess) with limited permissions that you can assign to specific users on your TeamSpeak server. These users can then create query logins to use with My-TS.org services.
- Creates a server group with carefully selected permissions
- Automates the TeamSpeak ServerQuery interface interaction
- Maintains a single connection for reliable command execution
- Provides clear feedback and error handling
- Supports custom server configurations
- PowerShell 5.0 or higher
- TeamSpeak 3 Server with ServerQuery enabled
- ServerAdmin access to your TeamSpeak server
- Clone this repository or download the script
- Ensure you have the required permissions on your TeamSpeak server
Run the script with the following parameters:
.\createquery.ps1 -ServerIP "your.server.ip" -QueryPort 10011 -AdminUser "serveradmin" -AdminPass "your_password"
ServerIP
: The IP address of your TeamSpeak serverQueryPort
: The ServerQuery port (default is 10011)AdminUser
: Your ServerAdmin usernameAdminPass
: Your ServerAdmin password
The script creates a server group with the following permissions:
b_virtualserver_info_view
: View server informationb_virtualserver_channel_list
: List channelsb_virtualserver_client_list
: List clientsb_client_remoteaddress_view
: View client IP addressesb_serverquery_login
: Allow server query loginb_client_create_modify_serverquery_login
: Create and modify query logins
- Never share your ServerAdmin credentials
- Use this script only on servers you own or have permission to modify
- Consider using environment variables or a secure credential store for sensitive information
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
© 2025 My-TS.org. All rights reserved.
For support, please visit My-TS.org or open an issue in this repository.