Uses of Class
dev.majek.pc.data.object.User
-
Packages that use User Package Description dev.majek.pc.api dev.majek.pc.chat dev.majek.pc.command.party dev.majek.pc.data dev.majek.pc.data.object dev.majek.pc.gui -
-
Uses of User in dev.majek.pc.api
Methods in dev.majek.pc.api that return User Modifier and Type Method Description @Nullable User
PartyLeaveEvent. getNewLeader()
The randomly chosen player who will be the new party leader.Methods in dev.majek.pc.api with parameters of type User Modifier and Type Method Description void
PartyChatApi. createParty(@NotNull String name, @NotNull User leader)
Create a new party with a party name and user as the leader.@Nullable Party
PartyChatApi. getParty(@NotNull User user)
void
PartyLeaveEvent. setNewLeader(User player)
Set a different player to be the new party leader.Constructors in dev.majek.pc.api with parameters of type User Constructor Description PartyLeaveEvent(org.bukkit.OfflinePlayer player, Party party, @Nullable User newLeader)
Fires when an in-game player leaves a party. -
Uses of User in dev.majek.pc.chat
Methods in dev.majek.pc.chat with parameters of type User Modifier and Type Method Description void
MessageHandler. sendMessage(User user, String path)
-
Uses of User in dev.majek.pc.command.party
Methods in dev.majek.pc.command.party with parameters of type User Modifier and Type Method Description static boolean
PartyLeave. execute(User user, @Nullable User newLeader, boolean leftServer)
-
Uses of User in dev.majek.pc.data
Methods in dev.majek.pc.data that return User Modifier and Type Method Description @Nullable User
DataHandler. getUser(@NotNull String name)
Get a PartyChat user from a name.User
DataHandler. getUser(@NotNull org.bukkit.entity.Player player)
Get PartyChat user from map.@Nullable User
DataHandler. getUser(@Nullable UUID uuid)
Get PartyChat user from map.Methods in dev.majek.pc.data that return types with arguments of type User Modifier and Type Method Description Map<UUID,User>
DataHandler. getUserMap()
Get PartyChat's user map.Methods in dev.majek.pc.data with parameters of type User Modifier and Type Method Description void
DataHandler. addToUserMap(User user)
Add a user to the user map.@Nullable Party
PartyHandler. getParty(User user)
Get a party from aUser
.void
DataHandler. removeFromUserMap(User user)
Remove a user from the user map.void
PartyHandler. sendMessageToPartyChat(Party party, User sender, String message)
Send a message to a party. -
Uses of User in dev.majek.pc.data.object
Methods in dev.majek.pc.data.object that return User Modifier and Type Method Description User
Party. getLeader()
Get the unique id of the party leader.Methods in dev.majek.pc.data.object that return types with arguments of type User Modifier and Type Method Description List<User>
Party. getMembers()
Get a list of the party member's unique ids.Methods in dev.majek.pc.data.object with parameters of type User Modifier and Type Method Description void
Party. addMember(User user)
Add a new party member.void
Party. removeMember(User user)
Remove a party member.void
Party. setLeader(User leader)
Set a new party leader.Constructor parameters in dev.majek.pc.data.object with type arguments of type User Constructor Description Party(String partyName, String leaderUUID, List<User> members, Boolean isPublic, Boolean friendlyFire)
Constructed when a party is recreated after restart. -
Uses of User in dev.majek.pc.gui
Constructors in dev.majek.pc.gui with parameters of type User Constructor Description GuiManagePlayer(User user)
GuiMembers(User user)
-