Package de.smoofy.core.api.player
Schnittstelle ICorePlayerProvider
public interface ICorePlayerProvider
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcorePlayer
(String name) Get the core player of the name.corePlayer
(UUID uuid) Get the core player of the uuid.corePlayer
(org.bukkit.entity.Player player) Get the core player of the player.Get all core players.boolean
Check if the core player exists.void
Initialize the core player.void
update
(ICorePlayer player) Update the core player.
-
Methodendetails
-
corePlayer
Get the core player of the player.- Parameter:
player
- the paper player- Gibt zurück:
- the
ICorePlayer
of the player
-
corePlayer
Get the core player of the uuid.- Parameter:
uuid
- the uuid of the player- Gibt zurück:
- the
ICorePlayer
of the uuid
-
corePlayer
Get the core player of the name.- Parameter:
name
- the name of the player- Gibt zurück:
- the
ICorePlayer
of the name
-
corePlayers
List<ICorePlayer> corePlayers()Get all core players.- Gibt zurück:
- a list of all core players
-
init
Initialize the core player.- Parameter:
uuid
- the uuid of the player
-
update
Update the core player.- Parameter:
player
- the core player
-
exists
Check if the core player exists.- Parameter:
uuid
- the uuid of the player- Gibt zurück:
- true if the core player exists, otherwise false
-