Class ColonyPlayer
java.lang.Object
com.minecolonies.api.colony.permissions.ColonyPlayer
Player within a colony.
-
Constructor Summary
ConstructorsConstructorDescriptionColonyPlayer(UUID id, String name, Rank rank) Instantiates our own player object. -
Method Summary
-
Constructor Details
-
ColonyPlayer
Instantiates our own player object.- Parameters:
id- id of the player.name- name of the playerrank- rank of the player.
-
-
Method Details
-
getID
- Returns:
- The UUID of the player.
-
getName
- Returns:
- The player's current name.
-
getRank
- Returns:
- The player's current rank.
-
setRank
Setter for the Rank of the player.- Parameters:
rank- The new Rank.
-