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

Save more stuff to db's client table... #12

Closed
6 tasks done
Bluscream opened this issue Jan 5, 2018 · 8 comments
Closed
6 tasks done

Save more stuff to db's client table... #12

Bluscream opened this issue Jan 5, 2018 · 8 comments
Assignees

Comments

@Bluscream
Copy link
Contributor

Bluscream commented Jan 5, 2018

... to retrieve them via clientdblist and clientdbfind.

  • Last Badges
  • Last Platform
  • Last Version
  • Last MAC address (Not possible)
  • -traffic (The client traffic statistics) (Request via getconnectioninfo (available as Query))
  • -traffic also in clientlist (Request via getconnectioninfo (available as Query))
@Bluscream Bluscream changed the title Save more stuff to clientdb Save more stuff to db's client table Jan 5, 2018
@Bluscream Bluscream changed the title Save more stuff to db's client table Save more stuff to db's client table... Jan 5, 2018
@WolverinDEV
Copy link
Member

WolverinDEV commented Jan 7, 2018

Implemented in 1.0.11-Beta

  • New switch at clientdblist & clientdbfind: -details
    Returns more details: (They also appears in dbinfo (without switch))
  • client_badges
  • client_version
  • client_platform
  • client_hwid

@Newcomer1989
Copy link

An parameter like [-traffic] would be also very nice. This should show the ping and packetlost of clients.

This parameter should be also an available parameter of the clientlist command.

@WolverinDEV
Copy link
Member

Hmm I'm currently not saving the traffic. But i think i could add this later :)

@WolverinDEV WolverinDEV reopened this Jan 7, 2018
@Bluscream
Copy link
Contributor Author

@Newcomer1989 you can use requestclientconnectioninfo for that

@Newcomer1989
Copy link

Newcomer1989 commented Jan 7, 2018

@Bluscream are you talking about query commands or the client plugin interface?

@WolverinDEV
Copy link
Member

@Bluscream
The command is getconnectioninfo not requestclientconnectioninfo ;)
@Newcomer1989
I guess getconnectioninfo is only for voice clients available (in TeamSpeak) but in TeaSpeak this command is also available for queries.

@Newcomer1989
Copy link

Oh, I didn't notice that. Is there a full documentation of all possible commands for TeaSpeak?

@WolverinDEV
Copy link
Member

WolverinDEV commented Jan 7, 2018

Currently not but i properly would add one later.
A little command overview for all clients:

Click to expand
              CommandResult handleCommandServerGetVariables(Command&);
              CommandResult handleCommandServerEdit(Command&); //Perm added

              CommandResult handleCommandGetConnectionInfo(Command&);
              CommandResult handleCommandSetConnectionInfo(Command&);
              CommandResult handleCommandServerRequestConnectionInfo(Command&);
              CommandResult handleCommandConnectionInfoAutoUpdate(Command&);
              CommandResult handleCommandPermissionList(Command&); //No perm needed

              CommandResult handleCommandServerGroupList(Command&); //No perm needed

              CommandResult handleCommandClientGetIds(Command&);
              CommandResult handleCommandClientUpdate(Command&);
              CommandResult handleCommandClientMove(Command&); //Perm added
              CommandResult handleCommandClientGetVariables(Command&);
              CommandResult handleCommandClientKick(Command&); //Perm added
              CommandResult handleCommandClientPoke(Command&); //Perm added
              CommandResult handleCommandClientEdit(Command&); //No perm needed

              CommandResult handleCommandChannelSubscribe(Command&); //Perm added
              CommandResult handleCommandChannelSubscribeAll(Command&); //Perm added
              CommandResult handleCommandChannelUnsubscribe(Command&); //Perm added
              CommandResult handleCommandChannelUnsubscribeAll(Command&); //Perm added
              CommandResult handleCommandChannelCreate(Command&); //Perm added
              CommandResult handleCommandChannelDelete(Command&); //Perm added
              CommandResult handleCommandChannelEdit(Command&); //Perm added
              CommandResult handleCommandChannelGetDescription(Command&); //Perm added
              CommandResult handleCommandChannelMove(Command&); //Perm added
              CommandResult handleCommandChannelPermList(Command&); //Perm added
              CommandResult handleCommandChannelAddPerm(Command&); //Perm added
              CommandResult handleCommandChannelDelPerm(Command&); //Perm added

              //Server group client management
              CommandResult handleCommandServerGroupCopy(Command&); //Perm added
              CommandResult handleCommandServerGroupAdd(Command&); //Perm added
              CommandResult handleCommandServerGroupRename(Command&); //Perm added
              CommandResult handleCommandServerGroupDel(Command&); //Perm added
              CommandResult handleCommandServerGroupClientList(Command&); //Perm added
              CommandResult handleCommandServerGroupDelClient(Command&); //Perm added
              CommandResult handleCommandServerGroupAddClient(Command&); //Perm added
              CommandResult handleCommandServerGroupPermList(Command&); //Perm added
              CommandResult handleCommandServerGroupAddPerm(Command&); //Perm added
              CommandResult handleCommandServerGroupDelPerm(Command&); //Perm added

              //TODO handleCommandServerGroupAutoAddPerm
              //TODO handleCommandServerGroupAutoDelPerm
              CommandResult handleCommandChannelGroupAdd(Command&); //Perm added
              CommandResult handleCommandChannelGroupCopy(Command&);
              CommandResult handleCommandChannelGroupRename(Command&); //Perm added
              CommandResult handleCommandChannelGroupDel(Command&); //Perm added
              CommandResult handleCommandChannelGroupList(Command&); //No perm needed
              CommandResult handleCommandChannelGroupClientList(Command&); //Perm added
              CommandResult handleCommandChannelGroupPermList(Command&); //Perm added
              CommandResult handleCommandChannelGroupAddPerm(Command&); //Perm added
              CommandResult handleCommandChannelGroupDelPerm(Command&); //Perm added
              CommandResult handleCommandSetClientChannelGroup(Command&); //Perm added

              CommandResult handleCommandSendTextMessage(Command&); //Perm added
              CommandResult handleCommandClientChatComposing(Command&); //No perm needed
              CommandResult handleCommandClientChatClosed(Command&); //No perm needed

              //File transfare commands
              //CMD_TODO handleCommandFTGetFileInfo -> 5 points
              CommandResult handleCommandFTGetFileList(Command&); //Perm added
              CommandResult handleCommandFTCreateDir(Command&); //Perm added
              CommandResult handleCommandFTDeleteFile(Command&); //Perm added
              CommandResult handleCommandFTInitUpload(Command&); //Perm added
              CommandResult handleCommandFTInitDownload(Command&); //Perm added
              //CMD_TODO handleCommandFTStop -> 5 points
              //CMD_TODO handleCommandFTRenameFile -> 5 points
              //CMD_TODO handleCommandFTList -> 5 points

              CommandResult handleCommandBanList(Command&); //Perm added
              CommandResult handleCommandBanAdd(Command&); //Perm added
              CommandResult handleCommandBanEdit(Command&);
              CommandResult handleCommandBanClient(Command&); //Perm added
              CommandResult handleCommandBanDel(Command&); //Perm added
              CommandResult handleCommandBanDelAll(Command&); //Perm added

              CommandResult handleCommandTokenList(Command&); //Perm added
              CommandResult handleCommandTokenAdd(Command&); //Perm added
              CommandResult handleCommandTokenUse(Command&); //Perm added
              CommandResult handleCommandTokenDelete(Command&); //Perm added

              CommandResult handleCommandClientDbList(Command&); //Perm added
              CommandResult handleCommandClientDBEdit(Command&); //Perm added
              CommandResult handleCommandClientDbInfo(Command&); //Perm added
              CommandResult handleCommandClientDBDelete(Command&); //Perm added
              CommandResult handleCommandClientDBFind(Command&); //Perm added

              CommandResult handleCommandPluginCmd(Command&);

              CommandResult handleCommandClientMute(Command&); //No perm needed
              CommandResult handleCommandClientUnmute(Command&); //No perm needed

              CommandResult handleCommandComplainAdd(Command&); //Perm added
              CommandResult handleCommandComplainList(Command&); //Perm added
              CommandResult handleCommandComplainDel(Command&); //Perm added
              CommandResult handleCommandComplainDelAll(Command&); //Perm added

              CommandResult handleCommandClientGetDBIDfromUID(Command&); //No perm needed
              CommandResult handleCommandClientGetNameFromDBID(Command&); //No perm needed
              CommandResult handleCommandClientGetNameFromUid(Command&); //No perm needed
              CommandResult handleCommandClientGetUidFromClid(Command&); //No perm needed

              CommandResult handleCommandClientAddPerm(Command&); //Perm added
              CommandResult handleCommandClientDelPerm(Command&); //Perm added
              CommandResult handleCommandClientPermList(Command&); //Perm added

              CommandResult handleCommandChannelClientAddPerm(Command&); //Perm added
              CommandResult handleCommandChannelClientDelPerm(Command&); //Perm added
              CommandResult handleCommandChannelClientPermList(Command&); //Perm added


              //Original from query but still reachable for all
              CommandResult handleCommandClientList(Command&);
              CommandResult handleCommandWhoAmI(Command&);
              CommandResult handleCommandServerGroupsByClientId(Command &); //Maybe not query?


              CommandResult handleCommandClientFind(Command&);
              CommandResult handleCommandClientInfo(Command&);
              CommandResult handleCommandVersion(Command&);

              CommandResult handleCommandVerifyChannelPassword(Command&);
              CommandResult handleCommandVerifyServerPassword(Command&);

              CommandResult handleCommandMessageList(Command&); //No perm needed
              CommandResult handleCommandMessageAdd(Command&); //Perm added
              CommandResult handleCommandMessageGet(Command&); //No perm needed
              CommandResult handleCommandMessageUpdateFlag(Command&); //No perm needed
              CommandResult handleCommandMessageDel(Command&); //No perm needed

              CommandResult handleCommandPermGet(Command&);
              CommandResult handleCommandPermIdGetByName(Command&);
              CommandResult handleCommandPermFind(Command&);
              CommandResult handleCommandPermOverview(Command&);

              CommandResult handleCommandChannelFind(Command&);
              CommandResult handleCommandChannelInfo(Command&);

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

No branches or pull requests

3 participants