Package de.neo.rankbridge.teamspeak
Class TeamSpeakMain
java.lang.Object
de.neo.rankbridge.shared.manager.services.BridgeService
de.neo.rankbridge.teamspeak.TeamSpeakMain
public class TeamSpeakMain extends BridgeService
the MainClass for the TeamSpeak Bot.
- Version:
- 1.0
- Author:
- Neo8
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TeamSpeakMain()
new Instance. -
Method Summary
Modifier and Type Method Description void
addCode(java.lang.String code, java.lang.Integer group, java.util.UUID uuid, java.lang.String ip)
Adds a Verification Code.com.github.theholywaffle.teamspeak3.TS3ApiAsync
getAPI()
Returns the TS3 API.MultiVar
getCode(java.lang.String code)
Gets the Values for a Code.void
removeCode(java.lang.String code)
Removes a Code.Methods inherited from class de.neo.rankbridge.shared.manager.services.BridgeService
getExternalService, getServiceName, handleExternal, setExternalService
-
Field Details
-
Constructor Details
-
TeamSpeakMain
public TeamSpeakMain()new Instance.
-
-
Method Details
-
addCode
public void addCode(java.lang.String code, java.lang.Integer group, java.util.UUID uuid, java.lang.String ip)Adds a Verification Code.- Parameters:
code
- The code to add.group
- The role to add.uuid
- The uuid of the Player.ip
- the ip of the Player.
-
getCode
Gets the Values for a Code.- Parameters:
code
- The code.- Returns:
- The MultiVar for the code.
-
removeCode
public void removeCode(java.lang.String code)Removes a Code.- Parameters:
code
- The code to remove.
-
getAPI
public com.github.theholywaffle.teamspeak3.TS3ApiAsync getAPI()Returns the TS3 API.- Returns:
- the TS3 API.
-