Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few questions, before I migrate my current solution. #11

Open
Yilmas opened this issue Jan 30, 2017 · 2 comments
Open

A few questions, before I migrate my current solution. #11

Yilmas opened this issue Jan 30, 2017 · 2 comments
Labels

Comments

@Yilmas
Copy link

Yilmas commented Jan 30, 2017

I've been using TSQueryLib for quite some time with my teamspeak bot, where I'm able to completely overwrite(over rule) the default permission system of teamspeak with a custom one.

  • Basically when ever a user performs an action such as changing channel, the bot checks the user against its own database and queries whether or not the user is allowed to change into that channel and so on.
  • The bot also includes a smart afk function, where it monitors the users activity and estimates when users are likely to be afk, depending on the data gathered in the past, and moves them if they are indeed afk after X amount of minutes.

TSQueryLib's main problem so far, has been the lack of await/tasks, making these actions quite performance heavy when dealing with 200+ users.
Discovering this api instead, might solve some of my issues, and so to make the test a bit easier, I was wondering if you could answer a few questions.

  1. Can you give me a short sample of how one would assign and remove a server group from a user ?
  2. Can you give me a short sample of how one would make a hook for when a user changes their channel ?
  3. Are their any thing I should be concerned about, when it comes to running this in a commercial environment ? The product it self wont be sold, but will be a part of a network that is commercially distributed among several hundred customers. And will over time, be integrated into the games we develop.

Best Regards,
Yilmas, Founder of Unknown Borders

@nikeee nikeee added the question label Feb 2, 2017
@nikeee
Copy link
Owner

nikeee commented Apr 14, 2017

Sorry for the very late reply, I'm currently short on time right now.
I will push some more example code to the repository soon.
This library will be ported to .NET Core some time around end of the month and then will be available as a NuGet Package to be able to deliver bug fixes with no additional overhead on the developer side.

@Yilmas
Copy link
Author

Yilmas commented Apr 14, 2017

Looking forward to the update :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants