Teamspeak plugin?
-
@chas said:
just need a status widget, like http://www.teamspeak3.com/teamspeak-server-status.php except nicer.
In that case, you could probably just use gamedig with the TS3 protocol and just make it pretty.
-
I made two Teamspeak plugins already.
One allows for automated server administration, the other allows for the server tree, online users, etc to be shown in a widget.
nodebb-plugin-teamspeak
https://github.com/pitaj/nodebb-plugin-teamspeak
nodebb-widget-teamspeak
https://github.com/pitaj/nodebb-plugin-teamspeak -
Hi @pitaj im a bit of a nodebb noob. but i cant get this to work on the latest version? It actually crashes my nodebb so i have to reset/disable the teamspeak plugins.
I'm running NodeBB v0.5.2.
I've tried
- npm install nodebb-plugin-teamspeak
- npm install nodebb-widget-teamspeak
Reloaded nodebb, did nothing. Then i manually downloaded into the node_modules folder, but couldn't activate the plugin or widget and nodebb cannot start anymore.
-
My suggestion, only use plugins made by nodebb team members, as they have the highest chances of being updated to support latest versions. Some third party plugins might cause some issues and even if u configure it for current version it will pose more problems when u upgrade to latest versions.
-
@Rahul-Ramesh said:
My suggestion, only use plugins made by nodebb team members, as they have the highest chances of being updated to support latest versions. Some third party plugins might cause some issues and even if u configure it for current version it will pose more problems when u upgrade to latest versions.
I disagree, I can name a few of the devs plugins that don't work on latest for various reasons... A better suggestion would be to look at what how old the plugin is and use caution. If a third party plugin, or a developer made plugin doesn't work, then any issues can be prompty solved with
./nodebb reset plugin "nodebb-plugin-plugin-name"
There is zero risk to running an incompatible plugin, if it doesn't work or makes your forum crash, disable it, uninstall it, make a bug report, move on.
-
@chas said:
As a nodebb noob, can someone confirm if im doing something wrong? or this teamspeak plugin is just out of date :S
Thanks guys
Depends what you were doing. What's it not doing?
Some things to check
- Is it activated?
- Any errors in ./nodebb log
- Did you save the widget after you put it into the relevant widget space? (If you're using the Widget)
- What software version are you on?
-
@chas - Run nodebb in dev mode and tell me what it it says. I do believe I made it so the widget & plugin will not crash the whole thing for a simple misconfiguration. I need to know what error is occurring, preferably what line it is occurring on.
Thanks, PitaJ
-
I installed both again (it didn't crash this time... guess that was another plugin which i uninstalled)
So on the latest nodebb version, I've install both, activated both, restarted.
Can't find the widget or any plugin under "installed plugins"
http://tilg.in/2310_04_12.pngfrom the Dev log:
warn: [plugins/nodebb-plugin-teamspeak] A templates directory was defined for this plugin, but was not found.
info: [meta/templates] Compiling templates
[cluster] Child Process (17056) listening for connections.
warn: [plugins/nodebb-widget-teamspeak] A templates directory was defined for this plugin, but was not found.
[cluster] Child Process (17043) has exited (code: 0)any ideas?
Thanks
-
@chas - The plugin should be showing up if it's activated, same with the widget. That's odd. If we can find a time to troubleshoot, I can chat with you and try to figure out what the problem is. I just tried a test install directly from npm, had no problems. I'm also not getting the same warnings as you. In fact, no warnings regarding those plugins at all.
What version of NodeBB are you on?
@Silvina - I'm working on a diferent plugin right now, and will work on the docs after this one is finished.
-
@pitaj NodeBB v0.5.2.
Activated
NodeBB Teamspeak plugin
This plugin allows for web-based administration of the server.Installed 0.1.7 | Latest 0.1.7
Activated
NodeBB Teamspeak widget
This plugin allows for a widget to be created which shows the channels and clients in a Teamspeak server.Installed 0.1.0 | Latest 0.1.0
not sure if related, but I never got it to install with npm, so i downloaded the zip manually and extracted into the node_modules folder. This is what i get if i try install with npm, but nothing happens :L
sudo npm install nodebb-plugin-teamspeak
npm http GET https://registry.npmjs.org/nodebb-plugin-teamspeak
npm http 304 https://registry.npmjs.org/nodebb-plugin-teamspeak
npm http GET https://registry.npmjs.org/js-beautify
npm http GET https://registry.npmjs.org/later
npm http 304 https://registry.npmjs.org/js-beautify
npm http 304 https://registry.npmjs.org/later
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/config-chain
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/config-chain
npm http 304 https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/proto-list
npm http GET https://registry.npmjs.org/ini
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/proto-list
npm http 304 https://registry.npmjs.org/ini
npm http GET https://registry.npmjs.org/minimist/0.0.8
npm http 200 https://registry.npmjs.org/minimist/0.0.8
npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
[email protected] node_modules/nodebb-plugin-teamspeak
āāā [email protected]
āāā [email protected] ([email protected], [email protected], [email protected])
chas@vps104167:~$ sudo npm install nodebb-widget-teamspeak
npm http GET https://registry.npmjs.org/nodebb-widget-teamspeak
npm http 304 https://registry.npmjs.org/nodebb-widget-teamspeak
[email protected] node_modules/nodebb-widget-teamspeak -
@chas what directory are you
npm install
ing from? You have to be in the root directory of the nodebb install for it to recognize the installed plugin/widget.