-
Notifications
You must be signed in to change notification settings - Fork 3
Working with players
Mark Hughes edited this page May 19, 2016
·
2 revisions
Players are quite easily obtained using the FPlayers class, which returns an FPlayer object.
You can see the FPlayer interface for a full list of methods you can use.
Sender sender = asender;
String id = uuid.toString();
// From by sender
FPlayer player = FPlayers.getBySender(sender);
// Or by id
FPlayer player = FPlayers.getById(id);