Code Samples(deDE)

http://fs5.directupload.net/images/151003/beuhknvh.png

if(StatsAPI.knowPlayer(PLAYER_UUID) == true){

}

Checks if the Player´s UUID has an entry in your Stats table. | Prüft, ob der gewählte Spieler PLAYER_UUID einen Eintrag in deiner Stats-Tabelle hat.


StatsAPI.createPlayer(PLAYER_UUID);

Adds the given UUID to the Stats table. | Fügt die angegebene UUID der Stats Tabelle hinzu.


StatsAPI.getKills(PLAYER_UUID);
StatsAPI.getDeaths(PLAYER_UUID);
StatsAPI.getGames(PLAYER_UUID);
StatsAPI.getWins(PLAYER_UUID);
StatsAPI.getBalance(PLAYER_UUID);

Returns the corresponding value of the Player with the UUID "PLAYER_UUID".| Gibt den entsprechenden Wert des Spielers mit der UUID "PLAYER_UUID" aus.


StatsAPI.setKills(PLAYER_UUID, VALUE);
StatsAPI.setDeaths(PLAYER_UUID, VALUE);
StatsAPI.setGames(PLAYER_UUID, VALUE);
StatsAPI.setWins(PLAYER_UUID, VALUE);
StatsAPI.setBalance(PLAYER_UUID, VALUE);

Sets the corresponding value of the Player with the UUID "PLAYER_UUID" to "VALUE". | Setzt den entsprechenden Wert des Spielers mit der UUID "PLAYER_UUID" zu "VALUE".


StatsAPI.addKills(PLAYER_UUID, VALUE);
StatsAPI.addDeaths(PLAYER_UUID, VALUE);
StatsAPI.addGames(PLAYER_UUID, VALUE);
StatsAPI.addWins(PLAYER_UUID, VALUE);
StatsAPI.addBalance(PLAYER_UUID, VALUE);

Adds "VALUE" to the corresponding value of the Player with the UUID "PLAYER_UUID". | Fügt "VALUE" zu dem entsprechenden Wert des Spielers mit der UUID "PLAYER_UUID" hinzu".


StatsAPI.removeKills(PLAYER_UUID, VALUE);
StatsAPI.removeDeaths(PLAYER_UUID, VALUE);
StatsAPI.removeGames(PLAYER_UUID, VALUE);
StatsAPI.removeWins(PLAYER_UUID, VALUE);
StatsAPI.removeBalance(PLAYER_UUID, VALUE);

Removes "VALUE" from the corresponding value of the Player with the UUID "PLAYER_UUID". | Nimmt "VALUE" von dem entsprechenden Wert des Spielers mit der UUID "PLAYER_UUID" weg".


Comments

Posts Quoted:
Reply
Clear All Quotes