Skip to content

User API

Ben edited this page Aug 30, 2021 · 8 revisions

Getting a user:
UserManager.getInstance().getUser(player);

You can extend the class of User and UserManager to make your handle for users. Like how I do in VotingPlugin (Source is available for that, feel free to use as a template).

You can use name, uuid, offlineplayer.

Javadocs:
User
UserManager