- May 8, 2015
- 967
- 934
- 211
Thanks to Thomas developers can now write their scripts in python. I personally am porting all my plugins to python from now on.
As dev/scripter you may ask why python and not LUA?
How to make a plugin: https://github.com/pathmann/pyTSon/blob/master/README.md#how-to-develop-a-python-plugin
Available functions: https://github.com/pathmann/pyTSon/blob/master/generated/pregen/ts3module.cpp#L43
Available events: https://github.com/pathmann/pyTSon/blob/master/generated/pregen/ts3plugin.py#L374
Available defines: https://github.com/pathmann/pyTSon/blob/master/generated/pregen/ts3defines.py#L405
Unavailable functions/events: https://github.com/pathmann/pyTSon/blob/master/tools/generator/generate_src.py#L18
Downloads
Some example plugins: https://github.com/Bluscream/pyTSon_plugins
Sourcecode: https://github.com/pathmann/pyTSon
If you want to find more plugins you can try to look for forks or search for plugin patterns.
As dev/scripter you may ask why python and not LUA?
- With python you have almost full access to all pluginsdk functions (except voice packet modification) while LUA still only covers around 60% of the sdk.
- The LUA plugin is not included in the client anymore from 3.1 onwards. You would have to download it manually anway. So it's not more complicated (Except that you have to move a dll on windows manually for now)
- With pyTSon you can easily script a GUI with the included Qt (Example)
- It's easy to access the settings.db to get a users contacts status for example.
- No API version restrictions.
- Scripts have to be open source (Which is always good IMO)
How to make a plugin: https://github.com/pathmann/pyTSon/blob/master/README.md#how-to-develop-a-python-plugin
Available functions: https://github.com/pathmann/pyTSon/blob/master/generated/pregen/ts3module.cpp#L43
Available events: https://github.com/pathmann/pyTSon/blob/master/generated/pregen/ts3plugin.py#L374
Available defines: https://github.com/pathmann/pyTSon/blob/master/generated/pregen/ts3defines.py#L405
Unavailable functions/events: https://github.com/pathmann/pyTSon/blob/master/tools/generator/generate_src.py#L18
Downloads
Download: https://github.com/pathmann/pyTSon/releases/NOTE said:You have to move the python35.dll fromtoCode:%APPDATA%\TS3Client\plugins\pyTSon
Code:%PROGRAMFILES%\Teamspeak 3 Client\
Some example plugins: https://github.com/Bluscream/pyTSon_plugins
Sourcecode: https://github.com/pathmann/pyTSon
If you want to find more plugins you can try to look for forks or search for plugin patterns.
Last edited by a moderator: