From 50753f8b44ecf9f61ae3cb0e809fcdf9dc8cf0e0 Mon Sep 17 00:00:00 2001 From: Niklas Date: Sat, 5 Sep 2020 14:13:53 +0200 Subject: [PATCH] added README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d2bf22d --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +This abomination of code is my attempt to integrate GO inside a Teamspeak 3 plugin. +Because calling C function pointers is not supported in GO there is a lot of back and forth between GO and the C code. I tried to hide the mess as best as i can so that you can have a not so ugly file to work in. [Here](src/go/tsgo/tsgo.go) where all the logic should go. I only tested this on Linux. + +# Build + +Don't forget to pull the submodule and then run `make`. Copy the generated `ts3_plugin.so` to the Teamspeak 3 install directory inside the `plugins` directory e.g. `/opt/teamspeak3/plugins`. Start Teamspeak and check if the plugin is loaded. \ No newline at end of file