Sueta
CO

Coins/Points-API

1.0

Developer-Tool

·Plugin

Deutsch:
Diese API ist ein kleines Tool für Entwickler.
Gespeichert werden die Punkte in YAML-Configurations (yml's).

Methoden:
Points.*
*getPoints(Player p); --> Gibt die Punkte des Spielers aus.
*setPoints(Player p, int amount); --> Setzt die Punkte des Spielers auf die Anzahl.
*addPoints(Player p, int amount); --> Fügt dem Spieler die Anzahl hinzu.
*removePoints(Player p, int amount); --> Entfernt dem Spieler die Anzahl.
*createStartFile(); --> Erstellt einen Ordner im Plugins-Ordner.
*createPlayerFile(); --> Erstellt die .yml für den Spieler (UUID.yml).

English:
This API is a small tool for developers.
The points are stored in YAML-Configurations (yml's).

methods:
Points. *
* getPoints (Player p); -> Outputs the points of the player.
* setPoints (player p, int amount); -> Sets the points of the player on the number.
* addPoints (player p, int amount); -> Adds the number to the player.
* removePoints (player p, int amount); -> Removes the number from the player.
* Create start file (); -> Creates a folder in the plugins folder.
* CreatePlayer file (); -> Creates the .yml for the player (UUID.yml).

Similar projects

Plugin →