02.08.2014, 17:46
TSConnector v1.0 has been released!
Changes:
Changes:
- rewrote whole code, this is almost a completely new plugin!
- all channel natives are now using the channelid instead of the channel name to work
- (almost) all client natives are now using the clientid instead of the client uid to work
- a caching system has been built in, you can now directly access data through the Get-functions
- a completely new internal network layer provides more stability and reliability
- merged natives 'TSC_Connect' and 'TSC_Login' (connecting without having almost any permissions makes no sense)
- 'TSC_SetChannelSubChannel' has been renamed to 'TSC_SetChannelParentId'
- 'TSC_MoveChannelBelowChannel' has been renamed to 'TSC_SetChannelOrderId'
- 'TSC_SetChannelTalkPower' has been renamed to 'TSC_SetChannelRequiredTP' (TP = talk power)
- 'TSC_SendChannelMessage' and 'TSC_ToggleClientTalkAbility' have been removed (most likely forever)
- new callbacks:
- 'TSC_OnConnect' (is called when connection is established)
- 'TSC_OnChannelCreated(channelid)'
- 'TSC_OnChannelDeleted(channelid)'
- 'TSC_OnChannelReorder(channelid, orderid)'
- 'TSC_OnChannelMoved(channelid, parentid, orderid)'
- 'TSC_OnChannelRenamed(channelid, name[])'
- 'TSC_OnChannelPasswordEdited(channelid, bool:ispassworded, bool
asswordchanged)' - 'TSC_OnChannelTypeChanged(channelid, TSC_CHANNELTYPE:type)'
- 'TSC_OnChannelSetDefault(channelid)'
- 'TSC_OnChannelMaxClientsChanged(channelid, maxclients)'
- 'TSC_OnChannelRequiredTPChanged(channelid, talkpower)'
- 'TSC_OnClientPrivateText(from_clid, from_nickname[], to_clid, msg[])' (private chat between ServerQuery client and other normal clients)
- new functions:
- 'TSC_FindChannel(channelname[])' (gets the channelid through the channelname; the name has to match exactly)
- 'TSC_FindClient(uid[])'
- 'TSC_IsValidChannel(channelid)'
- 'TSC_GetDefaultChannelId()'
- 'TSC_GetClientUid'
- 'TSC_GetClientDatabaseId'
- 'TSC_GetClientChannelId'
- other 'TSC_GetChannel*' functions
